• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

org.hibernate.mappingexception no dialect mapping for jdbc type: -8

 
S Branch
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
org.hibernate.mappingexception no dialect mapping for jdbc type: -8

Why am I getting this? Using Oracle11g database.

Thanks.

*Here is the line in my hibernate.cfg.xml
<property name="hibernate.dialect">org.hibernate.dialect.Oracle10gDialect</property>

*stack trace
No Dialect mapping for JDBC type: -8
org.hibernate.MappingException: No Dialect mapping for JDBC type: -8
at org.hibernate.dialect.TypeNames.get(TypeNames.java:79)
at org.hibernate.dialect.TypeNames.get(TypeNames.java:104)
at org.hibernate.dialect.Dialect.getHibernateTypeName(Dialect.java:393)
at org.hibernate.loader.custom.CustomLoader$Metadata.getHibernateType(CustomLoade
r.java:582)
at org.hibernate.loader.custom.CustomLoader$ScalarResultColumnProcessor.performDi
scovery(CustomLoader.java:508)
at org.hibernate.loader.custom.CustomLoader.autoDiscoverTypes(CustomLoader.java:5
24)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1821)
at org.hibernate.loader.Loader.doQuery(Loader.java:697)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java
:259)
at org.hibernate.loader.Loader.doList(Loader.java:2232)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2129)
at org.hibernate.loader.Loader.list(Loader.java:2124)
at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:312)
at org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1723)
at org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:165)
at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:175)
at cdsar.dataobjects.entityobjects.AbstractEntityDao.select(AbstractEntityDao.jav
a:64)
at cdsar.dataobjects.ClsDataObjectCrse.findRecordS2TCrse2eci140(ClsDataObjectCrse
.java:205)
at cdsar.businessobjects.ClsbussProcessObjEci140.testCourseHoldSpecificCourses2(C
lsbussProcessObjEci140.java:1750)
at cdsar.businessobjects.ClsbussProcessObjEci140.processAssistanceAction(ClsbussP
rocessObjEci140.java:1549)
at cdsar.businessobjects.ClsbussProcessObjEci140.releaseEnrollmentHoldseci140(Cls
bussProcessObjEci140.java:623)
at cdsar.businessobjects.ClsbussProcessObjEci140.processForReleasingEnrollmentHol
dseci140(ClsbussProcessObjEci140.java:472)
at cdsar.businessobjects.ClsbussProcessObjEci140.execute(ClsbussProcessObjEci140.
java:446)
at cdsar.servlets.RunBatch.executeBusinessProcess(RunBatch.java:64)
at cdsar.servlets.RunBatch.doPost(RunBatch.java:47)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatc
her.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletReque
stDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandle
r.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.
java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler
.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadH
andler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcc
eptHandler.java:234)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHan
dler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSoc
ketAcceptHandler.java:879)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableReso
urcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic