tag « Component « JPA Q&A





1. Hibernate Reverse Engineering: Generation of a -tag    coderanch.com

Hello Ranchers, I'm quite new to the hibernate reverse engineering capabilities and I'm playing around a bit with them. The generation of the java-files and the .hbm.xml files works quite well, but there is point which I'm stumbling over. I want to map several fields to a in the .hbm.xml file, but the only thing which will be still generated ...

3. component parent-tag: no access='field' possible?    forum.hibernate.org

Don't think this has been resolved yet - I'm getting the same problem. Here's the stacktrace I'm getting when building the EntityManagerFactory: Code: Caused by: org.hibernate.PropertyNotFoundException: Could not find a setter for property account in class com.xxx.xxx.xxx at org.hibernate.property.BasicPropertyAccessor.createSetter(BasicPropertyAccessor.java:216) at org.hibernate.property.BasicPropertyAccessor.getSetter(BasicPropertyAccessor.java:209) at org.hibernate.tuple.component.PojoComponentTuplizer.(PojoComponentTuplizer.java:58) at org.hibernate.tuple.component.ComponentEntityModeToTuplizerMapping.(ComponentEntityModeToTuplizerMapping.java:52) at ...