Joined: Thu Oct 11, 2007 9:35 am Posts: 2 Location: COIMBATORE
|
Hi all ,
I am using Msql but in hibernate maping file (hbm.xml) I am using String as a type in property tab as shown below
<property name="description" type="string">
<column name="description" length="65535">
<comment></comment>
</column>
But while retrieving the data from data base I am getting the below exception
Hibernate throws exception on execution...
org.hibernate.MappingException: No DialectmappingforJDBC type: -1
I even tried with changing the type as text instead of String in hbm file even then I am getting the same exception
If i use an HQL there is no problem but if i use an sql query i getting the above exception
_________________ HIBERNATE QUESTIONS
|
|