Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #--
- #-- jdbc.properties
- #-- 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.
- #--
- #-- Define JDBC drivers
- Oracle: oracle.jdbc.driver.OracleDriver
- DB2: COM.ibm.db2os390.sqlj.jdbc.DB2SQLJDriver
- SQLServer: com.microsoft.sqlserver.jdbc.SQLServerDriver
- PostgreSQL: org.postgresql.Driver
- #-
- #- Oracle example: Define demo connection to Oracle
- 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))))
- #- 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.
- #- DB2 example: Define demo connection to DB2
- db2demo: jdbc:db2://db2.consagservices.net:50000/SAMPLEDB:currentSchema=SAMPLE;
- #- 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