Advertisement
Guest User

Untitled

a guest
Nov 13th, 2016
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. #--
  2. #-- jdbc.properties
  3. #-- Properties file for FitNesse fixtures. Use jdbc.properties to define the database connection details. Then setup the database.properties file and use the defined jdbc connection labels from the jdbc.properties.
  4. #--
  5. #-- Define JDBC drivers
  6. Oracle: oracle.jdbc.driver.OracleDriver
  7. DB2: COM.ibm.db2os390.sqlj.jdbc.DB2SQLJDriver
  8. SQLServer: com.microsoft.sqlserver.jdbc.SQLServerDriver
  9. PostgreSQL: org.postgresql.Driver
  10. #-
  11. #- Oracle example: Define demo connection to Oracle
  12. oracledemo: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ora12.consagservices.net)(PORT=1521)) (LOAD_BALANCE=yes)(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=pdbora12.consagdemos.net)(FAILOVER_MODE=(TYPE=select)(METHOD=BASIC)(RETRIES=180)(DELAY=5))))
  13. #- In the above example the connectivity for 'consagdemo' is defined. 'consagdemo' can now be use in the database.properties file, in which the user to connect to is defined.
  14. #- DB2 example: Define demo connection to DB2
  15. db2demo: jdbc:db2://db2.consagservices.net:50000/SAMPLEDB:currentSchema=SAMPLE;
  16. #- In the above example the connectivity for 'db2demo' is defined. 'db2demo' can now be use in the database.properties file, in which the user to connect to is defined.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement