optimize code
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Bea 2024-08-07 00:02:34 +02:00
parent 33f09270e5
commit 223babece8
4 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,8 @@
package wtf.beatrice.releasehive;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import java.util.UUID;

View File

@ -7,7 +7,6 @@ import org.hibernate.cfg.Configuration;
public class HibernateManager
{
private static HibernateManager instance;
private static Session session;
private static SessionFactory sessionFactory;

View File

@ -8,7 +8,6 @@ import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import java.util.List;
import java.util.UUID;
@SpringBootApplication
public class Main {

View File

@ -1,7 +1,10 @@
package wtf.beatrice.releasehive;
import javax.persistence.*;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.UUID;
@Entity