[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [eclipselink-users] Class Weaving
|
I am also uploading the entity for which weaving is not happening
http://www.nabble.com/file/p24488214/Relation.java Relation.java
Gaurav Malhotra wrote:
>
> Hi,
>
> For some of my jpa entities the class weaving is not happening. There is
> no exception in the log.
>
> I am using spring
> org.springframework.instrument.classloading.InstrumentationLoadTimeWeaver.
>
> Can somebody give me pointers how to debug this issue???
>
> I can also see that in TransformationFactory.buildToplinkWeaver the
> classDetailMap contain the entry for the entity 'Relation'
> com/oracle/healthinsurance/orm/entities/Relation=org.eclipse.persistence.internal.weaving.ClassDetails@18a84ed
>
> Also in spring InstrumentationLoadTimeWeaver, I am able to see in the
> spring's InstrumentationLoadTimeWeaver,PersistenceWeaver (containing below
> data) is added using
> InstrumentationLoadTimeWeaver.addTransformer(ClassFileTransformer
> transformer)
>
> com/oracle/healthinsurance/orm/entities/Relation=org.eclipse.persistence.internal.weaving.ClassDetails@2cc04e
>
> More intrestingly in the
> org.springframework.orm.jpa.persistenceunit.ClassFileTransformerAdapter.transform
> method, I can again see in its classTransformer
> com/oracle/healthinsurance/orm/entities/Relation=org.eclipse.persistence.internal.weaving.ClassDetails@2cc04e
>
> In ClassFileTransformerAdapter.transform while debugging I cannot find the
> className I looking i.e. Relation. Hence I am assuming weaving for the
> Relation entity is not happening. (no logging that class has been weaved)
>
> No exception... I think weaving for the Relation entity is also not
> happening
>
> I also enabled the eclipse link finest logging and found the following
> logging for the entity Relation
> [EL Finer]: 2009-07-14
> 22:48:07.14--ServerSession(18812899)--Thread(Thread[main,5,main])--Class
> [com.oracle.healthinsurance.orm.entities.Relation] registered to be
> processed by weaver.
>
> But not logging stating
>
> [EL Finest]: 2009-07-14
> 22:50:26.859--ServerSession(18812899)--Thread(Thread[main,5,main])--Weaved
> persistence (PersistenceEntity)
> [com/oracle/healthinsurance/orm/entities/Relation].
>
> + change tracking + FetchGroupTracker
>
> Why????
>
> I am able to see indirectionlist which fetch the relation entity.
>
> Gaurav Malhotra
>
--
View this message in context: http://www.nabble.com/Class-Weaving-tp24485399p24488214.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.