Re: [Hibernate] cglib reflect package

2003-09-26 Thread Bill Burke
FYI, I created similar functionality of CGLIBs "fast reflection" for our AOP framework and it had an unnoticeable affect on the performance of the framework. This was with Sun JDK 1.4.1_02 on Linux. Considering that Hibernate's overhead is probably a lot higher, I don't think it will have an

Re: [Hibernate] cglib reflect package

2003-09-26 Thread Juozas Baliuka
It has meaning for trivial methods "getters/setters" or "empty" constuctors. I am not sure, but looks like Sun JDK 1.4.1_02 generates code to optimize native method invokation too. - Original Message - From: "Bill Burke" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 2

[Hibernate] Re: cglib reflect package

2003-09-26 Thread Chris Nokleberg
Bill Burke wrote: > I created similar functionality of CGLIBs "fast reflection" for our AOP > framework and it had an unnoticeable affect on the performance of the > framework. This was with Sun JDK 1.4.1_02 on Linux. Considering that > Hibernate's overhead is probably a lot higher, I don't think

Re: [Hibernate] Re: cglib reflect package

2003-09-26 Thread Gavin King
p.s. the BulkBean class also now throws an exception detailing which property failed, so you can print a better error message. Hooray! You have no idea how much forum posts this will save us --- This sf.net email is sponsored by:ThinkG

Re: [Hibernate] Re: cglib reflect package

2003-09-26 Thread Juozas Baliuka
It is possible to find problem outside generated code for optimization: setValues(bean,values); }catch( NullPointerException npe){ for( int i = 0; i < propertyCount; i++ ){ if( types[i].isPrimityve() && values[i] == null ){ throw new NullPointerException( "can not set null for

[Hibernate] Hibernate Bug? [ConcurrentModificationException]

2003-09-26 Thread William R. Lorenz
Fellow Hibernaters, I'm receiving an Exception in a Hibernate application I've built, and I'm a bit confused as to why this might be happening. The code at where the Exception is thrown is quite simple, and I think this might be a bug in Hibernate itself. I've searched Google for this to no avai