org.hibernate.HibernateException

Unknown wrap conversion requested: org.postgresql.util.PGobject to java.util.UUID

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web695

  • via GitHub by suryayadavalli
    , 10 months ago
    Unknown wrap conversion requested: org.postgresql.util.PGobject to java.util.UUID
  • Unable to construct requested dialect [org.hibernate.dialect.OracleDialect]
  • Unable to construct requested dialect [org.hibernate.dialect.OracleDialect]
  • Stack trace

    • org.hibernate.HibernateException: Unknown wrap conversion requested: org.postgresql.util.PGobject to java.util.UUID at org.hibernate.type.descriptor.java.AbstractTypeDescriptor.unknownWrap(AbstractTypeDescriptor.java:119)[hibernate-core-4.2.0.Final.jar:4.2.0.Final] at org.hibernate.type.descriptor.java.UUIDTypeDescriptor.wrap(UUIDTypeDescriptor.java:82)[hibernate-core-4.2.0.Final.jar:4.2.0.Final] at org.hibernate.type.descriptor.java.UUIDTypeDescriptor.wrap(UUIDTypeDescriptor.java:37)[hibernate-core-4.2.0.Final.jar:4.2.0.Final] at org.hibernate.type.PostgresUUIDType$PostgresUUIDSqlTypeDescriptor$2.doExtract(PostgresUUIDType.java:85)[hibernate-core-4.2.0.Final.jar:4.2.0.Final] at org.hibernate.type.descriptor.sql.BasicExtractor.extract(BasicExtractor.java:65)[hibernate-core-4.2.0.Final.jar:4.2.0.Final] at org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:261)[hibernate-core-4.2.0.Final.jar:4.2.0.Final] at org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:257)[hibernate-core-4.2.0.Final.jar:4.2.0.Final] at org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:247)[hibernate-core-4.2.0.Final.jar:4.2.0.Final] at org.hibernate.type.AbstractStandardBasicType.hydrate(AbstractStandardBasicType.java:332)[hibernate-core-4.2.0.Final.jar:4.2.0.Final] at org.hibernate.loader.Loader.extractKeysFromResultSet(Loader.java:774)[hibernate-core-4.2.0.Final.jar:4.2.0.Final] at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:707)[hibernate-core-4.2.0.Final.jar:4.2.0.Final] at org.hibernate.loader.Loader.processResultSet(Loader.java:940)[hibernate-core-4.2.0.Final.jar:4.2.0.Final] at org.hibernate.loader.Loader.doQuery(Loader.java:910)[hibernate-core-4.2.0.Final.jar:4.2.0.Final] at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:341)[hibernate-core-4.2.0.Final.jar:4.2.0.Final] at org.hibernate.loader.Loader.doList(Loader.java:2516)[hibernate-core-4.2.0.Final.jar:4.2.0.Final] at org.hibernate.loader.Loader.doList(Loader.java:2502)[hibernate-core-4.2.0.Final.jar:4.2.0.Final] at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2332)[hibernate-core-4.2.0.Final.jar:4.2.0.Final] at org.hibernate.loader.Loader.list(Loader.java:2327)[hibernate-core-4.2.0.Final.jar:4.2.0.Final] at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:124)[hibernate-core-4.2.0.Final.jar:4.2.0.Final] at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1661)[hibernate-core-4.2.0.Final.jar:4.2.0.Final] at org.hibernate.internal.CriteriaImpl.list(CriteriaImpl.java:374)[hibernate-core-4.2.0.Final.jar:4.2.0.Final] at com.servinglynk.hmis.warehouse.base.dao.QueryExecutorImpl.findByCriteria(QueryExecutorImpl.java:329)[hmis-base-model-0.0.2-SNAPSHOT.jar:na] at com.servinglynk.hmis.warehouse.base.dao.SessionDaoImpl.findBySessionTokenForInterceptor(SessionDaoImpl.java:81)[hmis-base-model-0.0.2-SNAPSHOT.jar:na]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    223 times, 1 week ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago