[hibernate-issues] [Hibernate-JIRA] Commented: (ANN-782) InterceptFieldCallback is being mapped again since its package changed in Hibernate core 3.3.1

nikita tovstoles (JIRA) noreply at atlassian.com
Thu Feb 5 19:04:38 EST 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/ANN-782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32331#action_32331 ] 

nikita tovstoles commented on ANN-782:
--------------------------------------

this fix works but should integrated together with this one: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3504?focusedCommentId=32329#action_32329

> InterceptFieldCallback is being mapped again since its package changed in Hibernate core 3.3.1
> ----------------------------------------------------------------------------------------------
>
>                 Key: ANN-782
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-782
>             Project: Hibernate Annotations
>          Issue Type: Bug
>          Components: binder
>    Affects Versions: 3.4.0.GA
>            Reporter: Alex Gitelman
>
> Hibernate-core generate fields of type 'org.hibernate.repackage.cglib.transform.impl.InterceptFieldCallback' instead of net.sf package, therefore fix from ANN-133 can't work
> From AnnotationBinder:
> {code}
> 	private static boolean mustBeSkipped(XProperty property, ExtendedMappings mappings) {
> 		//TODO make those hardcoded tests more portable (through the bytecode provider?)
> 		return property.isAnnotationPresent( Transient.class )
> 				|| "net.sf.cglib.transform.impl.InterceptFieldCallback".equals( property.getType().getName() )
> 				|| "org.hibernate.bytecode.javassist.FieldHandler".equals( property.getType().getName() );
> 	}
> {code}

-- 
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