Guest User

Untitled

a guest
Jun 22nd, 2018
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. class Test_2_SystemAdminSmokeTest extends GroovyTestCase { //GTBT pg. 4
  2.  
  3. void testSmoke() {
  4. // do not remove below code
  5. // def ds = new org.h2.jdbcx.JdbcDataSource(
  6. // URL: 'jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;MODE=Oracle',
  7. // user: 'sa', password: '')
  8. //
  9. // def jpaProperties = new Properties()
  10. // jpaProperties.setProperty(
  11. // 'hibernate.cache.use_second_level_cache', 'false')
  12. // jpaProperties.setProperty(
  13. // 'hibernate.cache.use_query_cache', 'false')
  14. //
  15. // def emf = new LocalContainerEntityManagerFactoryBean(
  16. // dataSource: ds, persistenceUnitName: 'my-domain',
  17. // jpaVendorAdapter: new HibernateJpaVendorAdapter(
  18. // database: Database.H2, showSql: true,
  19. // generateDdl: true), jpaProperties: jpaProperties)
  20. // ...
  21. }
  22. }
  23.  
  24. // Problem:
  25. // * waste
  26. // * can I really delete that?
  27.  
  28. // Solution:
  29. // * delete
Add Comment
Please, Sign In to add comment