This commit is contained in:
parent
33f09270e5
commit
223babece8
@ -1,6 +1,8 @@
|
|||||||
package wtf.beatrice.releasehive;
|
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;
|
import java.util.UUID;
|
||||||
|
|
||||||
|
@ -7,7 +7,6 @@ import org.hibernate.cfg.Configuration;
|
|||||||
|
|
||||||
public class HibernateManager
|
public class HibernateManager
|
||||||
{
|
{
|
||||||
private static HibernateManager instance;
|
|
||||||
private static Session session;
|
private static Session session;
|
||||||
private static SessionFactory sessionFactory;
|
private static SessionFactory sessionFactory;
|
||||||
|
|
||||||
|
@ -8,7 +8,6 @@ import org.springframework.boot.SpringApplication;
|
|||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.UUID;
|
|
||||||
|
|
||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
public class Main {
|
public class Main {
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
package wtf.beatrice.releasehive;
|
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;
|
import java.util.UUID;
|
||||||
|
|
||||||
@Entity
|
@Entity
|
||||||
|
Loading…
Reference in New Issue
Block a user