Re: Bug when persisting two related objects

2007-05-11 Thread Kevin Sutter
I don't think it matters whether you are using DB2 or any other database. Getting back to one of Patrick's earlier requests... Can you post more information on the Project and Base classes? You've posted a snippet of the Base class and it's ID, but how are you defining the Project and it's ID?

Re: How do we know the entity is successfully deployed on appserver

2007-05-11 Thread Kevin Sutter
Joshua, Most definitely you can ask user questions on this list. Thanks for posting. OpenJPA provides the ability to autogenerate the database tables at runtime via the SynchronizeMappings property in the persistence.xml. Here's an example usage: persistence-unit name=inheritance

Re: Bug when persisting two related objects

2007-05-11 Thread Majeed Arni
The DDL is handmade. There is nothing in code about Identity. It is done in Database. I found a workaround for this problem by just moving the code around. Looks like a bug is the wrong message it sends. Also, is there a way to generate DDL from Java code? I saw create=true for Derby, does

[jira] Commented: (OPENJPA-206) Key column does not cascade multiple joins.

2007-05-11 Thread Michael Dick (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495089 ] Michael Dick commented on OPENJPA-206: -- For what it's worth I've been able to reproduce the issue with a

[jira] Created: (OPENJPA-238) Error in XMLFileHandler, failed to load field element with type org.apace.openjpa.util.StringId.

2007-05-11 Thread Catalina Wei (JIRA)
Error in XMLFileHandler, failed to load field element with type org.apace.openjpa.util.StringId. Key: OPENJPA-238 URL:

[jira] Updated: (OPENJPA-238) Error in XMLFileHandler, failed to load field element with type org.apace.openjpa.util.StringId.

2007-05-11 Thread Catalina Wei (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Catalina Wei updated OPENJPA-238: - Attachment: XMLFileHandler.patch The attached patch has been sent to Anh Ngo, and it resolved

Re: xml store help?

2007-05-11 Thread catalina wei
Anh, I have created issue OPENJPA-238 for keeping track of this problem. The patch that I sent to you is also attached under OPENJPA-238. Catalina On 5/8/07, Ngo, Anh (ISS Southfield) [EMAIL PROTECTED] wrote: Hello, I am evaluating openJPA to use for our current project. It works fine