RE: Generate DDL without DB connection

2007-05-30 Thread Phill Moran
It should not be dependent on the database. Have you tried leveraging Dali through eclipse? -Original Message- From: Jack Fong [mailto:[EMAIL PROTECTED] Sent: May 30, 2007 4:01 PM To: open-jpa-dev@incubator.apache.org Subject: Generate DDL without DB connection Hello, Have anyone

RE: [VOTE] move current release to 1.0.0-SNAPSHOT

2007-05-23 Thread Phill Moran
+1 There are Jira entries and there always will be. I think we are ready -Original Message- From: Marc Prud'hommeaux [mailto:[EMAIL PROTECTED] On Behalf Of Marc Prud'hommeaux Sent: May 23, 2007 3:30 PM To: open-jpa-dev@incubator.apache.org Subject: [VOTE] move current release to

Implied deletes

2007-05-22 Thread Phill Moran
Does OPEN-JPA support implied deletes? Let me tell you of the scenario; if you have the proverbial magazine class that contains references to several article classes (1-* relationship, cascade-all) if you should remove one of the articles from the contained list and merge the resultant magazine

RE: Will reversemappingTask() generate EJB3 annotations?

2007-05-16 Thread Phill Moran
I am not sure that it will annotate your exiting code but (I think) it will make an external mapping file for you or generate the annotated classes from the ground up. Check out the MappingTool class/docs -Original Message- From: linda rae [mailto:[EMAIL PROTECTED] Sent: May 16, 2007

RE: [VOTE] Packaging with maven

2007-05-06 Thread Phill Moran
+1 good idea -Original Message- From: Marc Prud'hommeaux [mailto:[EMAIL PROTECTED] On Behalf Of Marc Prud'hommeaux Sent: May 6, 2007 5:27 PM To: open-jpa-dev@incubator.apache.org Subject: [VOTE] Packaging with maven Poking around the ActiveMQ pom.xml files, I notice that you can have a

RE: [VOTE] Graduate from Incubation

2007-05-04 Thread Phill Moran
Would we then not have to change the overall name from JPA to openPersistence or some such? Why not let another project lift out the engine and adapt JDO/SDO/ETC and maybe we remerge the projects later. Maybe this idea works if we can fully separate the API from the persistence engine as it does

RE: [VOTE] Graduate from Incubation

2007-05-04 Thread Phill Moran
together. That is all this little piece of the community has to say. Phill -Original Message- From: Dain Sundstrom [mailto:[EMAIL PROTECTED] Sent: May 4, 2007 2:50 PM To: open-jpa-dev@incubator.apache.org Subject: Re: [VOTE] Graduate from Incubation On May 4, 2007, at 10:50 AM, Phill Moran

RE: [VOTE] Graduate from Incubation

2007-05-04 Thread Phill Moran
', which publishes a distribution that looks much like the current incubating releases. Then, new API bindings could be started as sub-projects within that TLP, rather than actually creating separate projects. -Patrick On 5/4/07, Phill Moran [EMAIL PROTECTED] wrote: Without getting any nastier let me

RE: [VOTE] Graduate from Incubation

2007-05-04 Thread Phill Moran
, at 12:16 PM, Phill Moran wrote: Without getting any nastier let me explain. I don't see any evidence of nasty. I see a discontinuity in calling the project OpenJPA if in reality the project implements JDO and so forth. The project is clearly focused now on building a solid implementation

RE: [VOTE] Graduate from Incubation

2007-05-04 Thread Phill Moran
. -Patrick On 5/4/07, Phill Moran [EMAIL PROTECTED] wrote: Without getting any nastier let me explain. I see a discontinuity in calling the project OpenJPA if in reality the project implements JDO and so forth. If we can separate the engine from the API and make the API pluggable

RE: [VOTE] Graduate from Incubation

2007-05-03 Thread Phill Moran
+1 -Original Message- From: Craig L Russell [mailto:[EMAIL PROTECTED] Sent: May 3, 2007 10:22 AM To: open-jpa-dev@incubator.apache.org Subject: [VOTE] Graduate from Incubation This vote is to send the attached draft board resolution to the incubator for the purpose of graduation from

RE: [jira] Commented: (OPENJPA-233) Top level POM declares a compile-time dependency on JUnit

2007-05-02 Thread Phill Moran
Why not move on up to the 4.1 junit suite as well while we are at it. Backwards compatible and more robust? -Original Message- From: Craig Russell (JIRA) [mailto:[EMAIL PROTECTED] Sent: May 2, 2007 10:56 AM To: open-jpa-dev@incubator.apache.org Subject: [jira] Commented: (OPENJPA-233)

RE: NoClassDefFoundError: serp.util.Strings

2007-05-01 Thread Phill Moran
I believe you need all the jars in the lib directory. If you are using Maven it gets downloaded automatically -Original Message- From: Majeed Arni [mailto:[EMAIL PROTECTED] Sent: May 1, 2007 11:09 PM To: open-jpa-dev@incubator.apache.org Subject: NoClassDefFoundError: serp.util.Strings

RE: How to debug object retrieveal in JPA?

2007-04-30 Thread Phill Moran
Anyone have any more suggestions on how to debug this? -Original Message- From: Phill Moran [mailto:[EMAIL PROTECTED] Sent: April 26, 2007 11:20 PM To: open-jpa-dev@incubator.apache.org Subject: RE: How to debug object retrieveal in JPA? I don't close it in anyway directly

RE: How to debug object retrieveal in JPA?

2007-04-30 Thread Phill Moran
privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. -Original Message- From: Phill Moran [mailto

RE: How to debug object retrieveal in JPA?

2007-04-30 Thread Phill Moran
and then delete it. -Original Message- From: Phill Moran [mailto:[EMAIL PROTECTED] Sent: Monday, April 30, 2007 10:37 AM To: open-jpa-dev@incubator.apache.org Subject: RE: How to debug object retrieveal in JPA? I upgraded and result stayed the same. Also this is in a spring transaction

RE: How to debug object retrieveal in JPA?

2007-04-30 Thread Phill Moran
are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. -Original Message- From: Phill Moran [mailto:[EMAIL PROTECTED] Sent: Monday, April 30, 2007 10:55 AM To: open-jpa-dev@incubator.apache.org Subject: RE

RE: How to debug object retrieveal in JPA?

2007-04-30 Thread Phill Moran
- From: Phill Moran [mailto:[EMAIL PROTECTED] Sent: Monday, April 30, 2007 11:13 AM To: open-jpa-dev@incubator.apache.org Subject: RE: How to debug object retrieveal in JPA? Sure here it is and the sql it generates. BTW the SQL works as I can execute it in MySQL query browser and get

RE: How to debug object retrieveal in JPA?

2007-04-30 Thread Phill Moran
This looks to be the problem (thanks Abe) It has caused another exception to come up but let me look into it and see the cause. You were right though I was issuing a .clear() on a null pointer in the set method. -Original Message- From: Patrick Linskey [mailto:[EMAIL PROTECTED] Sent:

RE: How to debug object retrieveal in JPA?

2007-04-30 Thread Phill Moran
Actually I am doing the clear, once I got rid of it the exception disappeared. SO IMHO no bug Phill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig Russell Sent: April 30, 2007 5:08 PM To: open-jpa-dev@incubator.apache.org Subject: Re: How to

RE: provide an actual JDBC connection?

2007-04-26 Thread Phill Moran
Have you tried to use Spring? I think you may be able to get that with dependency injection. Not positive but thought I would throw in that suggestion -Original Message- From: tbee [mailto:[EMAIL PROTECTED] Sent: April 26, 2007 5:10 AM To: open-jpa-dev@incubator.apache.org Subject:

How to debug object retrieveal in JPA?

2007-04-26 Thread Phill Moran
Community, How does one go about debugging object retrieval/creation. I continue to have exceptions and little to go on as far as the cause. The named JPQL is good since I know it generates a good sql (can trace code and see it) . I know the sql is good as I can copy/paste it into mysql query

RE: How to debug object retrieveal in JPA?

2007-04-26 Thread Phill Moran
exception stack trace? We might be able to help identify the problem. In any case OpenJPA should never be throwing an NPE, so we should at least probably fix the error message. On Apr 26, 2007, at 12:39 PM, Phill Moran wrote: Community, How does one go about debugging object retrieval/creation

RE: How to debug object retrieveal in JPA?

2007-04-26 Thread Phill Moran
-Original Message- From: Phill Moran [mailto:[EMAIL PROTECTED] Sent: April 26, 2007 4:18 PM To: open-jpa-dev@incubator.apache.org Subject: RE: How to debug object retrieveal in JPA? I did not mean it threw an NPE but I was left with a null result list. I have setup trace already and I

RE: How to debug object retrieveal in JPA?

2007-04-26 Thread Phill Moran
in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. -Original Message- From: Phill Moran [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 1:18 PM To: open-jpa-dev@incubator.apache.org

RE: How to debug object retrieveal in JPA?

2007-04-26 Thread Phill Moran
, please immediately return this by email and then delete it. -Original Message- From: Phill Moran [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 1:44 PM To: open-jpa-dev@incubator.apache.org Subject: RE: How to debug object retrieveal in JPA? Some more information

RE: How to debug object retrieveal in JPA?

2007-04-26 Thread Phill Moran
of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. -Original Message- From: Phill Moran [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 2

RE: How to debug object retrieveal in JPA?

2007-04-26 Thread Phill Moran
, and have received this message in error, please immediately return this by email and then delete it. -Original Message- From: Phill Moran [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 6:32 PM To: open-jpa-dev@incubator.apache.org Subject: RE: How to debug object retrieveal

RE: How to debug object retrieveal in JPA?

2007-04-26 Thread Phill Moran
? Just a thought... -marina Phill Moran wrote: I had suspected the Locale so I made a set/getLocale that communicate in String. I figured that openJPA does not actually care how I implement. But for this run I removed it completely and did a clean rebuild. Good news and bad the exception

RE: Funky Query from entityManager.find(Class,id)

2007-04-24 Thread Phill Moran
are using an outer join. On Apr 23, 2007, at 11:20 PM, Phill Moran wrote: I posted this question before but I am now seeing it in several places and can produce a test case for it. Here are two related classes (one-to- many) attribute and attributeType, each with table/class inheritance

[jira] Created: (OPENJPA-227) Schema attribute for @Table() causes MappingToll validate to throw an exception

2007-04-24 Thread Phill Moran (JIRA)
Issue Type: Bug Affects Versions: 0.9.6 Environment: Windows XP SP2 all current patches applied. Run through eclipse external tools Database MySQL ver 5.0.24a. MySQL JDBC Drive 5.04 JDK 1.6.0_01 Reporter: Phill Moran This exception occurs by adding the schema

RE: Artifact names

2007-04-24 Thread Phill Moran
I don't think you want the tarball in maven. Personally I would not look for it there or go searching my local repo to open and get examples, docs etc. Can we keep the tarball on OpenJPA and the minimal compile an execution jar on Maven. Keep in mind that this jar is replicated on maven, corp repo

Validate and @table schema use

2007-04-23 Thread Phill Moran
I have been working with the validate tool and was getting an exception on classes that used @table(name=XXX, schema=YYY). If I took out the schema portion the exception went away. I see no mention of not using schema in @table for validate use. Is this a bug or undocumented feature The mapping

RE: Validate and @table schema use

2007-04-23 Thread Phill Moran
what the exception was :) On Apr 23, 2007, at 7:02 AM, Phill Moran wrote: I have been working with the validate tool and was getting an exception on classes that used @table(name=XXX, schema=YYY). If I took out the schema portion the exception went away. I see no mention of not using

Cascade question (ver 0.96)

2007-04-23 Thread Phill Moran
Here is a scenario that shows odd behaviour, I want to see if it is expected or not. The docs are not clear on it If I have a many to one relationship for objects Store to Store Type and I create a new Store and assign it to an existing Store type does this relationship have to have

RE: Help requested around rollback semantics

2007-04-20 Thread Phill Moran
Have you checked with Spring/JUnit they support rollback during tests -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Van Couvering Sent: April 20, 2007 1:46 PM To: open-jpa-dev@incubator.apache.org Subject: Re: Help requested around rollback

RE: Named query created in error

2007-04-19 Thread Phill Moran
in error On 4/19/07, Phill Moran [EMAIL PROTECTED] wrote: Here it is: [2007-04-18 18:37:07,937] INFO ca.BidSpec.testing.emall.UserFactoryTest Began transaction (1): transaction manager [EMAIL PROTECTED]; default rollback = true 25547 WARN [main] openjpa.MetaData - Found duplicate query

RE: Named query created in error

2007-04-19 Thread Phill Moran
this support Phill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jacek Laskowski Sent: April 19, 2007 10:15 AM To: open-jpa-dev@incubator.apache.org Subject: Re: Named query created in error On 4/19/07, Phill Moran [EMAIL PROTECTED] wrote: I am using MySQL

RE: Named query created in error

2007-04-19 Thread Phill Moran
Will do and thanks again -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jacek Laskowski Sent: April 19, 2007 10:57 AM To: open-jpa-dev@incubator.apache.org Subject: Re: Named query created in error On 4/19/07, Phill Moran [EMAIL PROTECTED] wrote

RE: Duplicate query

2007-04-19 Thread Phill Moran
Interesting on the JTA stuff a lot of overhead if you are not planning dist trans? As an aside what is the Spring env considered? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jacek Laskowski Sent: April 19, 2007 3:35 PM To:

RE: Help requested around rollback semantics

2007-04-19 Thread Phill Moran
I thought that under any circumstance (except primary key messed up) that a refresh would reload current database object image? If this is not the case how does refresh work under any circumstances? Does it validate that the detached object is in a valid state as a gate to refresh? -Original

RE: Named query created in error

2007-04-18 Thread Phill Moran
) ... 69 more -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jacek Laskowski Sent: April 18, 2007 5:34 PM To: open-jpa-dev@incubator.apache.org Subject: Re: Named query created in error On 4/18/07, Phill Moran [EMAIL PROTECTED] wrote

RE: Duplicate query

2007-04-17 Thread Phill Moran
This is good information. I am good with ignoring it too as long as it does not effect OpenJPA or any other functionality Phill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jacek Laskowski Sent: April 17, 2007 6:16 PM To:

RE: [VOTE] publish openjpa 0.9.7-incubating release

2007-04-16 Thread Phill Moran
+1 -Original Message- From: Michael Dick [mailto:[EMAIL PROTECTED] Sent: April 16, 2007 12:10 PM To: open-jpa-dev@incubator.apache.org Subject: [VOTE] publish openjpa 0.9.7-incubating release OpenJPA People- In accordance with the Incubating Releases guidelines at

RE: Unit testing

2007-04-10 Thread Phill Moran
immediately return this by email and then delete it. -Original Message- From: Phill Moran [mailto:[EMAIL PROTECTED] Sent: Monday, April 09, 2007 10:02 AM To: open-jpa-dev@incubator.apache.org Subject: RE: Unit testing +1 It should be part of the commit acceptance process

RE: Unit testing

2007-04-10 Thread Phill Moran
cases is evil. In my experience, reminders long after the issue is resolved don't really work that well. Craig On Apr 10, 2007, at 7:57 AM, Phill Moran wrote: Via test coverage reports would we not know what parts do not have corresponding tests and through commit history we would know who

RE: PCEnhance

2007-04-10 Thread Phill Moran
Subject: Re: PCEnhance On 4/10/07, Phill Moran [EMAIL PROTECTED] wrote: Through maven and eclipse. I have log level trace set in persistence.xml but that has no impact. Maven is reporting that PCEnhance is returning non-zero and no reason why. So trace is set on either CLI or maven (same thing

Compiling (build all) in eclipse

2007-04-09 Thread Phill Moran
Troubles continue Any suggestions for this problem in eclipse??? org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personFactory' defined in file [C:\BidSpec\emall\development\emall\target\classes\applicationContext.xml]: Initialization of bean failed;

RE: Compiling (build all) in eclipse

2007-04-09 Thread Phill Moran
and then delete it. -Original Message- From: Phill Moran [mailto:[EMAIL PROTECTED] Sent: Monday, April 09, 2007 9:50 AM To: open-jpa-dev@incubator.apache.org Subject: Compiling (build all) in eclipse Troubles continue Any suggestions for this problem in eclipse

RE: Mapping tool in eclipse

2007-04-08 Thread Phill Moran
in the environments classpath. On Apr 8, 2007, at 7:55 PM, Phill Moran wrote: Has anyone installed the mapping tool in the external eclipse tools? I am getting an error and little info or ways to debug. I am trying to set it up so that it would validate the current file. I would be happy

RE: Duplicate Query - where none exists

2007-04-05 Thread Phill Moran
, at 8:34 PM, Phill Moran wrote: I think you may be on to something and have been looking into it. It is mapped and I thought worked but I am learning that I have a pretty messed up config (I had both Toplink and OpenJPA, I am accessing fields directly not through getters and am not positive

RE: Duplicate Query - where none exists

2007-04-04 Thread Phill Moran
or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. -Original Message- From: Phill Moran [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 03, 2007 10:07 PM

RE: Duplicate Query - where none exists

2007-04-04 Thread Phill Moran
that define queries with the same name you get a warning. It would be nice if the warning told you where the duplicate declarations are located. -dain On Apr 3, 2007, at 10:07 PM, Phill Moran wrote: Anyone seen this before WARN [main] openjpa.MetaData - Found duplicate query StoreFXPK in class

RE: Duplicate Query - where none exists

2007-04-04 Thread Phill Moran
cannot join on column category.categoryTypeFK. It is not managed by a mapping that supports joins. It could be that this error is indirectly causing the next one. Have you looked into this? How is categoryTypeFK mapped? On Apr 4, 2007, at 8:03 PM, Phill Moran wrote: I did a workspace

Forced getter/setter access

2007-04-03 Thread Phill Moran
Can anyone explain why this rule is in effect: When using property access, only the getter and setter method for a property should ever access the underlying persistent field directly. Other methods, including internal business methods in the persistent class, should go through the getter and

Duplicate Query - where none exists

2007-04-03 Thread Phill Moran
Anyone seen this before WARN [main] openjpa.MetaData - Found duplicate query StoreFXPK in class .. Ignoring. This class has only three such named queries all different names and different actual queries. See following @NamedQueries( { @NamedQuery(name = StoreFXPK, query =

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

RE: OPEN-JPA and Toplink 2.0.XX

2007-03-27 Thread Phill Moran
found this information on the maven forums. Maybe in the FAQs just throw the entity and transaction manager setup as examples. I can supply them but cannot post Phill -Original Message- From: Phill Moran [mailto:[EMAIL PROTECTED] Sent: March 26, 2007 6:49 PM To: open-jpa-dev

RE: OPEN-JPA and Toplink 2.0.XX

2007-03-26 Thread Phill Moran
return this by email and then delete it. -Original Message- From: Phill Moran [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 2:25 PM To: 'Phill Moran'; open-jpa-dev@incubator.apache.org Subject: RE: OPEN-JPA and Toplink 2.0.XX Odd response to the removal of the toplink jar

OPEN-JPA and Toplink 2.0.XX

2007-03-25 Thread Phill Moran
I have been struggling with an exception when running my JUnit 4.2 tests. It complains about not supporting table per class inheritance not supported when running under Maven. I was not getting the same error when I ran all the same code and and tests under eclipse. The only difference was I was

RE: OPEN-JPA and Toplink 2.0.XX

2007-03-25 Thread Phill Moran
and Toplink 2.0.XX On Mar 25, 2007, at 3:24 PM, Phill Moran wrote: This is interesting thanks for the information. Firstly I thought that one needed both toplink and JPA to make use of JPA in an application. I think I found this on the Glassfish site, can't remember now. This is why I