-->
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.  [ 2 posts ] 
Author Message
 Post subject: Error No Dialect mapping for JDBC type: -100
PostPosted: Wed Jun 12, 2013 4:56 am 
Newbie

Joined: Wed Jun 12, 2013 4:39 am
Posts: 2
Good morning, I have a query with:

SQLQuery queryDatosPoliza = getSession(false).createSQLQuery("Select ...");

queryDatosPoliza.setString(0, code);
queryDatosPoliza.setString(1, company);
Object[] datosGeneralesPoliza = (Object[]) queryDatosPoliza.uniqueResult();


And I receive the error No Dialect mapping for JDBC type: -100, We have a Oracle Data base and the hibernate's properties are:

<property name="hibernateProperties">
<props>
<prop key="hibernate.show_sql">false</prop>
<prop key="hibernate.dialect">org.hibernate.dialect.Oracle9Dialect</prop>
<prop key="hibernate.cache.use_query_cache">false</prop>
<prop key="hibernate.cache.provider_class">org.hibernate.cache.EhCacheProvider</prop>
<prop key="hibernate.cache.query_cache_factory">org.hibernate.cache.StandardQueryCacheFactory</prop>
</props>
</property>

Any ideas? why= the dialect is the correct and in others PC's this run.

Regards.


Top
 Profile  
 
 Post subject: Re: Error No Dialect mapping for JDBC type: -100
PostPosted: Wed Jun 12, 2013 7:04 am 
Newbie

Joined: Wed Jun 12, 2013 4:39 am
Posts: 2
I discover that the problem are fields TimeStamp, not mappingĀ” why???....


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

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.