Guest User

Untitled

a guest
Jun 18th, 2019
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.21 KB | None | 0 0
  1. <profiles>
  2. <profile>
  3. <id>integration-test</id>
  4. <build>
  5. <plugins>
  6. <plugin>
  7. <groupId>org.apache.openjpa</groupId>
  8. <artifactId>openjpa-maven-plugin</artifactId>
  9. <version>${openjpa.version}</version>
  10. <configuration>
  11. <sqlAction>build</sqlAction>
  12. <sqlFile>/src/test/resources/sql/insert.sql</sqlFile>
  13. <connectionDriverName>org.apache.commons.dbcp.BasicDataSource</connectionDriverName>
  14. <connectionProperties>
  15. driverClass=oracle.jdbc.OracleDriver,
  16. jdbc.url=jdbc:oracle:thin:@server-test-ora:1521/bacl,
  17. user=user,
  18. password=root,
  19. minPoolSize=5,
  20. acquireRetryAttempts=3,
  21. maxPoolSize=20
  22. </connectionProperties>
  23. <includes>**/entities/*.class</includes>
  24. <addDefaultConstructor>true</addDefaultConstructor>
  25. <enforcePropertyRestrictions>true</enforcePropertyRestrictions>
  26. </configuration>
  27. <executions>
  28. <execution>
  29. <id>test enhancer</id>
  30. <phase>process-test-classes</phase>
  31. <goals>
  32. <goal>test-enhance</goal>
  33. </goals>
  34. </execution>
  35. </executions>
  36.  
  37. <dependencies>
  38. <dependency>
  39. <groupId>org.apache.openjpa</groupId>
  40. <artifactId>openjpa</artifactId>
  41. <version>${openjpa.version}</version>
  42. </dependency>
  43. </dependencies>
  44. </plugin>
  45. </plugins>
  46. </build>
  47. </profile>
  48. </profiles>
  49.  
  50. INSERT INTO USER (NAME,SURNAME,DATE) VALUES ('NAME','SURNAME',to_date('2018-12-08 17:21:03', 'yyyy-mm-dd hh24:mi:ss'));
Add Comment
Please, Sign In to add comment