* Create a server for running small oracle specific tests manually.
* DDL generation etc.
*/
private EbeanServer createOracleEbeanServer() {
ServerConfig c = new ServerConfig();
c.setName("ora");
// requires oracle driver in class path
DataSourceConfig oraDb = new DataSourceConfig();
oraDb.setDriver("oracle.jdbc.driver.OracleDriver");
oraDb.setUsername("junk");
oraDb.setPassword("junk");
oraDb.setUrl("jdbc:oracle:thin:junk/junk@localhost:1521:XE");
oraDb.setHeartbeatSql("select count(*) from dual");
c.loadFromProperties();
c.setDdlGenerate(true);
c.setDdlRun(true);
c.setDefaultServer(false);
c.setRegister(false);
c.setDataSourceConfig(oraDb);
//c.setDatabaseBooleanTrue("1");
//c.setDatabaseBooleanFalse("0");
c.setDatabaseBooleanTrue("T");
c.setDatabaseBooleanFalse("F");
c.addClass(TOne.class);
c.addClass(TSMaster.class);
c.addClass(TSDetail.class);
return EbeanServerFactory.create(c);
}