Re: OpenJPA build failing on continuum server at vmbuild.apache.org

2007-02-28 Thread David Blevins
On Feb 27, 2007, at 11:16 AM, Marc Prud'hommeaux wrote: All- I noticed recently that the continuum build at http:// vmbuild.apache.org/continuum is back up and running again (hooray!). However, it is failing for OpenJPA because we have a new sub-module, called "openjpa-examples", which I b

[jira] Updated: (OPENJPA-160) Reuse BrokerImpl objects

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-160: Attachment: openjpa-160-clone-patch.txt This patch will clone BrokerImpls from a template

Re: OpenJPA build failing on continuum server at vmbuild.apache.org

2007-02-28 Thread Marc Prud'hommeaux
David- Thanks for fixing it! I'll make a JIRA entry in the future. The "OpenJPA Distribution" module seems to hang now though. I'm not sure how long it's supposed to take. Weird ... it built the binary fine, but then it seemed to hang. If it happens for the next build, I'll try to poke ar

[jira] Updated: (OPENJPA-160) Reuse BrokerImpl objects

2007-02-28 Thread Rob Wisniewski (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rob Wisniewski updated OPENJPA-160: --- Attachment: profile_clonepatch.jpg Guys... sorry to keep bearing bad news, but we seem to ju

[jira] Commented: (OPENJPA-160) Reuse BrokerImpl objects

2007-02-28 Thread Rob Wisniewski (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476626 ] Rob Wisniewski commented on OPENJPA-160: Okay.. looks like the finalizer was the problem. I took it out an

[jira] Commented: (OPENJPA-160) Reuse BrokerImpl objects

2007-02-28 Thread Rob Wisniewski (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476627 ] Rob Wisniewski commented on OPENJPA-160: Also, to be clear, the cloning seems to give us a little boost too

[jira] Commented: (OPENJPA-160) Reuse BrokerImpl objects

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476629 ] Patrick Linskey commented on OPENJPA-160: - K... IMO, we should get rid of the finalizer in the default confi

[jira] Updated: (OPENJPA-160) Reuse BrokerImpl objects

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-160: Attachment: openjpa-160-finalization-and-cloning-patch.txt - moved BrokerImpl.finalize() t

[jira] Commented: (OPENJPA-160) Reuse BrokerImpl objects

2007-02-28 Thread Rob Wisniewski (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476680 ] Rob Wisniewski commented on OPENJPA-160: Patrick.. good work. The new patch performs as expected. I test

[jira] Resolved: (OPENJPA-160) Reuse BrokerImpl objects

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey resolved OPENJPA-160. - Resolution: Fixed Hopefully, we can put this to rest now. > Reuse BrokerImpl objects >

RE: svn commit: r512906 - in /incubator/openjpa/trunk: openjpa-kernel/src/main/java/org/apache/openjpa/conf/ openjpa-kernel/src/main/java/org/apache/openjpa/kernel/ openjpa-project/src/doc/manual/

2007-02-28 Thread Patrick Linskey
Good catch; I wrote that before the finalization changes went in. Changing... -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with any attachments, may contain information of BEA Syste

Re: svn commit: r512906 - in /incubator/openjpa/trunk: openjpa-kernel/src/main/java/org/apache/openjpa/conf/ openjpa-kernel/src/main/java/org/apache/openjpa/kernel/ openjpa-project/src/doc/manual/

2007-02-28 Thread Abe White
+public Object newInstance(String clsName, Class type, Configuration conf, +boolean fatal) { +if (BrokerImpl.class.getName().equals(clsName)) { +// This is not synchronized. If there are concurrent invocations +// while _templateBroker is null, we'

RE: svn commit: r512906 - in /incubator/openjpa/trunk: openjpa-kernel/src/main/java/org/apache/openjpa/conf/ openjpa-kernel/src/main/java/org/apache/openjpa/kernel/ openjpa-project/src/doc/manual/

2007-02-28 Thread Patrick Linskey
> Cloneable _templateBroker = null; > boolean _templateTried = false; > if (broker instanceof Cloneable) > _templateBroker = (Cloneable) broker; Since BrokerImpl is Cloneable, and the property always returns a BrokerImpl, I don't think that we need to check for cloneability. -Patri

[jira] Commented: (OPENJPA-35) In-memory Delete operation fails with active DataCache

2007-02-28 Thread Pinaki Poddar (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476719 ] Pinaki Poddar commented on OPENJPA-35: -- I am not seeing this particular error anymore -- but I am seeing somethi

[jira] Updated: (OPENJPA-35) In-memory Delete operation fails with active DataCache

2007-02-28 Thread Pinaki Poddar (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-35?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pinaki Poddar updated OPENJPA-35: - Attachment: openjpa-35.test.zip Attached test case shows that after deleting via query, L2 cache

RE: EMF JNDI lookup is starting openJPA every time - was: Howto integrate JPA within EJB2.1 session beans?

2007-02-28 Thread Pinaki Poddar
> EntityManagerFactory emf = OpenJPAPersistence.createEntityManagerFactory(EMF_JNDI_LOCATION, (Context) null); 1. Instead of passing null context, if the same Context instance is passed on every invocation -- does the behaviour change? 2. If the emf and its underlying brokerfactory bf from two con

[jira] Commented: (OPENJPA-160) Reuse BrokerImpl objects

2007-02-28 Thread Craig Russell (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476731 ] Craig Russell commented on OPENJPA-160: --- >K... IMO, we should get rid of the finalizer in the default config,

[jira] Commented: (OPENJPA-35) In-memory Delete operation fails with active DataCache

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476732 ] Patrick Linskey commented on OPENJPA-35: What happens if the user modifies the object or if the user obtains

[jira] Commented: (OPENJPA-160) Reuse BrokerImpl objects

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476736 ] Patrick Linskey commented on OPENJPA-160: - > 1. I really think we're going just a bit too fast here. I wasn'

[jira] Commented: (OPENJPA-149) non-jta-data-source must be specified in WebSphere environments

2007-02-28 Thread Kevin Sutter (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476737 ] Kevin Sutter commented on OPENJPA-149: -- Brad, For now, go ahead and use the workaround as documented by Patrick

RE: [jira] Commented: (OPENJPA-35) In-memory Delete operation fails with active DataCache

2007-02-28 Thread Pinaki Poddar
The issue is now better be stated as "Delete by Query does not remove the copy from L2 cache". a) Tried to lock the instance, before delete causes commit to fail with OptimisticVerification b) Modifying the object before delete causes no change in behaviour in the scope of the given test.

[jira] Commented: (OPENJPA-160) Reuse BrokerImpl objects

2007-02-28 Thread Kevin Sutter (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476744 ] Kevin Sutter commented on OPENJPA-160: -- > IIRC, we're operating in a commit-then-review mode in OpenJPA. This i

RE: [jira] Commented: (OPENJPA-35) In-memory Delete operation fails with active DataCache

2007-02-28 Thread Patrick Linskey
I was referring to subsequent transactions after the delete. The delete happens in its own persistence context, meaning that anything that has happened in the transaction to date is basically ignored. -Patrick -- Patrick Linskey BEA Systems, Inc. ___

[jira] Commented: (OPENJPA-160) Reuse BrokerImpl objects

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476749 ] Patrick Linskey commented on OPENJPA-160: - > The extra day would have allowed Abe to get his comments recogn

RE: [jira] Commented: (OPENJPA-35) In-memory Delete operation fails with active DataCache

2007-02-28 Thread Pinaki Poddar
do you mean to lock or modify the object *after* delete? something like: em.begin(); em.remove(pc); em.commit(); pc.setSomething(); em.lock(pc, READ); Pinaki Poddar BEA Systems 415.402.7317 -Original Message- From: Patrick Linskey Sent: Wednesday, February 28, 2007 2:47 PM To

RE: [jira] Commented: (OPENJPA-35) In-memory Delete operation fails with active DataCache

2007-02-28 Thread Patrick Linskey
I'm wondering whether or not the cache is properly healing itself, which gives us a feel for how severe the problem is. > em.begin(); > em.remove(pc); > em.commit(); > > pc.setSomething(); > em.lock(pc, READ); I am interested in the behavior when using delete-by-query, as I'm pretty sure that I

[jira] Updated: (OPENJPA-35) In-memory Delete operation fails with active DataCache

2007-02-28 Thread Pinaki Poddar (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-35?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pinaki Poddar updated OPENJPA-35: - Attachment: openjpa-35.trace.txt Added a trace output of the test case that is failing. shows t

RE: [jira] Commented: (OPENJPA-35) In-memory Delete operation fails with active DataCache

2007-02-28 Thread Pinaki Poddar
Patrick, I added the trace output of the test for "delete via query does not remove the copy from the L2 cache". The deleted instance was locked/modified after the transaction that deleted it was committed. Does that signal the L2 cache to heal itself? Pinaki Poddar BEA Systems 415.40

[jira] Commented: (OPENJPA-35) In-memory Delete operation fails with active DataCache

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476773 ] Patrick Linskey commented on OPENJPA-35: I haven't looked at your test, but I'm guessing that since it has a

[jira] Commented: (OPENJPA-35) In-memory Delete operation fails with active DataCache

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476774 ] Patrick Linskey commented on OPENJPA-35: ... to finish that thought, I'd then expect that the instance would

[jira] Commented: (OPENJPA-35) In-memory Delete operation fails with active DataCache

2007-02-28 Thread Pinaki Poddar (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476790 ] Pinaki Poddar commented on OPENJPA-35: -- Right -- a newly looked up copy (the copy comes out of L2 cache and not

[jira] Commented: (OPENJPA-35) In-memory Delete operation fails with active DataCache

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476794 ] Patrick Linskey commented on OPENJPA-35: Well, I think that it's worth *fixing*, and shouldn't really be all

[jira] Updated: (OPENJPA-125) OpenJPA-specific metadata cannot be specified in XML descriptors

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-125: Affects Version/s: 1.0.0 > OpenJPA-specific metadata cannot be specified in XML descriptor

[jira] Updated: (OPENJPA-35) In-memory Delete operation fails with active DataCache

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-35?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-35: --- Fix Version/s: 0.9.7 Affects Version/s: 0.9.6 > In-memory Delete operation fails with

[jira] Updated: (OPENJPA-125) OpenJPA-specific metadata cannot be specified in XML descriptors

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-125: Fix Version/s: 1.0.0 Affects Version/s: (was: 1.0.0) 0.9

[jira] Updated: (OPENJPA-35) In-memory Delete operation fails with active DataCache

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-35?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-35: --- Affects Version/s: 0.9.0 > In-memory Delete operation fails with active DataCache > -

[jira] Updated: (OPENJPA-89) Bulk delete fails to delete owned many-to-many relationship (entry remains in join table)

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-89: --- Fix Version/s: 0.9.7 > Bulk delete fails to delete owned many-to-many relationship (entry rem

[jira] Updated: (OPENJPA-135) join fetch not returning duplicate references which not conforming to ejb3.0 spec

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-135: Fix Version/s: 0.9.7 > join fetch not returning duplicate references which not conforming

[jira] Updated: (OPENJPA-17) bad sql with missing subquery produced with query with nested subqueries

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-17: --- Fix Version/s: 0.9.7 > bad sql with missing subquery produced with query with nested subqueri

[jira] Updated: (OPENJPA-148) Parsing exception while using an "exploded" archive

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-148: Fix Version/s: 0.9.7 > Parsing exception while using an "exploded" archive > -

[jira] Updated: (OPENJPA-134) Extra unneeded SQL joins for OneToMany relationship with fetch type EAGER

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-134: Fix Version/s: 0.9.7 > Extra unneeded SQL joins for OneToMany relationship with fetch type

[jira] Updated: (OPENJPA-49) bad sql pushdown, should use inner joins but has no joins, just uses first entity

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-49: --- Fix Version/s: 0.9.7 > bad sql pushdown, should use inner joins but has no joins, just uses f

[jira] Updated: (OPENJPA-142) Entity name is ignored when specified in the orm.xml file

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-142: Fix Version/s: 0.9.7 > Entity name is ignored when specified in the orm.xml file > ---

[jira] Updated: (OPENJPA-26) JPQL parser failed to handle unary operations in arithmetic comparisons, eg. where -(e.salary+10) > -10

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-26?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-26: --- Fix Version/s: 0.9.7 > JPQL parser failed to handle unary operations in arithmetic comparison

[jira] Updated: (OPENJPA-152) Warn or throw an exception when a persistence unit has multiple named queries with the same name

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-152: Fix Version/s: 0.9.7 > Warn or throw an exception when a persistence unit has multiple nam

[jira] Updated: (OPENJPA-75) error message for missing query id var needs improvement

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-75?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-75: --- Fix Version/s: 0.9.7 > error message for missing query id var needs improvement > ---

[jira] Updated: (OPENJPA-23) -418 sqlexception using DB2 and EJB QL with SQRT or MOD

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-23: --- Fix Version/s: 0.9.7 > -418 sqlexception using DB2 and EJB QL with SQRT or MOD >

[jira] Updated: (OPENJPA-113) when you specify columm table="empbean" in the xml file entity id or basic type when empbean is the default table name, the mapping tool generates extra foreign key fiel

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-113: Fix Version/s: 0.9.7 > when you specify columm table="empbean" in the xml file entity id

[jira] Updated: (OPENJPA-18) bulk update to Entity with secondary table mapping produces BAD SQL

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-18: --- Fix Version/s: 0.9.7 > bulk update to Entity with secondary table mapping produces BAD SQL >

[jira] Updated: (OPENJPA-28) groupby clause of a subquery incorrectly duplicated in the main query in the generated SQL

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-28?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-28: --- Fix Version/s: 0.9.7 > groupby clause of a subquery incorrectly duplicated in the main query

[jira] Updated: (OPENJPA-51) bad sql pushdown, sub select is missing from clause

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-51?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-51: --- Fix Version/s: 0.9.7 > bad sql pushdown, sub select is missing from clause >

[jira] Updated: (OPENJPA-80) Bad Escaping for LIKE in MySQL

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-80: --- Fix Version/s: 0.9.7 > Bad Escaping for LIKE in MySQL > -- > >

[jira] Updated: (OPENJPA-78) Automatic runtime enhancement only works when the class is listed in the first persistence-unit

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-78: --- Fix Version/s: 0.9.7 > Automatic runtime enhancement only works when the class is listed in t

[jira] Updated: (OPENJPA-9) PCEnhancer not processing multiple PU's defined within a single persistence.xml file

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-9: -- Fix Version/s: 0.9.7 > PCEnhancer not processing multiple PU's defined within a single > persis

[jira] Updated: (OPENJPA-46) true, false not case insensitive, gets null pointer exception

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-46?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-46: --- Fix Version/s: 0.9.7 > true, false not case insensitive, gets null pointer exception > --

[jira] Updated: (OPENJPA-143) Problems with Single Table Inheritance Strategy (and Discriminator Type of Integer)

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-143: Fix Version/s: 0.9.7 > Problems with Single Table Inheritance Strategy (and Discriminator

[jira] Updated: (OPENJPA-112) Native queries and named parameters: poor error message

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-112: Fix Version/s: 0.9.7 > Native queries and named parameters: poor error message > -

[jira] Updated: (OPENJPA-83) Bad SQL for Subselect BETWEEN

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-83: --- Fix Version/s: 0.9.7 > Bad SQL for Subselect BETWEEN > - > >

[jira] Updated: (OPENJPA-57) persistence_1_0.xsd is missing

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-57?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-57: --- Fix Version/s: 0.9.7 > persistence_1_0.xsd is missing > -- > >

[jira] Updated: (OPENJPA-132) java.lang.NoSuchMethodError for entity with ID of type java.sql.Date

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-132: Fix Version/s: 0.9.7 > java.lang.NoSuchMethodError for entity with ID of type java.sql.Dat

[jira] Updated: (OPENJPA-22) locate & substring queries fail both db2 & derby, cannot use parameter markers in expression ?-?

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-22: --- Fix Version/s: 0.9.7 > locate & substring queries fail both db2 & derby, cannot use parameter

[jira] Resolved: (OPENJPA-153) WebSphere and non-jta-data-source and default ManagedRuntime

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey resolved OPENJPA-153. - Resolution: Fixed I believe that the only remaining issue here is captured in OPENJPA-14

[jira] Updated: (OPENJPA-147) T OpenJPAEntityManager.createInstance(Class cls) fails when T is interface

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-147: Fix Version/s: 1.0.0 > T OpenJPAEntityManager.createInstance(Class cls) fails when T is

[jira] Updated: (OPENJPA-145) support Java5 wildcard on OpenJPA

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-145: Fix Version/s: 1.0.0 > support Java5 wildcard on OpenJPA > ---

[jira] Resolved: (OPENJPA-93) Sequence generation in a JTA environment should not require non-JTA datasource

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey resolved OPENJPA-93. Resolution: Fixed The feature works, but OPENJPA-149 currently prevents it from working in

[jira] Updated: (OPENJPA-84) Escape sql reserved words in column names

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-84: --- Fix Version/s: 1.0.0 > Escape sql reserved words in column names > --

[jira] Updated: (OPENJPA-71) Caching primitive array types consumes excessive memory

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-71: --- Fix Version/s: 0.9.7 What happens if openjpa.DynamicDataStructs is enabled? > Caching primit

[jira] Updated: (OPENJPA-123) Test framework should allow tests that are expected to fail to be checked in

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-123: Component/s: build / infrastructure > Test framework should allow tests that are expected

[jira] Commented: (OPENJPA-35) In-memory Delete operation fails with active DataCache

2007-02-28 Thread Craig Russell (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476808 ] Craig Russell commented on OPENJPA-35: -- I agree this bug is worth fixing and pending the fix, worth documenting

[jira] Updated: (OPENJPA-38) Force field writes on update

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-38?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-38: --- Fix Version/s: 1.0.0 > Force field writes on update > > >

[jira] Updated: (OPENJPA-86) "uuid-hex" generator does not make affect in orm.xml

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-86: --- Fix Version/s: 1.0.0 Affects Version/s: 0.9.6 > "uuid-hex" generator does not make af

[jira] Updated: (OPENJPA-120) For Multi Table Entity subselect with field in second table gets DB2 SQL error: SQLCODE: -104, SQLSTATE: 42601

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-120: Fix Version/s: 0.9.7 > For Multi Table Entity subselect with field in second table gets DB

[jira] Updated: (OPENJPA-87) openjpa annotations ignored when xml metadata provided

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-87?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-87: --- Fix Version/s: 1.0.0 Affects Version/s: 0.9.0 0.9.6 > openjpa

[jira] Updated: (OPENJPA-44) metadata-complete element in orm.xml is ignored

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-44?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-44: --- Fix Version/s: 0.9.7 > metadata-complete element in orm.xml is ignored >

[jira] Updated: (OPENJPA-121) Table name defaults to the class name instead of the entity name

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-121: Fix Version/s: 0.9.7 > Table name defaults to the class name instead of the entity name >

[jira] Updated: (OPENJPA-81) Bad error message when trying to query a Collection relation using dot notation

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-81: --- Fix Version/s: 0.9.7 > Bad error message when trying to query a Collection relation using dot

[jira] Updated: (OPENJPA-19) 1.5F gets translated to BigDecimal(1.5) when used as literal in EJB QL when run against DB2.

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-19: --- Fix Version/s: 0.9.7 > 1.5F gets translated to BigDecimal(1.5) when used as literal in EJB QL

[jira] Commented: (OPENJPA-20) Query can return embeddable class

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476812 ] Patrick Linskey commented on OPENJPA-20: I think of this as a feature, not a bug. Thoughts? > Query can retu

[jira] Updated: (OPENJPA-152) Warn or throw an exception when a persistence unit has multiple named queries with the same name

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-152: Component/s: query logging Priority: Minor (was: Major) > Warn or

[jira] Commented: (OPENJPA-152) Warn or throw an exception when a persistence unit has multiple named queries with the same name

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476813 ] Patrick Linskey commented on OPENJPA-152: - +1 to throwing an exception rather than logging. > Warn or throw

[jira] Updated: (OPENJPA-9) PCEnhancer not processing multiple PU's defined within a single persistence.xml file

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-9: -- Priority: Minor (was: Major) > PCEnhancer not processing multiple PU's defined within a single

[jira] Updated: (OPENJPA-148) Parsing exception while using an "exploded" archive

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-148: Priority: Minor (was: Major) > Parsing exception while using an "exploded" archive >

[jira] Updated: (OPENJPA-46) true, false not case insensitive, gets null pointer exception

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-46?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-46: --- Priority: Minor (was: Major) > true, false not case insensitive, gets null pointer exception

[jira] Updated: (OPENJPA-78) Automatic runtime enhancement only works when the class is listed in the first persistence-unit

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-78: --- Priority: Minor (was: Major) > Automatic runtime enhancement only works when the class is li

[jira] Updated: (OPENJPA-132) java.lang.NoSuchMethodError for entity with ID of type java.sql.Date

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-132: Priority: Minor (was: Major) > java.lang.NoSuchMethodError for entity with ID of type jav

[jira] Updated: (OPENJPA-112) Native queries and named parameters: poor error message

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-112: Priority: Minor (was: Major) > Native queries and named parameters: poor error message >

[jira] Updated: (OPENJPA-75) error message for missing query id var needs improvement

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-75?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-75: --- Priority: Minor (was: Major) > error message for missing query id var needs improvement > --

[jira] Updated: (OPENJPA-93) Sequence generation in a JTA environment should not require non-JTA datasource

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-93: --- Fix Version/s: 0.9.7 > Sequence generation in a JTA environment should not require non-JTA da

[jira] Updated: (OPENJPA-153) WebSphere and non-jta-data-source and default ManagedRuntime

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-153: Fix Version/s: 0.9.7 > WebSphere and non-jta-data-source and default ManagedRuntime >

[jira] Updated: (OPENJPA-113) when you specify columm table="empbean" in the xml file entity id or basic type when empbean is the default table name, the mapping tool generates extra foreign key fiel

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-113: Priority: Minor (was: Major) > when you specify columm table="empbean" in the xml file e

[jira] Updated: (OPENJPA-105) Put together a test suite for Enhancer

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-105: Component/s: build / infrastructure > Put together a test suite for Enhancer > ---

[jira] Updated: (OPENJPA-33) Need Query Engine test bucket

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-33?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-33: --- Component/s: build / infrastructure > Need Query Engine test bucket > ---

[jira] Updated: (OPENJPA-137) Perform parameter validation for annotated callback methods

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-137: Fix Version/s: 1.0.0 > Perform parameter validation for annotated callback methods > -

[jira] Updated: (OPENJPA-5) OpenJPA doesn't compile with JDBC 4

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-5?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-5: -- Component/s: build / infrastructure > OpenJPA doesn't compile with JDBC 4 >

[jira] Updated: (OPENJPA-91) java.lang.VerifyError on websphere after application reload

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-91?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-91: --- Fix Version/s: 0.9.7 > java.lang.VerifyError on websphere after application reload >

[jira] Updated: (OPENJPA-79) Please add Eclipse artifacts to svn ignore

2007-02-28 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-79?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-79: --- Component/s: build / infrastructure > Please add Eclipse artifacts to svn ignore > --

OpenJPA & Transaction configuration

2007-02-28 Thread Matthieu Riou
Hi, I'm going back at the OpenJPA implementation for the Apache ODE project and am still having problems with the setup. Whan I try to persist a new object I get an exception "Attempt to persist detached object". I guess the when I instantiate my object OpenJPA can't locate its transactional cont

RE: OpenJPA & Transaction configuration

2007-02-28 Thread Pinaki Poddar
instead of _em.persist(ret); try _em.merge(ret); as ret is detached instance rather than new. Pinaki Poddar BEA Systems 415.402.7317 -Original Message- From: Matthieu Riou [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 28, 2007 6:29 PM To: open-jpa-dev@incubator.apache.org

Re: OpenJPA & Transaction configuration

2007-02-28 Thread Matthieu Riou
Thanks! But shouldn't I worry about the fact that a brand new instance is detached? I could be wrong but it looks like it's more a symptom of something wrong in my configuration, no? On 2/28/07, Pinaki Poddar <[EMAIL PROTECTED]> wrote: instead of _em.persist(ret); try _em.merge(ret); as re

RE: OpenJPA & Transaction configuration

2007-02-28 Thread Patrick Linskey
Can you post the source for ProcessDAOImpl? Also, are there any other OpenJPA properties in your configuration? Finally, I'm assuming that you're using a somewhat-current 0.9.7-SNAPSHOT. Correct me if I'm wrong. > But shouldn't I worry about the fact that a brand new > instance is detached? I cou

  1   2   >