[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-1614) parent element should accept access="field"

Marcin Kobylarz (JIRA) noreply at atlassian.com
Mon Oct 18 09:11:48 EDT 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=38777#action_38777 ] 

Marcin Kobylarz commented on HHH-1614:
--------------------------------------

It's 2010, version 3.5.6 but this is still not working.

{code:title=exception|borderStyle=solid}
org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.component.PojoComponentTuplizer]
	at org.hibernate.tuple.component.ComponentTuplizerFactory.constructTuplizer(ComponentTuplizerFactory.java:101)
	at org.hibernate.tuple.component.ComponentTuplizerFactory.constructDefaultTuplizer(ComponentTuplizerFactory.java:122)
	at org.hibernate.tuple.component.ComponentEntityModeToTuplizerMapping.<init>(ComponentEntityModeToTuplizerMapping.java:75)
	at org.hibernate.tuple.component.ComponentMetamodel.<init>(ComponentMetamodel.java:73)
	at org.hibernate.mapping.Component.buildType(Component.java:183)
	at org.hibernate.mapping.Component.getType(Component.java:176)
	at org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:275)
	at org.hibernate.mapping.Property.isValid(Property.java:217)
	at org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:464)
	at org.hibernate.mapping.RootClass.validate(RootClass.java:236)
	at org.hibernate.cfg.Configuration.validate(Configuration.java:1193)
	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1378)
{code}

> parent element should accept access="field"
> -------------------------------------------
>
>                 Key: HHH-1614
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1614
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 3.0.5
>            Reporter: Hontvári József
>            Priority: Minor
>
> Currently one cannot specify access="field" in a Hibernate mapping file in the "parent" element of components. This means that JavaBean style setters and getters must be created even if all other fields are accessed directly by Hibernate, which doesn't look nice in the source.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the hibernate-issues mailing list