Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

No Dialect mapping for JDBC type: -1

843830Apr 14 2008 — edited Apr 14 2008
I keep getting this error message "No Dialect mapping for JDBC type: -1",

I have ejb 3.1 and queries with createNativeQuery, my table has a column with a blob type. I can't find what is wrong with this.

Example:

xxx.createNativeQuery("select r.message as RemarkMessage from remark r " +
"where insertion_date like ?1", "TransByRemarkDate").setParameter(1, date);

- in this case r.message is a blob
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 12 2008
Added on Apr 14 2008
1 comment
1,877 views