org.hibernate.UnknownEntityTypeException

Unable to locate persister: java.math.BigDecimal

Solutions on the web17

  • Unable to locate persister: java.math.BigDecimal
  • Unable to locate persister: com.openlibrary.model.Book
  • Unable to locate persister: Logindtl
  • Stack trace

    • org.hibernate.UnknownEntityTypeException: Unable to locate persister: java.math.BigDecimal at org.hibernate.metamodel.internal.MetamodelImpl.locateEntityPersister(MetamodelImpl.java:637)[hibernate-core-5.2.2.Final.jar:5.2.2.Final] at org.hibernate.internal.SessionImpl.locateEntityPersister(SessionImpl.java:2909)[hibernate-core-5.2.2.Final.jar:5.2.2.Final] at org.hibernate.internal.SessionImpl.access$1800(SessionImpl.java:203)[hibernate-core-5.2.2.Final.jar:5.2.2.Final] at org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.<init>(SessionImpl.java:2660)[hibernate-core-5.2.2.Final.jar:5.2.2.Final] at org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.<init>(SessionImpl.java:2646)[hibernate-core-5.2.2.Final.jar:5.2.2.Final] at org.hibernate.internal.SessionImpl.byId(SessionImpl.java:1181)[hibernate-core-5.2.2.Final.jar:5.2.2.Final] at org.hibernate.internal.SessionImpl.find(SessionImpl.java:3357)[hibernate-core-5.2.2.Final.jar:5.2.2.Final] at org.hibernate.internal.SessionImpl.find(SessionImpl.java:3332)[hibernate-core-5.2.2.Final.jar:5.2.2.Final]

    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

    Unknown user
    Once, 1 year ago