[
https://issues.jboss.org/browse/WFLY-6577?page=com.atlassian.jira.plugin....
]
vbndeveloper commented on WFLY-6577:
------------------------------------
Actual error message reported currently is like this:
{{Unable to build Hibernate SessionFactory
Caused by: javax.persistence.PersistenceException: [PersistenceUnit: DATASOURCE_JNDI]
Unable to build Hibernate SessionFactory
Caused by: org.hibernate.MappingException: Could not get constructor for
org.hibernate.persister.entity.SingleTableEntityPersister
Caused by: org.hibernate.HibernateException: Unable to instantiate default tuplizer
[org.hibernate.tuple.entity.PojoEntityTuplizer]
Caused by: java.lang.reflect.InvocationTargetException
Caused by: org.hibernate.MappingException: In trying to locate getter for property
[active], Class [CLASS_NAME] defined both a `get` [public java.lang.Boolean
CLASS_NAME.getActive()] and `is` [public boolean CLASS_NAME.isActive()] variant"},}}
Unable to build Hibernate SessionFactory
----------------------------------------
Key: WFLY-6577
URL:
https://issues.jboss.org/browse/WFLY-6577
Project: WildFly
Issue Type: Bug
Components: JPA / Hibernate
Affects Versions: 10.0.0.Final
Environment: Windows 7 Professional (64-bit)
Java 8 u91 (64-bit)
PostgreSQL 9.5 on Windows (64-bit)
Reporter: vbndeveloper
Assignee: Scott Marlow
Original Estimate: 1 hour
Remaining Estimate: 1 hour
The hibernate entity to schema validator fails on a scenario where you have a bean with a
nullable Boolean getter/setter and also a convenience primitive boolean method decorated
with a @Transient annotation.
Ideally the validator would recognize javax.persistence.Transient annotated methods and
ignore them when validating the database schema.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)