openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dag H. Wanvik (JIRA)" <>
Subject [jira] [Created] (OPENJPA-2430) Derby LOB persistence
Date Wed, 25 Sep 2013 14:18:02 GMT
Dag H. Wanvik created OPENJPA-2430:

             Summary: Derby LOB persistence
                 Key: OPENJPA-2430
             Project: OpenJPA
          Issue Type: Improvement
          Components: jdbc
    Affects Versions: 2.2.2
         Environment: Java 1.6u45 (Java 1.7 and 1.8 EA versions seemed to have issues:

Exception in thread "main" java.lang.LinkageError: loader (instance of  sun/misc/Launcher$AppClassLoader):
attempted  duplicate class definition for name: "org/apache/openjpa/jdbc/identifier/DBIdentifier$DBIdentifierType"
     [java] 	at java.lang.ClassLoader.defineClass1(Native Method)
            Reporter: Dag H. Wanvik

Derby is not listed among data bases that support LOB member fields, cf.
The OpenJPA manual for version 2.2.2, section 7.7.11 LOB Streaming.

See also the issue experienced by a user here:

I found that by overloading getLobField in DerbyDictionary (effectively materializing the
LOB) I could make the user's example work. Cf. the code shown here:

Would adding this overload be a possible way forward for the Derby support? I'm willing to
make a proper patch if so.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message