daily pastebin goal
20%
SHARE
TWEET

Untitled

a guest Apr 21st, 2018 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. spring.datasource.url=jdbc:sqlserver://localhost;databaseName=demoProj
  2. spring.datasource.username=sa
  3. spring.datasource.password=admin
  4. spring.jpa.show-sql=false
  5. server.port=8443
  6. spring.jpa.generate-ddl=true
  7. server.servlet.context-path=/demoProj/api
  8. spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.SQLServerDialect
  9. spring.jpa.hibernate.ddl-auto = create
  10. spring.jpa.database-platform=org.hibernate.dialect.SQLServerDialect
  11. spring.jpa.database=SQL_SERVER
  12.    
  13. @Entity
  14. @Data
  15. @JsonIdentityInfo(generator=JSOGGenerator.class,property="@uid")
  16. @Table(name="users")
  17. public class Users {
  18.     @Id
  19.     @GeneratedValue(strategy=GenerationType.AUTO)
  20.     @Column(name="id")
  21.     private Long id;
  22.  
  23.     @Column(name="name")
  24.     private String name;
  25. }
  26.    
  27. @SpringBootApplication
  28. public class Sattebaaz1Application {
  29.  
  30.     public static void main(String[] args) {
  31.         SpringApplication.run(Sattebaaz1Application.class, args);
  32.     }
  33. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top