Yep, you're right. I actually never ran into the problems in 2.1. Probably didn't use final. The proxy generation has changed though (don't ask me the details), and we had problems with 3.0 we didn't have in 2.1. Pretty sure it was the 2.1 - 3.0 difference, as we upgraded in the midst of a project and ran into a bunch of problems then.

Phil Kulak wrote:

And that wasn't a problem with < 3.0? Hibernate has always used CGLib
for proxying, and CGLib can't proxy anything final. I use field
access, though. That way you don't have to worry about any of that
because Hibernate will do bytecode manipulation. I've heard nice
things about JDO, but I've been using the EJB3 annotations lately, and
I think that's where it's at. Very nice.

Yeah, I dig the annotations too. I'd like to go EJB 3 (undependent of Hibernate) as soon as I can.

Eelco

On 7/14/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
As a side note: one thing that sucks about Hibernate now is the way they
do their proxying in 3.0 We have had a bunch of problems with it. Most
notably, you can't have final classes, as Hibernate can't create proxies
for them. If you do, you get exceptions. Worse, if you have final
getters and setters, Hibernate can't create proxy methods for them. But
Hibernate won't tell you! It took us (Maurice and I) many hours to
finally discover this.

Just wanted to say that other frameworks like Cayenne and JDO (it's a
spec, okay) can still be viable alternatives.

Eelco


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to