no message

git-svn-id: https://svn.coded.pt/svn/SIPRP@124 bb69d46d-e84e-40c8-a05a-06db0d633741
lxbfYeaa
Luis Flores 22 years ago
parent 5f4729f132
commit 5be714a7f7

@ -91,8 +91,8 @@ public class Main implements Connector
{
server = "ws_fpalma";
}
DBManager dbm = new JDBCManager( "jdbc:mysql://" + server + "/" + dbase,
user, passwd , 10, 8, 8, null );
String url = "jdbc:mysql://" + server + "/" + dbase;
DBManager dbm = new JDBCManager( url, user, passwd , 10, 8, 8, null );
// UnicodeChecker.setUseDoubleSlash( true );
Singleton.setInstance( Singleton.DEFAULT_DBMANAGER, dbm );
@ -101,6 +101,7 @@ public class Main implements Connector
Properties props = new Properties();
props.load( classLoader.getResourceAsStream( "speedo.properties" ) );
props.setProperty( "javax.jdo.option.ConnectionURL", url );
PersistenceManagerFactory pmf = JDOHelper.getPersistenceManagerFactory( props );
// Collection c = pmf.supportedOptions();
// System.out.println( "Options: " + c );

Loading…
Cancel
Save