Re: Is setQueryCache() broken, and how to fix?

2009-03-02 Thread Michael Dick
Hi Joe, I'd say this is a bug. OpenJPAQuery q = OpenJPAPersistence.cast(em.createQuery("Select p from Person p"); q.setQueryCacheEnabled(false); // should behave identically to disabling the query cache in the config. I'm not terribly familiar with that part of the code, but if you're intereste

[jira] Updated: (OPENJPA-922) setByteArrayInputStream being used in stead of setBytes

2009-03-02 Thread Michael Dick (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dick updated OPENJPA-922: - Fix Version/s: (was: 1.2.0) 1.3.0 1.2.2 > setByteArray

[jira] Updated: (OPENJPA-896) Several source files include Windows EoL chars

2009-03-02 Thread Michael Dick (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dick updated OPENJPA-896: - Fix Version/s: (was: 1.2.1) > Several source files include Windows EoL chars > -

[jira] Resolved: (OPENJPA-772) Proper maven pluginManagement and use ianal-maven-plugin for enforcing legal files

2009-03-02 Thread Michael Dick (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dick resolved OPENJPA-772. -- Resolution: Fixed > Proper maven pluginManagement and use ianal-maven-plugin for enforcing leg

[jira] Closed: (OPENJPA-676) Connection used for NativeSequences is not closed

2009-03-02 Thread Michael Dick (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dick closed OPENJPA-676. Resolution: Fixed > Connection used for NativeSequences is not closed > --

[jira] Updated: (OPENJPA-932) Runtime enhancer doesn't work propery if there is a trailing persistence.xml file on the classpath.

2009-03-02 Thread Rick Curtis (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rick Curtis updated OPENJPA-932: Attachment: OPENJPA-932.patch The bug is that we parse all URLs matching the provided resource nam

[jira] Commented: (OPENJPA-949) Allow override of Surefire test excludes from cmdline

2009-03-02 Thread Michael Dick (JIRA)
> Project: OpenJPA > Issue Type: Improvement > Components: build / infrastructure >Reporter: Donald Woods >Assignee: Donald Woods >Priority: Minor > Fix For: 2.0.0 > > Attachments: OPENJPA-949-trun

[jira] Updated: (OPENJPA-922) setByteArrayInputStream being used in stead of setBytes

2009-03-02 Thread B.J. Reed (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] B.J. Reed updated OPENJPA-922: -- Attachment: (was: OPENJPA-922.patch) > setByteArrayInputStream being used in stead of setBytes > -

[jira] Updated: (OPENJPA-922) setByteArrayInputStream being used in stead of setBytes

2009-03-02 Thread B.J. Reed (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] B.J. Reed updated OPENJPA-922: -- Attachment: OPENJPA-922-B.patch I have attached OPENJPA-922-B.patch as a second attempt to fix this pr

[jira] Commented: (OPENJPA-949) Allow override of Surefire test excludes from cmdline

2009-03-02 Thread David Jencks (JIRA)
Priority: Minor > Fix For: 2.0.0 > > Attachments: OPENJPA-949-trunk-20090302.patch > > > Allow users to provide their own Surefire excludes list through an external > file. > This can be accomplished by using the gmaven-plugin and some Groovy code. > The

[jira] Commented: (OPENJPA-949) Allow override of Surefire test excludes from cmdline

2009-03-02 Thread Pinaki Poddar (JIRA)
;Assignee: Donald Woods >Priority: Minor > Fix For: 2.0.0 > > Attachments: OPENJPA-949-trunk-20090302.patch > > > Allow users to provide their own Surefire excludes list through an external > file. > This can be accomplished by using the gmaven

[jira] Created: (OPENJPA-950) Add Eclipse svn patch creation guidelines to wiki

2009-03-02 Thread Donald Woods (JIRA)
Add Eclipse svn patch creation guidelines to wiki - Key: OPENJPA-950 URL: https://issues.apache.org/jira/browse/OPENJPA-950 Project: OpenJPA Issue Type: Sub-task Reporter: Donald Wo

[jira] Updated: (OPENJPA-949) Allow override of Surefire test excludes from cmdline

2009-03-02 Thread Donald Woods (JIRA)
A > Issue Type: Improvement > Components: build / infrastructure >Reporter: Donald Woods >Assignee: Donald Woods >Priority: Minor > Fix For: 2.0.0 > > Attachments: OPENJPA-949-trunk-20090302.patch >

[jira] Updated: (OPENJPA-949) Allow override of Surefire test exludes from cmdline

2009-03-02 Thread Donald Woods (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Donald Woods updated OPENJPA-949: - Attachment: OPENJPA-949-trunk-20090302.patch Uses the gmaven-plugin and groovy, like some of

[jira] Created: (OPENJPA-949) Allow override of Surefire test exludes from cmdline

2009-03-02 Thread Donald Woods (JIRA)
Allow override of Surefire test exludes from cmdline Key: OPENJPA-949 URL: https://issues.apache.org/jira/browse/OPENJPA-949 Project: OpenJPA Issue Type: Improvement Components:

[jira] Resolved: (OPENJPA-796) publish sources along with jar files

2009-03-02 Thread Michael Dick (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dick resolved OPENJPA-796. -- Resolution: Fixed We currently publish sources if the release profile is active, so any offici

[jira] Assigned: (OPENJPA-832) Add eclipse formatting preferences to website

2009-03-02 Thread Donald Woods (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Donald Woods reassigned OPENJPA-832: Assignee: Donald Woods > Add eclipse formatting preferences to website > -

[jira] Commented: (OPENJPA-927) Fix definition of javax.persistence.query.timeout property

2009-03-02 Thread Donald Woods (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12678071#action_12678071 ] Donald Woods commented on OPENJPA-927: -- Dianne, your patch is working for me. Can yo

[jira] Resolved: (OPENJPA-903) org.apache.openjpa.persistence.exception.TestException hangs when run using PostgreSQL 8.3 database

2009-03-02 Thread Albert Lee (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Albert Lee resolved OPENJPA-903. Resolution: Fixed Fix Version/s: 2.0.0 > org.apache.openjpa.persistence.exception.TestExcep

Re: Request for a OpenJPA 1.2.1 release

2009-03-02 Thread Michael Dick
Sure, I'll start on it later this afternoon / tonight. -mike On Mon, Mar 2, 2009 at 9:42 AM, Donald Woods wrote: > Everything is a go from the Geronimo side, as we got a clean TCK run > completed. Can we start a OpenJPA 1.2.1 release now? > > > Thanks, > -Donald > > > > Donald Woods wrote: > >

Re: Enhancer questions/problems

2009-03-02 Thread Michael Dick
Maybe I missed the JIRA you opened, but I ran into this problem again over the weekend. FWIW I hit the problem with Ubuntu 8.10, 64 bit with either the IBM SDK or Sun JDK. I didn't try openjdk. The problem for me had nothing to do with ant, that was a complete red herring. It turned out to be due

Is setQueryCache() broken, and how to fix?

2009-03-02 Thread Joseph Weinstein
Hi all, I am starting my climb to being able to fix OpenJPA bugs, and would like anyone's opinion on a case I want to fix or at least explain. My current problem involves a case where the application code wants no query cache, and causes setQueryCache(false) to be called, reaching class org.apac

Re: Eclipse Plugin for OpenJPA

2009-03-02 Thread Pinaki Poddar
Hi, I am still in the process of figuring out how to build this stuff without the help of Eclipse PDE. Will get the legal issues surely sorted out once we get the mechanics right. Donald Woods wrote: > > Can you check the source into the OpenJPA sandbox, so others can help > setup the bui

Re: Eclipse Plugin for OpenJPA

2009-03-02 Thread Donald Woods
Can you check the source into the OpenJPA sandbox, so others can help setup the builds/legal files before we import it into a real branch? https://svn.apache.org/repos/asf/openjpa/sandboxes -Donald Pinaki Poddar wrote: Hi, For Eclipse IDE users, a plugin is available to help development w

[jira] Work started: (OPENJPA-937) @AssociationOverride updates

2009-03-02 Thread Fay Wang (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on OPENJPA-937 started by Fay Wang. > @AssociationOverride updates > - > > Key: OPENJPA-937 > URL: http

[jira] Commented: (OPENJPA-866) DBDictionary.maxTableNameLength is not checked when using SynchronizeMappings

2009-03-02 Thread Alan Raison (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12678029#action_12678029 ] Alan Raison commented on OPENJPA-866: - I've just tried to run the test "org.apache.op

Re: Is it time to fix the svn:eol-style properties?

2009-03-02 Thread Donald Woods
Then can we please document on the OpenJPA wiki the correct settings for Eclipse users? I never use Eclipse for generating patches, so I'll need someone else to doc it... :-) I'll add the info for svn client users, which I always perform on my machines -Donald Michael Dick wrote: I'

[jira] Created: (OPENJPA-948) Ingres DBDictionary

2009-03-02 Thread Alan Raison (JIRA)
Ingres DBDictionary --- Key: OPENJPA-948 URL: https://issues.apache.org/jira/browse/OPENJPA-948 Project: OpenJPA Issue Type: New Feature Components: jdbc Affects Versions: 1.2.0, 1.1.0, 1.2.1, 2.0.0 Env

Re: Request for a OpenJPA 1.2.1 release

2009-03-02 Thread Donald Woods
Everything is a go from the Geronimo side, as we got a clean TCK run completed. Can we start a OpenJPA 1.2.1 release now? Thanks, -Donald Donald Woods wrote: Mike, it looks like all of our TCK failures related to JPA have been fixed and verified. Can you start the process of cutting a 1.2.

[jira] Resolved: (OPENJPA-247) new-delete-new-find doesn't work

2009-03-02 Thread B.J. Reed (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] B.J. Reed resolved OPENJPA-247. --- Resolution: Cannot Reproduce I have tried re-creating this problem on trunk (2.0) and 1.2, so it loo

Re: Congratulations to Milosz!

2009-03-02 Thread Albert Lee
Milosz, Welcome abroad! Albert Lee. On Mon, Mar 2, 2009 at 8:21 AM, Michael Dick wrote: > Congrats Milosz and welcome to the team! > > -mike > > On Mon, Mar 2, 2009 at 8:08 AM, Kevin Sutter wrote: > > > Milosz Tylenda was recently promoted to Committer status on the Apache > > OpenJPA project.

Re: Congratulations to Milosz!

2009-03-02 Thread Michael Dick
Congrats Milosz and welcome to the team! -mike On Mon, Mar 2, 2009 at 8:08 AM, Kevin Sutter wrote: > Milosz Tylenda was recently promoted to Committer status on the Apache > OpenJPA project. Congratulations goes out to Milosz on this fine > accomplishment! > > If any other OpenJPA dev contribu

Congratulations to Milosz!

2009-03-02 Thread Kevin Sutter
Milosz Tylenda was recently promoted to Committer status on the Apache OpenJPA project. Congratulations goes out to Milosz on this fine accomplishment! If any other OpenJPA dev contributors are interesting in achieving this goal, please feel free to contact any member of the OpenJPA PMC. We woul

dirty objects state after a commit

2009-03-02 Thread yoavsc
Hello, I use the getDirtyObjects() method of the OpenJPAEntityManager to get a collection of dirty objects. I have a problem with new objects: After I commit the transaction, every field (except for the id one) of all new entities in the dirty objects collection has a null value. (The object

[jira] Commented: (OPENJPA-866) DBDictionary.maxTableNameLength is not checked when using SynchronizeMappings

2009-03-02 Thread Alan Raison (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677959#action_12677959 ] Alan Raison commented on OPENJPA-866: - You'll need the Ingres DBDictionary, which can