Re: postgresql 7.4.6-6, hibernate-2.1.6, jdbc3
От | Pavel Jbanov |
---|---|
Тема | Re: postgresql 7.4.6-6, hibernate-2.1.6, jdbc3 |
Дата | |
Msg-id | 1106688054.20161.101.camel@localhost обсуждение исходный текст |
Ответ на | postgresql 7.4.6-6, hibernate-2.1.6, jdbc3 (Pavel Jbanov <pavel.jbanov@shaw.ca>) |
Ответы |
Re: postgresql 7.4.6-6, hibernate-2.1.6, jdbc3
Re: postgresql 7.4.6-6, hibernate-2.1.6, jdbc3 |
Список | pgsql-jdbc |
Sorry, gone unfinished. :/ The exception is: Caused by: org.postgresql.util.PSQLException: ???????????? Byte f at org.postgresql.jdbc1.AbstractJdbc1ResultSet.getByte(AbstractJdbc1ResultSet.java:244) at org.postgresql.jdbc1.AbstractJdbc1ResultSet.getByte(AbstractJdbc1ResultSet.java:491) at net.sf.hibernate.type.ByteType.get(ByteType.java:18) at net.sf.hibernate.type.NullableType.nullSafeGet(NullableType.java:62) at net.sf.hibernate.type.NullableType.nullSafeGet(NullableType.java:53) at net.sf.hibernate.type.AbstractType.hydrate(AbstractType.java:66) at net.sf.hibernate.loader.Loader.hydrate(Loader.java:686) at net.sf.hibernate.loader.Loader.loadFromResultSet(Loader.java:627) at net.sf.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:586) at net.sf.hibernate.loader.Loader.getRow(Loader.java:501) at net.sf.hibernate.loader.Loader.getRowFromResultSet(Loader.java:213) at net.sf.hibernate.loader.Loader.doQuery(Loader.java:281) at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:133) at net.sf.hibernate.loader.Loader.doList(Loader.java:1033) at net.sf.hibernate.loader.Loader.list(Loader.java:1024) at net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java:854) at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1544) ... 36 more What should I look at? Where can be the cause? Thanks. > Hi, > > I have postgresql 7.4.6-6, hibernate-2.1.6, jdbc3 (pg74.215.jdbc3.jar). > I get this exception: > > > I have a pretty complex structure, but here I try to do a simple thing: > > SomeBean foo = (SomeBean) session.get(SomeBean.class, > primary_key_value); > > I have: <property name="show_sql">true</property>, so I tried executing > the query it generated directly, it executed without problems. -- Pavel Jbanov http://www.spicesoft.com/~pavel/
В списке pgsql-jdbc по дате отправления: