-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: I am getting org.hibernate.MappingException: No Dialectmappi
PostPosted: Mon Sep 01, 2008 7:24 am 
Newbie

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.