<div>Hi,</div>
<div> </div>
<div>I need help on hibernate;</div>
<div> </div>
<div>Caused by: org.hibernate.exception.GenericJDBCException: could not execute query<br> at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)<br> at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)<br>
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)<br> at org.hibernate.loader.Loader.doList(Loader.java:2223)<br> at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)<br>
at org.hibernate.loader.Loader.list(Loader.java:2099)<br> at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)<br> at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)<br>
at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)<br> at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)<br> at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)<br>
at com.gtech.video.persistence.hibernate.HibernateUtils.getById(HibernateUtils.java:84)<br> ... 94 more<br>Caused by: com.ibm.db2.jcc.c.SqlException: DB2 SQL error: SQLCODE: -954, SQLSTATE: 57011, SQLERRMC: null<br>
at com.ibm.db2.jcc.c.wf.b(wf.java:2952)<br> at com.ibm.db2.jcc.c.wf.a(wf.java:2935)<br> at com.ibm.db2.jcc.b.gb.a(gb.java:709)<br> at com.ibm.db2.jcc.b.gb.m(gb.java:698)<br> at com.ibm.db2.jcc.b.gb.i(gb.java:242)<br>
at com.ibm.db2.jcc.b.gb.c(gb.java:53)<br> at com.ibm.db2.jcc.b.w.c(w.java:46)<br> at com.ibm.db2.jcc.b.vb.h(vb.java:151)<br> at com.ibm.db2.jcc.c.fg.p(fg.java:1220)<br> at com.ibm.db2.jcc.c.gg.d(gg.java:2349)<br>
at com.ibm.db2.jcc.c.gg.V(gg.java:424)<br> at com.ibm.db2.jcc.c.gg.executeQuery(gg.java:407)<br> at org.jboss.resource.adapter.jdbc.CachedPreparedStatement.executeQuery(CachedPreparedStatement.java:90)<br>
at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:236)<br> at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:186)<br> at org.hibernate.loader.Loader.getResultSet(Loader.java:1787)<br>
at org.hibernate.loader.Loader.doQuery(Loader.java:674)<br> at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)<br> at org.hibernate.loader.Loader.doList(Loader.java:2220)<br>
</div>
<div>What could be the issue?. Even though i have proper database connection and everything. And sometimes I am getting could n't load entity. Is the db configuration issue?. or I am missing something.</div>
<div> </div>
<div>Can any one help me on this?</div>
<div> </div>
<div>Thanks</div>
<div>Thamayanthi<br><br></div>
<div class="gmail_quote">On Thu, Dec 4, 2008 at 2:43 PM, Max Rydahl Andersen <span dir="ltr"><<a href="mailto:max.andersen@redhat.com">max.andersen@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><a href="http://hibernate.org/6.html" target="_blank">http://hibernate.org/6.html</a><br><br>has all the info or link to it.<br>
<br>/max
<div>
<div></div>
<div class="Wj3C7c"><br><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi<br><br> I need some details reagrding the environment setup and all before<br>starting. where can i get the details about?<br>
<br>Thanks<br>Thamayanthi<br><br>On Thu, Dec 4, 2008 at 12:56 PM, John Mazzitelli <<a href="mailto:mazz@redhat.com" target="_blank">mazz@redhat.com</a>> wrote:<br><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">> Though I have less knowledge in Hibernate. I am interested in working<br>> with new development and fixes<br>
<br>Feel free to finish this for me :)<br><br><a href="http://opensource.atlassian.com/projects/hibernate/browse/HHH-3593" target="_blank">http://opensource.atlassian.com/projects/hibernate/browse/HHH-3593</a><br><br>Read the full thread for background and what needs to be done:<br>
<br><a href="http://lists.jboss.org/pipermail/hibernate-dev/2008-November/003452.html" target="_blank">http://lists.jboss.org/pipermail/hibernate-dev/2008-November/003452.html</a><br><br>Steve would like this refactored and moved over to the JMX module. This<br>
actually might be a good thing for someone new to do; someone that wants to<br>get started - its fairly out of the way of the hard-core hibernate stuff,<br>but it'll get your feet wet working in the hibernate dev environment.<br>
<br>Just a thought ;}<br><br></blockquote></blockquote><br><br><br></div></div>-- <br><font color="#888888">/max<br></font></blockquote></div><br>