Re: element column of the associated table is null

2012-04-25 Thread Rick Curtis
What version of OpenJPA are you using and how are you enhancing your entities? Also, is there are particular reason that you have the @ManagedInterface annotation on your IInterface interface? Unless you plan on using some of the documented managed interface[1] support, *I think* you can safely

Re: FieldMapping for entity incorrect, wrong field read from object

2012-04-25 Thread Rick Curtis
Mike - Can you post the Entities that you're having problems with? Thanks, Rick On Tue, Apr 24, 2012 at 10:47 PM, Mike Goldner mike.gold...@gmail.comwrote: I have an entity that extends an abstract MappedSuperClass class. The abstract class only declares an ID and Version field. When I

Re: column already exists....column reserved word

2012-04-25 Thread Rick Curtis
Jason - What version of OpenJPA are you running? Can you post the full stacktrace? On Tue, Apr 24, 2012 at 11:56 AM, Jason jdr0...@renci.org wrote: Hi all, I am using OpenJPA with PostgreSQL. I have a table where a column has the name of grant. How can I get the schema creation routine to

Re: FieldMapping for entity incorrect, wrong field read from object

2012-04-25 Thread Rick Curtis
Should a JIRA ticket be created for this. Yes, please do. Thanks for taking the time to come up with a small UT. Thanks, Rick On Wed, Apr 25, 2012 at 11:00 AM, Mike Goldner mike.gold...@gmail.comwrote: Rick, OK, so in the process of trying to create a stand-alone reproducible test of this

Re: element column of the associated table is null

2012-04-25 Thread CarpathianAnonymous
Yes, i've tryied also without @ManagedInterface and got the same result. -- View this message in context: http://openjpa.208410.n2.nabble.com/element-column-of-the-associated-table-is-null-tp7498933p7500049.html Sent from the OpenJPA Users mailing list archive at Nabble.com.

Re: column already exists....column reserved word

2012-04-25 Thread Jason
Rick, I am using OpenJPA v2.1.1. I did find this open bug related to the issue: https://issues.apache.org/jira/browse/OPENJPA-84 After reading that bug, I figured that I will have to change the name of the column to not be a reserved word until this bug is implemented/fixed. Regards,

Re: column already exists....column reserved word

2012-04-25 Thread Rick Curtis
Hmm, that is a super old JIRA. I would expect that this should work. Your original post said that the exception happens when creating tables... what happens if you create the tables by hand and delimit this table name via annotations (via \...\)? Does the manual delimiter work at runtime? Thanks,

Re: element column of the associated table is null

2012-04-25 Thread Rick Curtis
Okay, get rid of the @ManagedInterface and put the @Id / @GeneratedValue(strategy = GenerationType.IDENTITY) in your concrete classes(Class1, Class2). Thanks, Rick On Wed, Apr 25, 2012 at 11:39 AM, CarpathianAnonymous andreibratu2...@yahoo.com wrote: Yes, i've tryied also without

Re: FieldMapping for entity incorrect, wrong field read from object

2012-04-25 Thread Mike Goldner
I've create https://issues.apache.org/jira/browse/OPENJPA-2177 and attached a small maven/junit test case demonstrating the issue. Thanks, Mike On 4/25/12 12:22 PM, Rick Curtis curti...@gmail.com wrote: Should a JIRA ticket be created for this. Yes, please do. Thanks for taking the time to