Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dali-dev] Lob types mapping to java types

Title: Lob types mapping to java types

During the generation of entities from generic Entity generator, a observerd that the mapping of JDBC to Java type doesn’t satisfy JPA 1.0 specification. In org.eclipse.jpt.utility.internal.JDBCTool.addJDBCToJavaTypeMappingsTo I saw that that Types.BLOB is mapped to java.sql.Blob and Types.CLOB  is mapped java.sql.Clob. This violates the requirements for java types, which could be persisted. See the specification: Chapter 2.1 Persistent Fields and Properties p.20

As the issue is general, I have created a bug with major priority:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=189948

Best Regards,
Dimiter

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Back to the top