Re: apache-openjpa-1.0.2 performance degrade under long-run press testing

2008-03-24 Thread wang yu
Kevin,Can you tell me how to replay a thread in openjpa? I didn't find any link to reply a topic on the web page. For openjap on tomcat issue, since tomcat is not a EE5 compliant application server, we need enhance all entity class on the compilation time. You can add enhancement action into your

Re: apache-openjpa-1.0.2 performance degrade under long-run press testing

2008-03-24 Thread Kevin Sutter
Thanks, Yu. That makes sense. And, the information may help future users of OpenJPA. Kevin On Mon, Mar 24, 2008 at 2:56 AM, wang yu [EMAIL PROTECTED] wrote: Kevin,Can you tell me how to replay a thread in openjpa? I didn't find any link to reply a topic on the web page. For openjap on

Re: difference between openJPA and Hibernate?

2008-03-24 Thread Adam Hardy
Mick Knutson on 22/03/08 18:52, wrote: Can someone please point me to a tutorial or something that will help me understand the difference between openJPA and Hibernate? have a look in the archives over the last month. There was a post from Rick Hightower asking for comparative opinions about

Re: JPA update entities every (even empty) commit

2008-03-24 Thread Michael Dick
Hi Bardolf, I don't think there's a way to do a partial commit without detaching the entities you don't want to update. The OpenJPAEntityManager interface provides some utility methods which detach all entities in a collection, which might make detaching a set of entities easier though.

Re: persist order in sorted collections

2008-03-24 Thread Andy Schlaikjer
Here are two solutions, both of which involve the @OrderBy annotation: http://openjpa.apache.org/docs/latest/manual/jpa_overview_meta_field.html#jpa_overview_meta_orderby (1) If your Entities themselves contain a column on which you'd like to sort, then use the @OrderBy annotation on the

Re: persist order in sorted collections

2008-03-24 Thread os_developer
Thanks Andy. I thought I may have read about it here before but was just having no luck finding it. I appreciate the links and info. Andrea --- Andy Schlaikjer [EMAIL PROTECTED] wrote: Here are two solutions, both of which involve the @OrderBy annotation:

Migrating ejb 2.1 entity beans to jpa in weblogic

2008-03-24 Thread Charlie Walker
Hi, I'm working on a project that involves migrating a set of ejb2.1 entity beans to jpa. The big snag we have run into is that the old code used a weblogic specific descriptor delay-updates-until-end-of-txfalse/delay-updates-until-end-of-tx. the bea website documents this flag as such: