org.hibernate.MappingException: No Dialect mapping for JDBC type: -1
--------------------------------------------------------------------
Key: HHH-2848
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2848
Project: Hibernate3
Issue Type: Bug
Components: core
Affects Versions: 3.2.5
Environment: MySQL 5.1, Hibernate 3.2.5
Reporter: Raghuveer Rawat
Priority: Blocker
Create a table Demo in MySQL 5.1 and define a field TestText with Text Data Type.
Now write a Native SQL for retriving table columns including this Text Column. Use below
mapping in .hbm.xml
<property name="testText" type="text">
<column name="TestText" length="16777215"
not-null="true">
<comment></comment>
</column>
</property>
Hibernate throws exception on execution...
org.hibernate.MappingException: No Dialect mapping for JDBC type: -1
There is a similar long pending bug HHH:1483 with Low Priority but issue is very critical
in nature. Looking forward for this fix asap.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira