SourceForge has been redesigned. Learn more.
Close

#198 Database.classLoader

stable
closed
1
2011-03-02
2008-04-12
Anonymous
No

In (hsqldb-1.8.0.9) org.hsqldb.Database.java:208, classLoader is set to Database.class class loader:

classLoader = getClass().getClassLoader();

This does not work well when hsqldb is started from with-in an enterprise application (ear). Can it be changed to the following?
classLoader = Thread.currentThread().getContextClassLoader();

This change shouldn't have any side effect, AFAIK. We are having issues with loading the triggers class files.

Thanks
-Seshu
pasams@hotmail.com

Discussion

  • Fred Toussi

    Fred Toussi - 2011-03-02

    HSQLDB 2.x usess getContextClassLoader()

     
  • Fred Toussi

    Fred Toussi - 2011-03-02
    • priority: 5 --> 1
    • assigned_to: dedmike --> fredt
    • status: open --> closed
     

Log in to post a comment.