{code xml}
<taskdef name="instrument" classname="org.hibernate.tool.instrument.javassist.InstrumentTask"> <classpath refid="lib.classpath" /> </taskdef> <instrument verbose="true"> <fileset dir="$ {classes.dir}
"> <include name="*/model/.class" /> </fileset> </instrument>
it will instrument all my model class and bring potential issue,maybe this task should add a option to only instrument class that has lazy load property,it's better to only instrument the lazy load property getter and setter method.
|