When making the change to DBCP I missed the HsqldbPathHack, InstantdbPropertiesHack, DerbySystemHomeHack, and ManagedConnectionFactoryPathHack classes in the resource.jdbc package. These classes tweak the system so that the databases created by Java DBs like HSQL, InstantDB and Derby are created inside of the server installation instead of the directory where you started OpenEJB.

I'm going to move the code from JdbcManagedConnectionFactory (and the classes above) to work in Basic[Managed]DataSource.createDataSource (). If possible, I'd like to make this code be finder based instead of hard coded, so as new Java databases are added (like H2) we don't have to change the server code.

Anyway, for the time being databases may be created in the wrong place.

-dain

Reply via email to