Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hi All,
Recently the error occurs sometimes. The connectiong pool is available when I check it on weblogic8.1.3 console.
need help!
Hibernate version:2.1
Mapping documents:
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 2.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd">
Full stack trace of any exception that occurs:2006-05-31 12:03:02,336 ExecuteThread: '13' for queue: 'weblogic.kernel.Default' ERROR pers.global - RuntimeException
org.springframework.jdbc.UncategorizedSQLException: (HibernateAccessor): encountered SQLException [Database not selected yet.]; nested exception is java.sql.SQLException: Database not selected yet.
java.sql.SQLException: Database not selected yet.
at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java(Inlined Compiled Code))
at com.informix.jdbc.IfxSqli.addException(IfxSqli.java(Compiled Code))
at com.informix.jdbc.IfxSqli.receiveError(IfxSqli.java(Compiled Code))
at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java(Compiled Code))
at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java(Compiled Code))
at com.informix.jdbc.IfxSqli.executePrepare(IfxSqli.java(Compiled Code))
at com.informix.jdbc.IfxResultSet.executePrepare(IfxResultSet.java(Inlined Compiled Code))
at com.informix.jdbc.IfxPreparedStatement.setupExecutePrepare(IfxPreparedStatement.java(Compiled Code))
at com.informix.jdbc.IfxPreparedStatement.<init>(IfxPreparedStatement.java(Compiled Code))
at com.informix.jdbc.IfxSqliConnect.prepareStatement(IfxSqliConnect.java(Compiled Code))
at weblogic.jdbc.common.internal.ConnectionEnv.makeStatement(ConnectionEnv.java(Compiled Code))
at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ConnectionEnv.java(Compiled Code))
at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ConnectionEnv.java(Inlined Compiled Code))
at weblogic.jdbc.wrapper.Connection.prepareStatement(Connection.java(Compiled Code))
at net.sf.hibernate.impl.BatcherImpl.getPreparedStatement(BatcherImpl.java(Compiled Code))
at net.sf.hibernate.impl.BatcherImpl.getPreparedStatement(BatcherImpl.java(Inlined Compiled Code))
at net.sf.hibernate.impl.BatcherImpl.prepareQueryStatement(BatcherImpl.java(Compiled Code))
at net.sf.hibernate.loader.Loader.prepareQueryStatement(Loader.java(Compiled Code))
at net.sf.hibernate.loader.Loader.doQuery(Loader.java(Compiled Code))
at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java(Compiled Code))
at net.sf.hibernate.loader.Loader.doList(Loader.java(Inlined Compiled Code))
at net.sf.hibernate.loader.Loader.list(Loader.java(Compiled Code))
at net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java(Inlined Compiled Code))
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java(Compiled Code))
at net.sf.hibernate.impl.QueryImpl.list(QueryImpl.java(Compiled Code))
at org.springframework.orm.hibernate.HibernateTemplate$18.doInHibernate(HibernateTemplate.java(Compiled Code))
at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java(Compiled Code))
at org.springframework.orm.hibernate.HibernateTemplate.executeFind(HibernateTemplate.java(Inlined Compiled Code))
at org.springframework.orm.hibernate.HibernateTemplate.find(HibernateTemplate.java(Inlined Compiled Code))
Name and version of the database you are using:informix 9.3 for aix