Andrej Koelewijn

1/4/2005

Upgrading to jdev 10.1.2.0.0

Filed under: — site admin @ 4:12 pm

Today i’ve been upgrading our project to use all the libraries provided by jdeveloper. I’ve had some problems:

  • We’re using jgoodies in combination with jclient. I received an error about a property not existing (don’t remember the exact error). After upgrading to jgoodies looks 1.3 snapshot the error disappeared.
  • I got null pointer exceptions in some junit tests which use oracle’s pooled connection. This can be avoided by provinding a username and password to the datasource, even if you specify the username and password in your database url. So, instead of
    ds = new OracleConnectionPoolDataSource();
    ds.setURL(dbUrl);
    conn = ds.getPooledConnection();
    
    Specify:
    ds = new OracleConnectionPoolDataSource();
    ds.setURL(dbUrl);
    ds.setPassword(password);
    ds.setUser(username);
    conn = ds.getPooledConnection();
    

Leave a Reply

Powered by WordPress