error building openjpa

2007-03-28 Thread Xibin Zeng
Hi - I just downloaded the source through svn and failed at building openjpa. It failed at a NoClassDefFoundError for SurefireBooter. What did I miss? This is the output: $ mvn package -Dtest=false [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] OpenJPA [INFO] OpenJPA

[jira] Created: (OPENJPA-186) Build failure of OpenJPA sources from trunk

2007-03-28 Thread Jacek Laskowski (JIRA)
Build failure of OpenJPA sources from trunk --- Key: OPENJPA-186 URL: https://issues.apache.org/jira/browse/OPENJPA-186 Project: OpenJPA Issue Type: Bug Components: build / infrastructure

[jira] Created: (OPENJPA-187) MEMBER OF query fails on OpenJPA, but works fine with TopLink and Hibernate EM

2007-03-28 Thread Jacek Laskowski (JIRA)
MEMBER OF query fails on OpenJPA, but works fine with TopLink and Hibernate EM -- Key: OPENJPA-187 URL: https://issues.apache.org/jira/browse/OPENJPA-187 Project: OpenJPA

[jira] Created: (OPENJPA-188) Positional parameters (in)order within query and query.setParameter (in)order

2007-03-28 Thread Jacek Laskowski (JIRA)
Positional parameters (in)order within query and query.setParameter (in)order - Key: OPENJPA-188 URL: https://issues.apache.org/jira/browse/OPENJPA-188 Project: OpenJPA

[jira] Created: (OPENJPA-189) EXISTS conditional operator and subquery don't return values, but they do exist

2007-03-28 Thread Jacek Laskowski (JIRA)
EXISTS conditional operator and subquery don't return values, but they do exist --- Key: OPENJPA-189 URL: https://issues.apache.org/jira/browse/OPENJPA-189 Project: OpenJPA

Re: error building openjpa

2007-03-28 Thread Marc Prud'hommeaux
That's a pretty weird error ... it looks more like Maven isn't installed correctly. Are you able to build any other projects using maven? If you re-install maven and delete (or move aside) your ~/.m2/ directory, do you still get the error? On Mar 28, 2007, at 12:24 AM, Xibin Zeng

[jira] Commented: (OPENJPA-189) EXISTS conditional operator and subquery don't return values, but they do exist

2007-03-28 Thread Marc Prud'hommeaux (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484775 ] Marc Prud'hommeaux commented on OPENJPA-189: If you just execute the subquery by itself, does it return

[jira] Resolved: (OPENJPA-186) Build failure of OpenJPA sources from trunk

2007-03-28 Thread Marc Prud'hommeaux (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marc Prud'hommeaux resolved OPENJPA-186. Resolution: Invalid This is almost certainly a general maven setup problem. Try

[jira] Commented: (OPENJPA-186) Build failure of OpenJPA sources from trunk

2007-03-28 Thread Jacek Laskowski (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484823 ] Jacek Laskowski commented on OPENJPA-186: - What?! Please appologize my lack of understanding, but comments

[jira] Updated: (OPENJPA-186) Build failure of OpenJPA sources from trunk

2007-03-28 Thread Jacek Laskowski (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacek Laskowski updated OPENJPA-186: Attachment: OPENJPA-186.buildfailure.txt Build failure of OpenJPA sources from trunk

Re: MappingTool help

2007-03-28 Thread Abe White
I am trying to use MappingTool with a JDO file named package.jdo to generate the package-mysql.orm and create the tables in my database, the orm file is created succesfully with one exception, the table name is not what i expected with subsequent call to the MappingTool. The mapping

[jira] Updated: (OPENJPA-184) use DB2 Diagnostic interface to report extended error diagnostics on SQL Exception

2007-03-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-184: This message will be appended to the persistence exception error message already created

RE: MappingTool help

2007-03-28 Thread Waldo Mendoza
thx again for your usefull responses. And it seems that we are lossing focus, or trying to miss use the MappingTool, but we are thinking about it now. Bye

[jira] Commented: (OPENJPA-186) Build failure of OpenJPA sources from trunk

2007-03-28 Thread Marc Prud'hommeaux (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484917 ] Marc Prud'hommeaux commented on OPENJPA-186: I haven't had any problems with surefire 2.3, but I don't

[jira] Resolved: (OPENJPA-186) Build failure of OpenJPA sources from trunk

2007-03-28 Thread Marc Prud'hommeaux (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marc Prud'hommeaux resolved OPENJPA-186. Resolution: Fixed Fix Version/s: 0.9.7 Assignee: Marc

Re: error building openjpa

2007-03-28 Thread Xibin Zeng
Hi - I updated again and the build was successful this time. I saw the following commit: *svn commit: r523398 - /incubator/openjpa/trunk/pom.xml and that probably did the fix.* Thanks! The following was the relavant output: Downloading:

[jira] Created: (OPENJPA-190) org.apache.openjpa.persistence.ArgumentException when using query SELECT Teacher t, IN(t.courses) c WHERE c = ?

2007-03-28 Thread Maxim Butov (JIRA)
org.apache.openjpa.persistence.ArgumentException when using query SELECT Teacher t, IN(t.courses) c WHERE c = ? - Key: OPENJPA-190 URL:

RE: composite ID based on one side of a bidirectional one-many relationship

2007-03-28 Thread jeff
yes, i see the problem w/ the attached classes, and with a completely different model where i am trying to accomplish the same thing. should i file a bug? i can attach the test case there. Patrick Linskey [EMAIL PROTECTED] wrote: Are you still seeing that same problem with the code that you

[jira] Updated: (OPENJPA-190) org.apache.openjpa.persistence.ArgumentException when using query SELECT Teacher t, IN(t.courses) c WHERE c = ?

2007-03-28 Thread Maxim Butov (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maxim Butov updated OPENJPA-190: Environment: JDK 1.5.0_09, Spring 2.0.3, OpenJPA 0.9.6, JpaCriteria 0.6b (was: JDK 1.5.0_09,

RE: composite ID based on one side of a bidirectional one-many relationship

2007-03-28 Thread Patrick Linskey
Yes, please do. It looks like your code should work. -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its

[jira] Reopened: (OPENJPA-186) Build failure of OpenJPA sources from trunk

2007-03-28 Thread Jacek Laskowski (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacek Laskowski reopened OPENJPA-186: - Alas, the build went further, but still fails. See the attached output of 'mvn clean

[jira] Updated: (OPENJPA-186) Build failure of OpenJPA sources from trunk

2007-03-28 Thread Jacek Laskowski (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacek Laskowski updated OPENJPA-186: Attachment: OPENJPA-186-builderror-2.txt Build failure of OpenJPA sources from trunk

[jira] Updated: (OPENJPA-190) org.apache.openjpa.persistence.ArgumentException when using query SELECT t FROM Teacher t, IN(t.courses) c WHERE c = ?1

2007-03-28 Thread Jacek Laskowski (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacek Laskowski updated OPENJPA-190: Summary: org.apache.openjpa.persistence.ArgumentException when using query SELECT t FROM

WARNING: Connection not closed by caller - messages produced by OpenJPA?

2007-03-28 Thread Hans J. Prueller
Hi together, I succeeded in integrating OpenJPA into our J2EE1.4 container, running side-by-side within the same JTA transactions as container managed EJB2.1 CMP entity beans. The lookup/creation of the EntityManager instances is synchronizing with the JTA TXs as you suggested some weeks ago on

RE: WARNING: Connection not closed by caller - messages produced byOpenJPA?

2007-03-28 Thread Patrick Linskey
Can you post your OpenJPA properties? -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and

[jira] Commented: (OPENJPA-186) Build failure of OpenJPA sources from trunk

2007-03-28 Thread Jacek Laskowski (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484972 ] Jacek Laskowski commented on OPENJPA-186: - It's something pertaining to the way Ant is executed from within

RE: WARNING: Connection not closed by caller - messages producedbyOpenJPA?

2007-03-28 Thread Patrick Linskey
What happens if you set 'openjpa.TransactionMode' to 'managed' as well? Also, are you closing your EMs at the end of the transaction? -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together

RE: WARNING: Connection not closed by caller - messages producedbyOpenJPA?

2007-03-28 Thread Hans J. Prueller
Am Mittwoch, den 28.03.2007, 12:43 -0700 schrieb Patrick Linskey: What happens if you set 'openjpa.TransactionMode' to 'managed' as well? I will give it a try. Can you explicitly confirm that it shouldn't be a multithreading problem where there are serveral entitymanagers created in different

[jira] Created: (OPENJPA-191) cannot define composite ID that incorproates @ManyToOne field

2007-03-28 Thread Jeffrey Blatttman (JIRA)
cannot define composite ID that incorproates @ManyToOne field - Key: OPENJPA-191 URL: https://issues.apache.org/jira/browse/OPENJPA-191 Project: OpenJPA Issue Type: Bug Affects

[jira] Updated: (OPENJPA-191) cannot define composite ID that incorproates @ManyToOne field

2007-03-28 Thread Jeffrey Blatttman (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeffrey Blatttman updated OPENJPA-191: -- Attachment: book.zip cannot define composite ID that incorproates @ManyToOne field

[jira] Commented: (OPENJPA-191) cannot define composite ID that incorproates @ManyToOne field

2007-03-28 Thread Jeffrey Blatttman (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484980 ] Jeffrey Blatttman commented on OPENJPA-191: --- note, per patrick linkskey, vanilla JPA does not require

OpenJPA eclipse testing stack trace question

2007-03-28 Thread Phill Moran
I have seen something similar posted to this group back in December but when I followed the same solution (setting fetch depth) - it little effect. Also read the docs - no help. When I used toplink on a similar config it worked fine. Any thoughts? Here is my spring context: ?xml version=1.0

[jira] Closed: (OPENJPA-191) cannot define composite ID that incorproates @ManyToOne field

2007-03-28 Thread Abe White (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abe White closed OPENJPA-191. - Resolution: Invalid The given test case is invalid. Per the docs, the book field in the PageId class

RE: WARNING: Connection not closed by caller - messagesproducedbyOpenJPA?

2007-03-28 Thread Patrick Linskey
I will give it a try. Can you explicitly confirm that it shouldn't be a multithreading problem where there are serveral entitymanagers created in different JTA transactions running in parallel? e.g. Assuming that the different JTA transactions are on different threads, and that you do not

RE: error building openjpa

2007-03-28 Thread Pinaki Poddar
Some of the attendees in a traininng course also experienced the same error involving SurefireBooter. The solution was to run mvn package -Dtest=false target few (3, in this case) times. Pinaki Poddar BEA Systems 415.402.7317 -Original Message- From: Marc Prud'hommeaux [mailto:[EMAIL

RE: error building openjpa

2007-03-28 Thread Patrick Linskey
What did that solution accomplish? It sounds like the .m2 repository was out-of-date or something. -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with any attachments, may contain

RE: error building openjpa

2007-03-28 Thread Pinaki Poddar
After the third execution of mvn package -Dtest=false the target succeeded in creating the openjpa jars and zips. The attendee mentioned that he had run svn update before building. Pinaki Poddar BEA Systems 415.402.7317 -Original Message- From: Patrick Linskey [mailto:[EMAIL

RE: composite ID based on one side of a bidirectional one-many relationship

2007-03-28 Thread jeff
hi, abe closed this with the reasoning ... the book field in the PageId class must be of type String to match the primary key field type of Book was i mistaken when i understood you to say that Page could have a PK field of type Book? if not, very sorry for all the confusion. or were you

Re: composite ID based on one side of a bidirectional one-many relationship

2007-03-28 Thread Abe White
the book field in the PageId class must be of type String to match the primary key field type of Book was i mistaken when i understood you to say that Page could have a PK field of type Book? No, you weren't mistaken. But as I said, the book field in the Page*Id* class must match the

RE: composite ID based on one side of a bidirectional one-many relationship

2007-03-28 Thread Pinaki Poddar
Page can have a primary key field type of Book. @IdClass(com.mycompany.book.PageId.class) @Entity public class Page { @Id int number; @Id @ManyToOne private Book book; } public class PageId { int number; String book; // the type String must match the type of primary key used in

Re: error building openjpa

2007-03-28 Thread Xibin Zeng
I ran with -Dtest=false a few times last night, and it didn't look it was going to fix the problem. Just my observation. Thanks - Xibin On 3/28/07, Pinaki Poddar [EMAIL PROTECTED] wrote: After the third execution of mvn package -Dtest=false the target succeeded in creating the openjpa jars

[jira] Updated: (OPENJPA-182) db2 update lock syntax WITH isolation USE AND KEEP UPDATE LOCKS

2007-03-28 Thread Ritika Maheshwari (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ritika Maheshwari updated OPENJPA-182: -- Attachment: openJPA182.patch here is a patch for this feature db2 update lock

[jira] Commented: (OPENJPA-186) Build failure of OpenJPA sources from trunk

2007-03-28 Thread Jacek Laskowski (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485012 ] Jacek Laskowski commented on OPENJPA-186: - mvn package -Dtest=false did the trick. mvn clean package works

0.9.7: build changes

2007-03-28 Thread Patrick Linskey
One thing that I would like to see happen prior to 0.9.7 is a change to the build artifacts so that we don't have '-project' or '-all' tacked onto the releases everywhere. Also, we might want to think about other bundlings, such as creating a single jar with all dependencies, or a download that

edits to wiki

2007-03-28 Thread Patrick Linskey
I removed the content in the top navigation bar, and added the download link to the 'Community' sidebar section. However, the pages didn't automatically rebuild; I had to make a trivial change to the index page to make the changes visible. Does anyone know how to tell Confluence to purge its

Re: error building openjpa

2007-03-28 Thread Craig L Russell
By the way, I've seen failure to download dependencies causing build failures that are resolved by running mvn multiple times. Each time more of the dependencies get loaded but failures occur on subsequent download attempts. Maybe there should be a flag (default to true) that retries

[jira] Created: (OPENJPA-192) WASManagedRuntime's tm is used despite exception initializing WASManagedRuntime.

2007-03-28 Thread Michael Dick (JIRA)
WASManagedRuntime's tm is used despite exception initializing WASManagedRuntime. - Key: OPENJPA-192 URL: https://issues.apache.org/jira/browse/OPENJPA-192 Project:

[jira] Updated: (OPENJPA-192) WASManagedRuntime's tm is used despite exception initializing WASManagedRuntime.

2007-03-28 Thread Michael Dick (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dick updated OPENJPA-192: - Attachment: OpenJPA-192.patch.txt Attaching a rudimentary patch. The patch tries to find an

RE: WARNING: Connection not closed by caller - messagesproducedbyOpenJPA?

2007-03-28 Thread Hans J. Prueller
Am Mittwoch, den 28.03.2007, 13:30 -0700 schrieb Patrick Linskey: Are you ever sharing EMs across multiple sequential JTA transactions? As far as I can say: definitely NO. But the EMF used to create the EM's is held as a static member of a Helper Class. I.e. 2 different threads accessing the

RE: WARNING: Connection not closed by caller - messagesproducedbyOpenJPA?

2007-03-28 Thread Hans J. Prueller
If you want to access a single EM from multiple threads, you should set the openjpa.Multithreaded property accordingly As I mentioned, there is a static EMF in a helper class used to obtain the EM's called from different threads. does above property also resolve multithreaded access to the EMF?

Re: error building openjpa

2007-03-28 Thread Marc Prud'hommeaux
Are we paid to debug maven or to create value? You get paid for this? :) On Mar 28, 2007, at 9:12 PM, Craig L Russell wrote: By the way, I've seen failure to download dependencies causing build failures that are resolved by running mvn multiple times. Each time more of the

Re: edits to wiki

2007-03-28 Thread Marc Prud'hommeaux
I've noticed that as well ... making a change to an included page doesn't seem to trigger a re-export of all the static html pages that include the changed page. If you are a Confluence administrator (a privilege that was kindly bestowed on me by David Blevins), you can manually