RE: hibernate conversion items

2009-03-22 Thread jlawmi
Thanks Nitish. In hibernate calling a getter doesn't force initialization, at least on many-one fields, but I'll try it out. Since openjpa doesn't use cglib that makes sense. --James -- View this message in context: http://n2.nabble.com/hibernate-conversion-items-tp2511309p2517170.html Sent fr

Re: Slow performance with OpenJPA when selecting from a ManyToMany relation.

2009-03-22 Thread Shubbis
Hi Kevin, All the implementations are run using each framework's default settings. With only a few exceptions. For instance, openjpa needs to enhance files in order to perform as expected etc. Small changes that do not require in depth knowledge of the frameworks are allowed. Not all scenarios

Re: Slow performance with OpenJPA when selecting from a ManyToMany relation.

2009-03-22 Thread Shubbis
Hi Michael and everyone else involved! I greatly appreciate the efforts put into this and I'm glad to report that simple testing at home, with the same laptop I use during the project, it seems that i get the desired performance when enabling ConnectionRetainMode = always. I will of course contin

RE: hibernate conversion items

2009-03-22 Thread Nitish Kumar
Hi James, I don't remember reading about any such API in OpenJpa (some body please correct me if there is one), but getting that information should not be that difficult. I just wrote a little API which would get you the information, if the property has been loaded or not. Based on my r