Re: Using ReverseMappingTool.run(...) to generate Java strings?

2013-12-07 Thread Rick Curtis
-strings-tp7585730.html Sent from the OpenJPA Users mailing list archive at Nabble.com. -- *Rick Curtis*

Re: Callback before items are persisted

2013-12-06 Thread Rick Curtis
imagine how they would disappear when the PrePersist callback method is invoked. Example 3.5.3 in the JPA 2.0 spec shows that you should be able to access persistent fields/properties of your entity in the context of a PrePersist callback. -- *Rick Curtis*

Re: Auditor issue after upgrading to OpenJPA 2.3.0

2013-12-05 Thread Rick Curtis
{ @AttributeOverrides(...) private Item leftItem; @AttributeOverrides(...) private Item rightItem; } @Embeddable @Auditable(values = { AuditableOperation.UPDATE }) public class Item { } Best regards, Harald -- *Rick Curtis*

Re: UnsatisfiedLinkError/Error opening socket when starting a OpenJPA-Junit-Test via Ant-Script

2013-12-05 Thread Rick Curtis
-opening-socket-when-starting-a-OpenJPA-Junit-Test-via-Ant-Script-tp7585687.html Sent from the OpenJPA Users mailing list archive at Nabble.com. -- *Rick Curtis*

Re: Problem with @GeneratedValue annotation with MySQL

2013-11-29 Thread Rick Curtis
. Hildeberto -- *Rick Curtis*

Re: PersistenceException while trying to save class with composite primary key (@EmbeddedId/@Embeddable)

2013-11-21 Thread Rick Curtis
What is the scenario that you are running when you encounter this problem? On Thu, Nov 21, 2013 at 9:46 AM, Leonardo K. Shikida shik...@gmail.comwrote: tomee 1.5.2 = openJPA 2.2.0 tomee 1.6.0 = openJPA 2.3.0-Snapshot thanks! Leo [] Leo On Thu, Nov 21, 2013 at 1:17 PM, Rick Curtis

Re: PersistenceException while trying to save class with composite primary key (@EmbeddedId/@Embeddable)

2013-11-21 Thread Rick Curtis
) at org.apache.geronimo.transaction.manager.TransactionImpl.beforePrepare(TransactionImpl.java:413) at org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:262) ... 13 more Any help is welcome. Thanks in advance. Leo -- *Rick Curtis*

Re: 2.0.1 blissfully ignores detached child entities during parent's persist, 2.2.2 throws InvalidStateException

2013-11-20 Thread Rick Curtis
isn't there a CascadeType.IGNORE that I could place on Product.ProductCategory to have OpenJPA revert to the old behavior of skipping over the detached entity? Any ideas? -- *Rick Curtis*

Re: Parse Exception generated when using keyword UPPER

2013-11-20 Thread Rick Curtis
the OpenJPA Users mailing list archive at Nabble.com. -- *Rick Curtis*

Re: Vote for standard JPA jar in maven

2013-11-15 Thread Rick Curtis
-- *Rick Curtis*

Re: Immutable list in entity

2013-11-11 Thread Rick Curtis
, strub From: Rick Curtis curti...@gmail.com To: users users@openjpa.apache.org Sent: Tuesday, 22 October 2013, 18:30 Subject: Re: Immutable list in entity I don't have a solid answer, but have found a number of posts throughout the years

Re: Prevent Optimistic-Locks with where-clause

2013-10-30 Thread Rick Curtis
at Nabble.com. -- *Rick Curtis*

Re: Fetch without transaction

2013-10-30 Thread Rick Curtis
* --- -- *Rick Curtis*

Re: JPA exception while persistence into database

2013-10-22 Thread Rick Curtis
/ property name=openjpa.Multithreaded value=true/ property name=openjpa.jdbc.TransactionIsolation value=read-committed / /properties /persistence-unit Regards, Akash From: Rick Curtis curti...@gmail.com To: users

Re: JPA exception while persistence into database

2013-10-21 Thread Rick Curtis
to another context, allow reference to it by setting StoreContext.setAllowReferenceToSiblingContext(). I tried to give cascade.All option to the field having entity reference, then I get an error message This entity is not managed by this context. Regards, Akash -- *Rick Curtis*

Re: Persisting an entity managed by a different entity manager

2013-10-17 Thread Rick Curtis
to this issue. Regards, Akash -- *Rick Curtis*

Re: openjpa.RemoteCommitProviderTopic activeMQ

2013-10-17 Thread Rick Curtis
], java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory, java.naming.provider.url=tcp://[yourActiveMqServer]:61616) / Hope this helps Cheers, John -- *Rick Curtis*

Re: Fetching data from entity manager

2013-10-17 Thread Rick Curtis
, Akash -- *Rick Curtis*

Re: Initialization Errors when unsing multiple PersistenceUnis in persistence.xml

2013-10-10 Thread Rick Curtis
(or reachable) the start will fail. Is there a reason that we need to process persistence-unit definitions which are not requested? Setting DynamicEnhancementAgent to false resolves the problem John Who is General Failure, and why is he reading my hard disk? -- *Rick Curtis*

Re: Initialization Errors when unsing multiple PersistenceUnis in persistence.xml

2013-10-10 Thread Rick Curtis
Yes, please do. Thanks, Rick On Thu, Oct 10, 2013 at 8:02 AM, Boblitz John john.bobl...@bertschi.comwrote: Hi Rick, should I make a Jira for that? Cheers, John -Original Message- From: Rick Curtis [mailto:curti...@gmail.com] Sent: Thursday, October 10, 2013 2:53 PM

Re: disable MDB

2013-10-08 Thread Rick Curtis
, not touching the queue. TIA Leo -- *Rick Curtis*

Re: OpenJPA 2.3.0 Release

2013-10-04 Thread Rick Curtis
this year. In my search through the site I could not find info on future releases. If anyone can point me to the right resource/person/information, many thanks. Matias -- *Rick Curtis*

Re: reflect.InvocationTargetException by VerifyError at ClassRedefiner.redefineClasses method

2013-10-03 Thread Rick Curtis
at 6:35 AM, Rick Curtis curti...@gmail.com wrote: It appears that you need to enhance your Entities[1]. Thanks, Rick [1] http://openjpa.apache.org/entity-enhancement.html On Sat, Sep 28, 2013 at 6:34 PM, Arata Yamamoto art...@gmail.com wrote: Dear group, I just started

Re: reflect.InvocationTargetException by VerifyError at ClassRedefiner.redefineClasses method

2013-09-30 Thread Rick Curtis
beginner of OpenEJB (and OpenJPA). Regards, Art -- *Rick Curtis*

Re: Impossible to get DBCP working with OpenJPA in standalone app

2013-09-17 Thread Rick Curtis
=openjpa.Log value=openjpa.jdbc.MetaData=**TRACE/ property name=openjpa.Log value=openjpa.jdbc.JDBC=**TRACE/ property name=openjpa.Log value=slf4j/ property name=openjpa.Log value=SQL=TRACE/ /properties /persistence-unit /persistence On 9/16/2013 9:46 PM, Rick Curtis

Re: org.apache.openjpa.persistence.PersistenceException: null

2013-09-17 Thread Rick Curtis
(JtaEntityManager.java:80) (...) Caused by: java.lang.VerifyError at sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:144) ... 52 more -- *Rick Curtis*

Re: org.apache.openjpa.persistence.PersistenceException: null

2013-09-17 Thread Rick Curtis
is not a recommended practice [1]. org.apache.openjpa.enhance.ManagedClassSubclasser.prepareUnenhancedClasses(ManagedClassSubclasser.java:176) [1] http://openjpa.apache.org/entity-enhancement.html On Tue, Sep 17, 2013 at 3:44 PM, Rick Curtis curti...@gmail.com wrote: What

Re: org.apache.openjpa.persistence.PersistenceException: null

2013-09-17 Thread Rick Curtis
Also, what properties do you have set in your persistence.xml? On Tue, Sep 17, 2013 at 3:44 PM, Rick Curtis curti...@gmail.com wrote: What are the versions of JDK that you used on Windows / Linux... and what JDK did you use to build the application? On Tue, Sep 17, 2013 at 3:14 PM

Re: Impossible to get DBCP working with OpenJPA in standalone app

2013-09-16 Thread Rick Curtis
-- *Rick Curtis*

Re: Using QueryCache, still seeing queries sent to the DB

2013-08-31 Thread Rick Curtis
Can you try to put your properties directly in the persistence.xml file to see if that helps? If not, enable trace and run through a few queries... That should help figure out what is going on. Sent from my iPhone On Aug 30, 2013, at 1:38 PM, tlianza nab...@lianza.org wrote: Rick Curtis

Re: JDK 1.7 seems to be causing an issue with latest snapshot

2013-07-18 Thread Rick Curtis
-tp7581417p7584474.html Sent from the OpenJPA Users mailing list archive at Nabble.com. -- *Rick Curtis*

Re: NoSuchMethodError pcGetManagedFieldCount() error

2013-06-30 Thread Rick Curtis
://openjpa.208410.n2.nabble.com/NoSuchMethodError-pcGetManagedFieldCount-error-tp7584060p7584063.html Sent from the OpenJPA Users mailing list archive at Nabble.com. -- *Rick Curtis*

Re: Race condition in dictionary determination?

2013-06-30 Thread Rick Curtis
) at com.excelfore.util.ThreadContext.getEntityManager(ThreadContext.java:215) -- *Rick Curtis*

Re: [External] Re: OpenJPA Null Update

2013-06-14 Thread Rick Curtis
| Hamilton 8283 Greensboro Dr, Mclean, VA 22102 tibebu_nebi...@bah.com From: Rick Curtis [curti...@gmail.com] Sent: Thursday, June 13, 2013 10:31 PM To: users@openjpa.apache.org Subject: RE: [External] Re: OpenJPA Null Update Well, you are going

Re: OpenJPA Null Update

2013-06-13 Thread Rick Curtis
: (703) 377-5425 Cell: (571) 422-5178 ** ** [image: http://www.soaschool.com/system/application/images/soacp_architect.jpg]*** * ** ** Booz Allen Hamilton | http://www.boozallen.com ** ** ** ** -- *Rick Curtis*

RE: [External] Re: OpenJPA Null Update

2013-06-13 Thread Rick Curtis
8283 Greensboro Dr, Mclean, VA 22102 tibebu_nebi...@bah.com From: Rick Curtis [curti...@gmail.com] Sent: Thursday, June 13, 2013 5:12 PM To: users Subject: [External] Re: OpenJPA Null Update Are you getting an error or something... or is it just

Re: OOM with JDBCConfigurationImpl holding 1+ GB of heap

2013-06-10 Thread Rick Curtis
: Rick, Following up on this, it seems that using 2.2.0 is fixing the OOM issues. BTW, any reason you sugested 2.2.0 instead 2.2.2? Thanks. On Tue, May 28, 2013 at 9:33 AM, Rick Curtis curti...@gmail.com wrote: You are reading too far into my analysis. The leak

Re: XML ORM Mappings, where to define common Mapped Super Class?

2013-06-10 Thread Rick Curtis
-Mapped-Super-Class-tp7584090.html Sent from the OpenJPA Users mailing list archive at Nabble.com. -- *Rick Curtis*

Re: OpenJPA has issues with table name user and Apache Derby database

2013-06-04 Thread Rick Curtis
No, I never found the time to look into this issue. Thanks, Rick On Mon, Jun 3, 2013 at 9:37 PM, Maxim Solodovnik solomax...@gmail.comwrote: Hello Rick, were you able to take a look at this issue? On Tue, Feb 12, 2013 at 9:30 PM, Rick Curtis curti...@gmail.com wrote: Sebastian

Re: OOM with JDBCConfigurationImpl holding 1+ GB of heap

2013-05-28 Thread Rick Curtis
2.2.0 to see if that makes a difference. Thanks again. Alejandro On Fri, May 24, 2013 at 12:05 PM, Rick Curtis curti...@gmail.com wrote: After digging into the heapdump, I'm fairly certain that somewhere in your application EntityManagerFactories are being created, yet they are never

Re: OOM with JDBCConfigurationImpl holding 1+ GB of heap

2013-05-24 Thread Rick Curtis
create/use/dispose all EMs using a command patter: https://github.com/apache/oozie/blob/trunk/core/src/main/java/org/apache/oozie/service/JPAService.java#L209 Any other idea/hint? Thanks On Wed, May 22, 2013 at 11:32 AM, Rick Curtis curti...@gmail.com wrote: Alejandro - It appears

Re: OOM with JDBCConfigurationImpl holding 1+ GB of heap

2013-05-24 Thread Rick Curtis
/openjpaleak.hprof.tar.gz Thank you very much for looking into this. Alejandro On Fri, May 24, 2013 at 7:46 AM, Rick Curtis curti...@gmail.com wrote: Can you post a heapdump somewhere for review? Thanks, Rick On Thu, May 23, 2013 at 6:53 PM, Alejandro Abdelnur tuc...@gmail.com wrote

Re: OOM with JDBCConfigurationImpl holding 1+ GB of heap

2013-05-22 Thread Rick Curtis
to be different. Thanks. On Mon, May 20, 2013 at 9:47 AM, Rick Curtis curti...@gmail.com wrote: Alejandro -- Is the problem that you're asking about the same as Hovan? If so, lets consolidate this conversation down to a single thread. http://openjpa.208410.n2.nabble.com/OOM-caused

Re: OOM caused by OpenJPA

2013-05-20 Thread Rick Curtis
archive at Nabble.com. -- *Rick Curtis*

Re: OOM with JDBCConfigurationImpl holding 1+ GB of heap

2013-05-20 Thread Rick Curtis
is instatiated here: https://github.com/apache/oozie/blob/trunk/core/src/main/java/org/apache/oozie/service/JPAService.java#L156 Thanks again. Alejandro On Thu, May 9, 2013 at 6:06 AM, Rick Curtis curti

Re: OOM caused by OpenJPA

2013-05-16 Thread Rick Curtis
://docs.google.com/forms/d/1m1p5AdIoFQRnkW38WcO4l7zVOYQubBIymXmoT6sKZP8/edit?usp=drive_web Thanks, Hovan -- View this message in context: http://openjpa.208410.n2.nabble.com/OOM-caused-by-OpenJPA-tp7583869p7583925.html Sent from the OpenJPA Users mailing list archive at Nabble.com. -- *Rick

Re: i have some trouble use the third-party datasource

2013-05-14 Thread Rick Curtis
at Nabble.com. -- *Rick Curtis*

Re: OOM caused by OpenJPA

2013-05-10 Thread Rick Curtis
/persistence/EntityManagerFactoryImpl caused by openjpa internal implementation. Could this be the possible cause of our issue? If so, any suggestion on how to solve this issue? ** ** Appreciate your help. ** ** Thanks, *Hovan Akelian* ** ** ** ** -- *Rick Curtis*

Re: Is it possible to override the default openjpa persistence provider

2013-05-01 Thread Rick Curtis
at 6:56 PM, Rick Curtis curti...@gmail.com wrote: Is there a compelling reason that you're trying to extend OpenJPA? What container are you running in? The reason I ask is that I see that org.apache .openjpa.osgi.OSGiPersistenceProviderImpl is a valid provider. If you are running

Re: Is it possible to override the default openjpa persistence provider

2013-04-30 Thread Rick Curtis
- http://twitter.com/subash89 -- Subash Chaturanga Department of Computer Science Engineering University of Moratuwa Sri Lanka Blog - http://subashsdm.blogspot.com/ Twitter - http://twitter.com/subash89 -- *Rick Curtis*

Re: slice with db2 error

2013-04-25 Thread Rick Curtis
from the OpenJPA Users mailing list archive at Nabble.com. -- *Rick Curtis*

Re: change entity mapping table in runtime

2013-04-11 Thread Rick Curtis
of an entity in runtime? Thanks a lot. Alex -- *Rick Curtis*

Re: What is the type parameter, 'X' for?

2013-04-11 Thread Rick Curtis
be good also) Thanks, Chris -- *Rick Curtis*

Re: Insert new record + update child object

2013-04-08 Thread Rick Curtis
()); ejbContext.getUserTransaction().commit(); } } Do i have to use the MERGE method for every child object? Here is the same question from other user: http://stackoverflow.com/questions/11029260/jpa-with-jta-persist-entity-and-merge-cascaded-child-entities -- *Rick Curtis*

Re: JDK 1.7 seems to be causing an issue with latest snapshot

2013-03-27 Thread Rick Curtis
-tp7581417p7583248.html Sent from the OpenJPA Users mailing list archive at Nabble.com. -- *Rick Curtis*

Re: InvalidStateException

2013-03-12 Thread Rick Curtis
version filed right now. 2013/3/11 Rick Curtis curti...@gmail.com Just for giggles, could you try adding a version field to your Entity? On Mon, Mar 11, 2013 at 2:42 PM, José Luis Cetina maxtorz...@gmail.com wrote: Im using

Re: InvalidStateException

2013-03-11 Thread Rick Curtis
annotation or modify the code to remove the initializer processing. I dont know why this error is happens, the id of the object is the same id that i get when i do the query in the EJB, that id, never changes. Anyone has any idea, what im doing wrong?? -- *Rick Curtis*

Re: my fist openjpa porject / problem. help me please

2013-02-22 Thread Rick Curtis
. I cannot get started 2013/2/20 Rick Curtis curti...@gmail.com Where is your EntityManager reference coming from? If you're using injection, I'd suggest looking through the logs for any error / warning messages that would help you figure out what is going on. On Wed, Feb 20, 2013 at 1

Re: Cannot join on constant field

2013-02-22 Thread Rick Curtis
/ref_guide_mapping_notes_nonstdjoins.html -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlEnWNgACgkQefEEI87R1Dfu/wCghGQDh3Au5w80evdU7FQqjZsX bAoAoJ7tAz39BRik26nvt4SK8jmqFGz8 =kx2R -END PGP SIGNATURE- -- *Rick Curtis*

Re: my fist openjpa porject / problem. help me please

2013-02-20 Thread Rick Curtis
: this: public void persist(E entity) { entityManager.persist(entity); ** this line } thanks for your answer 2013/2/20 Rick Curtis curti...@gmail.com What is at com.caf.db.dao.JpaDao.persist(JpaDao.java:20)? On Tue, Feb 19, 2013 at 5:08 PM, Aitor Iturriondobeitia laudio.i...@gmail.com wrote

Re: my fist openjpa porject / problem. help me please

2013-02-19 Thread Rick Curtis
at com.caf.db.dao.JpaDao.persist(JpaDao.java:20) at com.caf.db.dao.ll.main(ll.java:20) Can you help me please? thanks -- *Rick Curtis*

Re: Error in EntityManager.persist () if the database already contains a row with id=0

2013-02-18 Thread Rick Curtis
value of the id from 0 to any other value. Thanks and Regards, *KRISHNAPRASAD SUBBARAO* Software Developer, Cloud Platform (BSS), Industry Solutions, India Software Lab -- *Rick Curtis*

Re: How to get the reference of StoreContext

2013-02-12 Thread Rick Curtis
. d) if the reference belongs to another context, allow reference to it by setting StoreContext.setAllowReferenceToSiblingContext(). About option D, would someone advise me how to get reference of StoreContext or it's implementation? Thanks in advance. Alex -- *Rick Curtis*

Re: OpenJPA has issues with table name user and Apache Derby database

2013-02-12 Thread Rick Curtis
://twitter.com/#!/dead_lock http://www.webbase-design.de http://www.wagner-sebastian.com seba.wag...@gmail.com -- *Rick Curtis*

Re: Re: How to get the reference of StoreContext

2013-02-12 Thread Rick Curtis
for your reply. I will enhance the entities later. I just want to know how to implement option D... -- Alex *From:* Rick Curtis curti...@gmail.com *Date:* 2013-02-12 22:25 *To:* users users@openjpa.apache.org; fiiexbl fiie...@gmail.com *Subject:* Re: How to get

Re: Re: How to get the reference of StoreContext

2013-02-12 Thread Rick Curtis
in a separate persistence context, I just wonder if I can keep the objects active cross the different persistence contexts. Alex From: Rick Curtis Date: 2013-02-12 23:07 To: CC: users Subject: Re: Re: How to get the reference of StoreContext I just want to know how to implement option D

Re: Read Only Query

2013-01-16 Thread Rick Curtis
be helpful -- *Rick Curtis*

Re: Duplicate entry issue with multithreaded application

2012-11-19 Thread Rick Curtis
-with-multithreaded-application-tp7580917p7581794.html Sent from the OpenJPA Users mailing list archive at Nabble.com. -- *Rick Curtis*

Re: cannot persist m2m data, getting ArgumentException: Attempt to cast instance xxx [java.util.HashSet] to PersistenceCapable failed. Ensure that it has been enhanced.

2012-11-19 Thread Rick Curtis
a few last desperate things before resorting to going back to using Hibernate... ;) On Mon, Nov 19, 2012 at 10:34 AM, Rick Curtis curti...@gmail.com wrote: Chris - Please post your persistence.xml file also. Thanks, Rick On Mon, Nov 19, 2012 at 9:28 AM, Chris Wolf cwolf.a

Re: openjpa-kernel : using PostgreSQL's inet operators in JPQL

2012-11-07 Thread Rick Curtis
, M.Sc.E.E Software architect Belgrade University Computer Center Kumanovska 7, 126119 Beograd Serbia Tel:+381-11-3031258 Fax:+381-11-3031259 Email: r...@rcub.bg.ac.rs Internet: http://www.rcub.bg.ac.rs -- *Rick Curtis*

Re: Memory leak for long-lived (read-only) EM?

2012-11-07 Thread Rick Curtis
at Nabble.com. -- *Rick Curtis*

Re: Memory leak for long-lived (read-only) EM?

2012-10-30 Thread Rick Curtis
java.lang.Object[ ] jprofiler_images/pixel_ff80.png nbsp;11,296 2,640 kB -- -- *Rick Curtis*

Re: PersistenceException thrown when trying to persist a byte array

2012-10-22 Thread Rick Curtis
wrong as I can't see how to resolve this problem? -- *Rick Curtis*

Re: Why not OpenJPA map BigDecimal to NUMERIC(precision, scale) on database support NUMERIC

2012-10-16 Thread Rick Curtis
tried to fix it, but finally backed out changes because a test regression. DOUBLE cannot represent decimal fractions exactly. Maybe we should consider to change it to NUMERIC. Regards, YaoCL -- *Rick Curtis*

Re: JDK 1.7 seems to be causing an issue with latest snapshot

2012-10-12 Thread Rick Curtis
.nabble.com/JDK-1-7-seems-to-be-causing-an-issue-with-latest-snapshot-tp7581417p7581432.html Sent from the OpenJPA Users mailing list archive at Nabble.com. -- *Rick Curtis*

Re: JDK 1.7 seems to be causing an issue with latest snapshot

2012-10-11 Thread Rick Curtis
Honestly I haven't dug into it... On Thu, Oct 11, 2012 at 10:20 AM, garpinc garp...@yahoo.com wrote: Does that mean there's a bug in oracle 1.7 or that openjpa needs to do something different? -- *Rick Curtis*

Re: JDK 1.7 seems to be causing an issue with latest snapshot

2012-10-10 Thread Rick Curtis
) at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:60) at -- View this message in context: http://openjpa.208410.n2.nabble.com/JDK-1-7-seems-to-be-causing-an-issue-with-latest-snapshot-tp7581417.html Sent from the OpenJPA Users mailing list archive at Nabble.com. -- *Rick Curtis*

Re: not a recognized entity

2012-10-01 Thread Rick Curtis
it Thanks. --- regards Marc Logemann http://www.logemann.org http://www.logentis.de -- *Rick Curtis*

Re: openjpa.RetainState

2012-09-28 Thread Rick Curtis
actually turns off the EntityManager cache. We use the data and query cache so it should not impact operations. My question is if the statement of turning of the EntityManager cache is correct and if so, why doesn't the manual inforn about this effect? Best regards Daniel Persson -- *Rick

Re: Duplicate entry issue with multithreaded application

2012-09-28 Thread Rick Curtis
wrote: Is that clear Rick? I'll be on skype after lunch in a bit if you want to interact... -- -- *Rick Curtis*

Re: Duplicate entry issue with multithreaded application

2012-09-28 Thread Rick Curtis
running in parallel. Is that clearer rick? -- *Rick Curtis*

Re: Duplicate entry issue with multithreaded application

2012-09-27 Thread Rick Curtis
I just started looking this morning and I've created the issue. What DB are you running on? On Thu, Sep 27, 2012 at 9:00 AM, garpinc garp...@yahoo.com wrote: Hey Rick.. Is this testcase sufficient? -- *Rick Curtis*

Re: Duplicate entry issue with multithreaded application

2012-09-27 Thread Rick Curtis
wrote: I'm having issue on all dbs... mysql and oracle are primary by u get same exception on h2 -- -- *Rick Curtis*

Re: Duplicate entry issue with multithreaded application

2012-09-27 Thread Rick Curtis
https://issues.apache.org/jira/browse/OPENJPA-2269 On Thu, Sep 27, 2012 at 9:49 AM, Rick Curtis curti...@gmail.com wrote: Try to patch your openjpa jar with the classes provided in this jar[1]. Let me know how this goes. If it fixes the bug I'll try to get the change into trunk later today

Re: Duplicate entry issue with multithreaded application

2012-09-27 Thread Rick Curtis
) at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushAndUpdate(PreparedStatementManagerImpl.java:118) ... 30 more -- *Rick Curtis*

Re: Duplicate entry issue with multithreaded application

2012-09-26 Thread Rick Curtis
Is this something that you could put into a UT to easily recreate? On Wed, Sep 26, 2012 at 10:47 AM, garpinc garp...@yahoo.com wrote: Thanks Rick... -- *Rick Curtis*

Re: Duplicate entry issue with multithreaded application

2012-09-25 Thread Rick Curtis
I will try to look tomorrow On Sep 25, 2012 3:32 PM, garpinc garp...@yahoo.com wrote: anyone have any ideas on this? -- View this message in context: http://openjpa.208410.n2.nabble.com/Duplicate-entry-issue-with-multithreaded-application-tp7580917p7581211.html Sent from the OpenJPA Users

Re: Duplicate entry issue with multithreaded application

2012-09-24 Thread Rick Curtis
a unique key constraint is violated? Rather than have the whole transaction rollback I'd just like it to get the existing record instead and move on... Rick any ideas here? -- *Rick Curtis*

Re: Can someone explain this OpenJPA trace?

2012-09-21 Thread Rick Curtis
I'd suggest trying to reword your question... I'm struggling to follow what you're asking here. On Fri, Sep 21, 2012 at 8:42 AM, garpinc garp...@yahoo.com wrote: Please someone help here.. I'm dying with this one.. (last big issue I think) -- -- *Rick Curtis*

Re: audit?

2012-09-12 Thread Rick Curtis
a memory leak of every auditable object, which will eventually kill any process. We've had to remove all @Auditable annotations for the time being. Jim -- *Rick Curtis*

Re: audit?

2012-09-12 Thread Rick Curtis
Cancel that. It looks like Pinaki fixed this problem in trunk yesterday. Thanks, Rick On Wed, Sep 12, 2012 at 9:11 AM, Rick Curtis curti...@gmail.com wrote: Jim - Sorry this one fell off my radar... I'll try to get to it today. On Wed, Sep 12, 2012 at 7:09 AM, Jim Talbut jtal

Re: DelagatingResultList

2012-09-04 Thread Rick Curtis
of that object. What can i do ? -- --- *SCJA. José Luis Cetina* --- -- *Rick Curtis*

Re: Exception during commit - null

2012-09-04 Thread Rick Curtis
| at org.apache.openjpa.kernel.BrokerImpl.afterCompletion(BrokerImpl.java:1994) INFO | jvm 1| 2012/08/21 16:28:53 | ... 23 more -- -- *Rick Curtis*

Re: similar issue to https://issues.apache.org/jira/browse/OPENJPA-1607

2012-08-16 Thread Rick Curtis
a persistence.xml in this use case. -- -- *Rick Curtis*

Re: similar issue to https://issues.apache.org/jira/browse/OPENJPA-1607

2012-08-16 Thread Rick Curtis
, Aug 16, 2012 at 3:35 PM, garpinc garp...@yahoo.com wrote: Any ideas Rick? -- -- *Rick Curtis*

Re: Error like Borrow prepareStatement from pool failed

2012-08-10 Thread Rick Curtis
:252) Truncated. see log file for complete stacktrace Any suggestions will be appreciated. Regards, Yu Wang -- *Rick Curtis*

Re: Audit(?) related memory leak/hog

2012-08-08 Thread Rick Curtis
of interest. I am very keen to get to the bottom of this and will respond when I get back, and will provide whatever information you need to identify the problem. Thanks. Jim On 07/08/2012 17:46, Rick Curtis wrote: Jim - No one else has reported memory leak issues when running with Audit

Re: Audit(?) related memory leak/hog

2012-08-07 Thread Rick Curtis
LifecycleEventManager$**ListenerList ... this$0 (I'm not sure how useful that is!) There are a lot of other duplicate JPA entities in memory too, but they are smaller and less of a problem. Is this something I've done or a problem with OpenJPA? Thanks Jim -- *Rick Curtis*

Re: Failing to persist a field where the type is XMLGregorianCalendar.

2012-08-06 Thread Rick Curtis
the fix when it's available? -- -- *Rick Curtis*

Re: ClassCast exception while iterating over an element collection of embeddables

2012-07-23 Thread Rick Curtis
your help on this. Mark -- *Rick Curtis*

<    1   2   3   4   5   6   >