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.
|