Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. spring.jpa.hibernate.ddl-auto=create
  2. spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
  3. spring.datasource.url=jdbc:postgresql://localhost/appetite_test
  4. spring.datasource.username=appetite
  5. spring.datasource.password=@p3t1t3
  6.  
  7. insert into
  8. account (id, createddate, modifieddate, password , username, disabled)
  9. values (-1, now(),null, 'password','admin',false);
  10.  
  11. @Test
  12. @DatabaseSetup(value = "insert.xml")
  13. @DatabaseSetup(connection="customerDataSource", value="insert-custs.xml")
  14. public void testInsert() throws Exception {
  15. // Inserts "insert.xml" into dataSource and "insert-custs.xml" into customerDataSource
  16. // ...
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement