Advertisement
Guest User

Untitled

a guest
Mar 3rd, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. sET DATABASE COLLATION "French";
  2. SET SCHEMA PUBLIC;
  3. CREATE TABLE DBMAINTAIN_SCRIPTS (FILE_NAME VARCHAR2(150), FILE_LAST_MODIFIED_AT INTEGER, CHECKSUM VARCHAR2(50), EXECUTED_AT VARCHAR2(20), SUCCEEDED INTEGER);
  4. CREATE TABLE EMPLOYEES(ID IDENTITY NOT NULL,NAME VARCHAR(20),TITLE VARCHAR(20),SALARY DOUBLE,NI INTEGER NOT NULL) Mon fichier unitils.properties
  5.  
  6. # comments documenting these unitils configuration properties removed for
  7. # brevity. look for commenting in unitils-default.properties in the root of the
  8. # unitils jar if needed.
  9.  
  10. unitils.modules=database,dbunit,easymock,inject
  11.  
  12. unitils.module.hibernate.enabled=false
  13. unitils.module.spring.enabled=false
  14.  
  15. # these placeholders are set in avaje.properties
  16. #gere la configuration DBUNIT
  17. database.driverClassName=org.hsqldb.jdbcDriver
  18. database.url=jdbc:hsqldb:mem:unitils-example
  19. database.schemaNames=PUBLIC
  20. database.userName=SA
  21. database.password=
  22. database.dialect=hsqldb
  23.  
  24. # unitils will construct the test database using the ddl file found in this
  25. # directory
  26. dbMaintainer.fileScriptSource.scripts.location=src/main/resources
  27.  
  28. updateDataBaseSchema.enabled=true
  29. sequenceUpdater.sequencevalue.lowestacceptable=100
  30.  
  31. dataSetStructureGenerator.xsd.dirName=src/test/resources/dataset-schema
  32. #dbMaintainer.autoCreateExecutedScriptsTable property to true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement