Re: Problems when using "openjpa.MetaDataFactory" Property

2011-08-17 Thread Marcel Urbanek
Hi, I now opened a JIRA for the issue ( https://issues.apache.org/jira/browse/OPENJPA-2040 ). Regarding your questions: Qualifier means Schema, so in the tablename "test.Person" "test" would be the qualifier. The two records are in different schemas but on the same database (otherwise my Met

Re: Problems when using "openjpa.MetaDataFactory" Property

2011-08-15 Thread Marcel Urbanek
schemas. Should I file a JIRA for the MetaDataFactory Bug? Best regards, Marcel From: Marcel Urbanek To: users@openjpa.apache.org Date: 12.08.2011 16:59 Subject:Re: Problems when using "openjpa.MetaDataFactory" Property Hi, I will give it a try (on monday) but looking at

Re: Problems when using "openjpa.MetaDataFactory" Property

2011-08-12 Thread Marcel Urbanek
ike On Fri, Aug 12, 2011 at 4:54 AM, Marcel Urbanek wrote: > Hi, > > thanks for your answer. > > We need to specify differing qualifier/schemas for the entities. > > So lets say Entity A is in Qualifier 'test1' and Entity B is in Qualifier > 'test2'.

Re: Problems when using "openjpa.MetaDataFactory" Property

2011-08-12 Thread Marcel Urbanek
e specified your own MappingFactory OpenJPA > forces the factory into strict mode and the column names are not processed. > It's fairly easy to change the code to not do that, but I'm not sure what > else I'd break. > > I haven't found a workaround for you yet, but

Re: Problems when using "openjpa.MetaDataFactory" Property

2011-08-11 Thread Marcel Urbanek
#x27;d need to go that far. All that said, I think we're going to need to know more about your model to figure out what is going wrong here. In particular what annotations are on the NA_GRP column. Once we get this to work with the OpenJPA defaults, we can look at what goes wrong with

Re: Problems when using "openjpa.MetaDataFactory" Property

2011-08-11 Thread Marcel Urbanek
perty > > > > See if setting this property works for you. --> name="openjpa.MetaDataFactory" > value="org.apache.openjpa.persistence.jdbc.PersistenceMappingFactory/> > > Thanks, > Rick > > > On Wed, Aug 10, 2011 at 10:48 AM, Marcel Urbanek >

Re: Problems when using "openjpa.MetaDataFactory" Property

2011-08-10 Thread Marcel Urbanek
StoreManager$CancelPreparedStatement] > > Obviously OpenJPA now does not use the column names I specified (for > example "TE_RMK") but instead uses the Java attribute name ("remarkText"). > > Best regards Marcel > > > > > From: Rick Curtis > To:

Re: Problems when using "openjpa.MetaDataFactory" Property

2011-08-10 Thread Marcel Urbanek
st regards Marcel From: Rick Curtis To: users@openjpa.apache.org Date: 10.08.2011 16:12 Subject:Re: Problems when using "openjpa.MetaDataFactory" Property Can you post a unit test to help us better understand where you're running into problems? Thanks, Rick On Wed, Aug

Problems when using "openjpa.MetaDataFactory" Property

2011-08-10 Thread Marcel Urbanek
Hi, I want to overwrite the MetaDataFactory like described here: http://openjpa.apache.org/builds/1.0.2/apache-openjpa-1.0.2/docs/manual/ref_guide_meta.html But it turned out it doesn't work. I managed to develop a test scenario which easily produces the behaviour I encountered. What _does_ wo

Problems when using "openjpa.MetaDataFactory" Property

2011-08-10 Thread Marcel Urbanek
Hi, I want to overwrite the MetaDataFactory like described here: http://openjpa.apache.org/builds/1.0.2/apache-openjpa-1.0.2/docs/manual/ref_guide_meta.html But it turned out it doesn't work. I managed to develop a test scenario which easily produces the behaviour I encountered. What _does_ wo