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

[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

[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

[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

[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()

[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

[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: 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

[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-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

[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

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

[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

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 know

[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

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

[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] 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

[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)

[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

[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

[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

[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

[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

[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-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 or

[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

[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

[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

[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

[jira] Updated: (OPENJPA-147) T T OpenJPAEntityManager.createInstance(ClassT 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 T OpenJPAEntityManager.createInstance(ClassT 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

[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

[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

[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] 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

[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-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

[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

[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

[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

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:

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 ret

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

Re: OpenJPA Transaction configuration

2007-02-28 Thread Matthieu Riou
Here is a link to the source (and no version field): http://svn.apache.org/repos/asf/incubator/ode/trunk/dao-jpa/src/main/java/org/apache/ode/dao/jpa/ProcessDAOImpl.java How can I try to change the default detach manager? Which one should I use instead? Thanks! Matthieu On 2/28/07, Patrick

Re: svn commit: r513183 - in /incubator/openjpa/trunk: openjpa-kernel/src/main/java/org/apache/openjpa/conf/ openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ openjpa-persistence/src/main/java/or

2007-02-28 Thread Craig L Russell
Hi Patrick, I don't quite understand the code that follows. What is the difference between this code and simply defaulting the value to non- finalizing impl? Craig On Feb 28, 2007, at 10:31 PM, [EMAIL PROTECTED] wrote: PersistenceUnitInfo pui, Map m) {

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

2007-02-28 Thread Marc Prud'hommeaux (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476856 ] Marc Prud'hommeaux commented on OPENJPA-20: --- Or, alternately, a bug in the documentation. The current