openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From idan <ida...@gmail.com>
Subject Re: StoreManager flush
Date Fri, 12 Nov 2010 14:47:20 GMT

Again.. I did some homework...

loadPersistentTypes is called after the StoreManager.open() method and
therefore the ClassMetaData array is empty in this stage.

Is there a way to know if an object is a part of a relation by its
ClassMetaData?

For example, if A has a OneToOne relation with B.. can i know that B is in a
relation only by B's ClassMetaData?

Thanks,
Idan

-- 
View this message in context: http://openjpa.208410.n2.nabble.com/StoreManager-flush-tp5693069p5732552.html
Sent from the OpenJPA Developers mailing list archive at Nabble.com.

Mime
View raw message