Guest User

Untitled

a guest
Nov 22nd, 2017
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. spring.datasource.url=jdbc:h2:file:~/nomedobanco
  2. spring.datasource.username=login
  3. spring.datasource.password=senha
  4. spring.datasource.driverClassName=org.h2.Driver
  5. spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
  6.  
  7. <dependency>
  8. <groupId>org.springframework.boot</groupId>
  9. <artifactId>spring-boot-starter-data-jpa</artifactId>
  10. </dependency>
  11. <dependency>
  12. <groupId>com.h2database</groupId>
  13. <artifactId>h2</artifactId>
  14. <scope>runtime</scope>
  15. </dependency>
  16. <dependency>
  17. <groupId>com.fasterxml.jackson.core</groupId>
  18. <artifactId>jackson-databind</artifactId>
  19. </dependency>
  20.  
  21. @Id
  22. @GeneratedValue(strategy = GenerationType.AUTO)
  23. Long id
Add Comment
Please, Sign In to add comment