Re: chicken-egg problem with metadata and persistent fields

2015-07-01 Thread Mark Struberg
Yes, this is indeed one of the core classes involved. The problem is that the line 223 def = isDefaultPersistent(meta, member, name, ignoreTransient); returns false as PersistenceMetaDataDefaults:667 PersistenceStrategy strat = getPersistenceStrategy(meta, null, member, ignoreTransient); doesn

Re: chicken-egg problem with metadata and persistent fields

2015-07-01 Thread Rick Curtis
Have you looked through org.apache.openjpa.meta.AbstractMetaDataDefaults .populateFromReflection(...) ? On Wed, Jul 1, 2015 at 8:04 AM, Mark Struberg wrote: > Indeed the enhancer is involved in the game. > But I had hoped to _not_ need to change the enhancer itself. It just needs > to pickup the

Re: chicken-egg problem with metadata and persistent fields

2015-07-01 Thread Mark Struberg
Indeed the enhancer is involved in the game. But I had hoped to _not_ need to change the enhancer itself. It just needs to pickup the field as persistent. At the end what I like to achieve is that those fields are really handled the same like PersistenceStrategy.BASIC. With the only difference t

Re: chicken-egg problem with metadata and persistent fields

2015-07-01 Thread Rick Curtis
I'm just shooting in the dark here, but I wonder if you need to make changes to the enhancer in addition to the metadatarepo. then again its quite early so I might be way off in left field. On Tue, Jun 30, 2015 at 2:53 PM, Mark Struberg wrote: > Hi Rick! > > I’m trying to finally solve the l