readme.txt 869 B

1234567891011121314151617181920212223
  1. To run unit test the following should be prepared:
  2. 1. Test\System.Data.OracleClient.J2EE.config should contain an ConnectionString setting, i.e.:
  3. <?xml version="1.0" encoding="utf-8" ?>
  4. <configuration>
  5. <appSettings>
  6. <add key="ConnectionString" value="User ID=ghtdb;Password=ghtdb;Data Source=xp050" />
  7. </appSettings>
  8. </configuration>
  9. 2. A target db should be prepared with the relevant structure, following are the instruction for each supported database.
  10. in order to create the testing database, on ORACLE, run:
  11. Run the scripts with a user wich have administrator permissions. (by default user:system, password:mainsoft).
  12. sqlplus "user/password@database_sid" @GHTDB.ORACLE.sql
  13. sqlplus "user/password@database_sid" @GHTDB.Data.ORACLE.sql
  14. for example
  15. sqlplus "system/mainsoft@rafim" @GHTDB.ORACLE.sql
  16. sqlplus "system/mainsoft@rafim" @GHTDB.Data.ORACLE.sql