pg_largeobject related issue with 9.2 - Mailing list pgsql-general
From | sramay |
---|---|
Subject | pg_largeobject related issue with 9.2 |
Date | |
Msg-id | 1388556444299-5784969.post@n5.nabble.com Whole thread Raw |
Responses |
Re: pg_largeobject related issue with 9.2
|
List | pgsql-general |
Hi, I am having a application which was running on Jboss 5 with Hibernate and PostgreSQL 9.2. Due to media corruption. Data without largeobject was restored and largeobject I restored from some other source. Now the application is giving error eventhough largeobject is present it is giving error. Can any help me? --- part of log --- Caused by: org.hibernate.exception.SQLGrammarException: could not execute query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) at org.hibernate.loader.Loader.doList(Loader.java:2147) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2028) at org.hibernate.loader.Loader.list(Loader.java:2023) at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:289) at org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1695) at org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:142) at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:150) at nic.scbpds.db.DataBaseUtil.getUnionList(Unknown Source) at nic.scbpds.allocation.business.CentralAllocationImpl.getUnionList(Unknown Source) at nic.scbpds.allocation.form.common.controller.AllocationController.getUnionList(Unknown Source) at nic.scbpds.allocation.form.CentralDashboardWebPage.<init>(Unknown Source) at nic.scbpds.allocation.form.CentralDashboardWebPage.<init>(Unknown Source) ... 39 more *Caused by: org.postgresql.util.PSQLException: ERROR: large object 141066 does not exist* at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2101) at org.postgresql.core.v3.QueryExecutorImpl.receiveFastpathResult(QueryExecutorImpl.java:650) at org.postgresql.core.v3.QueryExecutorImpl.fastpathCall(QueryExecutorImpl.java:480) at org.postgresql.fastpath.Fastpath.fastpath(Fastpath.java:72) at org.postgresql.fastpath.Fastpath.fastpath(Fastpath.java:112) at org.postgresql.fastpath.Fastpath.getInteger(Fastpath.java:124) at org.postgresql.largeobject.LargeObject.<init>(LargeObject.java:91) at org.postgresql.largeobject.LargeObjectManager.open(LargeObjectManager.java:200) at org.postgresql.largeobject.LargeObjectManager.open(LargeObjectManager.java:170) at org.postgresql.jdbc2.AbstractJdbc2BlobClob.<init>(AbstractJdbc2BlobClob.java:45) at org.postgresql.jdbc2.AbstractJdbc2Blob.<init>(AbstractJdbc2Blob.java:19) at org.postgresql.jdbc3.AbstractJdbc3Blob.<init>(AbstractJdbc3Blob.java:17) at org.postgresql.jdbc4.AbstractJdbc4Blob.<init>(AbstractJdbc4Blob.java:18) at org.postgresql.jdbc4.Jdbc4Blob.<init>(Jdbc4Blob.java:18) at org.postgresql.jdbc4.Jdbc4ResultSet.getBlob(Jdbc4ResultSet.java:49) at org.postgresql.jdbc2.AbstractJdbc2ResultSet.getBlob(AbstractJdbc2ResultSet.java:344) at org.jboss.resource.adapter.jdbc.WrappedResultSet.getBlob(WrappedResultSet.java:386) at org.hibernate.type.BlobType.get(BlobType.java:57) at org.hibernate.type.BlobType.nullSafeGet(BlobType.java:111) at org.hibernate.type.AbstractType.hydrate(AbstractType.java:81) at org.hibernate.persister.entity.AbstractEntityPersister.hydrate(AbstractEntityPersister.java:2031) at org.hibernate.loader.Loader.loadFromResultSet(Loader.java:1371) at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1299) at org.hibernate.loader.Loader.getRow(Loader.java:1197) at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:568) at org.hibernate.loader.Loader.doQuery(Loader.java:689) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224) at org.hibernate.loader.Loader.doList(Loader.java:2144) ... 50 more Thanks in advance Rama -- View this message in context: http://postgresql.1045698.n5.nabble.com/pg-largeobject-related-issue-with-9-2-tp5784969.html Sent from the PostgreSQL - general mailing list archive at Nabble.com.
pgsql-general by date: