Expose a method on the BytecodeProvider to detect enhanced fields
-----------------------------------------------------------------
Key: HHH-3136
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3136
Project: Hibernate3
Issue Type: New Feature
Components: core
Reporter: Emmanuel Bernard
In Hibernate Annotations
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() );
}
I need to filter out non transient fields added by the bytecode enhancement.
Today this is hardcoded which sucks.
This related to ANN-699
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira