Re: [Wicket-user] attention hibernate users

2005-07-14 Thread Nick Heudecker
That's okay. I just finished a book on Hibernate so I had to learn the details. With the EntityManager coming in 3.1, you should be able to abstract Hibernate out of the picture even more. On 7/14/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Ok, ok, I admit. Typical case of RTFM :) > > Eel

Re: [Wicket-user] attention hibernate users

2005-07-14 Thread Eelco Hillenius
Ok, ok, I admit. Typical case of RTFM :) Eelco Eelco Hillenius wrote: Ah, that could be the explanation. Didn't know that. Eelco Nick Heudecker wrote: Proxies and lazy collections became the default in 3.0. --- SF.Net email is sp

Re: [Wicket-user] attention hibernate users

2005-07-14 Thread Jonathan Carlson
Very nice. Thanks all! >>> [EMAIL PROTECTED] 2005-07-14 11:54:24 AM >>> Hibernate has Criteria objects: http://www.hibernate.org/hib_docs/reference/en/html/querycriteria.html and query by example: http://www.hibernate.org/hib_docs/reference/en/html/querycriteria.html#querycriteria-examples E

Re: [Wicket-user] attention hibernate users

2005-07-14 Thread Eelco Hillenius
Ah, that could be the explanation. Didn't know that. Eelco Nick Heudecker wrote: Proxies and lazy collections became the default in 3.0. --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple

Re: [Wicket-user] attention hibernate users

2005-07-14 Thread Eelco Hillenius
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 proj

Re: [Wicket-user] attention hibernate users

2005-07-14 Thread Nick Heudecker
Proxies and lazy collections became the default in 3.0. On 7/14/05, Phil Kulak <[EMAIL PROTECTED]> 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 a

Re: [Wicket-user] attention hibernate users

2005-07-14 Thread Phil Kulak
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 u

Re: [Wicket-user] attention hibernate users

2005-07-14 Thread Eelco Hillenius
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

Re: [Wicket-user] attention hibernate users

2005-07-14 Thread Phil Kulak
The Hibernate 3 Criteria API is exceptional. I don't think there's any query that can't be represented at this point. Definately check it out. On 7/14/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Hibernate has Criteria objects: > http://www.hibernate.org/hib_docs/reference/en/html/querycriteri

Re: [Wicket-user] attention hibernate users

2005-07-14 Thread Eelco Hillenius
Hibernate has Criteria objects: http://www.hibernate.org/hib_docs/reference/en/html/querycriteria.html and query by example: http://www.hibernate.org/hib_docs/reference/en/html/querycriteria.html#querycriteria-examples Eelco Jonathan Carlson wrote: I am a Cayenne user but I'd like some feedb

Re: [Wicket-user] attention hibernate users

2005-07-14 Thread Nick Heudecker
You're looking for the Criteria queries. Check the API and reference guide. On 7/14/05, Jonathan Carlson <[EMAIL PROTECTED]> wrote: > I am a Cayenne user but I'd like some feedback on Hibernate. > > Cayenne has a really nice Java interfact to allow dynamic adding of > qualifiers (WHERE or AND cl

[Wicket-user] attention hibernate users

2005-07-14 Thread Jonathan Carlson
I am a Cayenne user but I'd like some feedback on Hibernate. Cayenne has a really nice Java interfact to allow dynamic adding of qualifiers (WHERE or AND clauses) and orderings to a basic cayenne SelectQuery. For example: (Finds all users with address with city of "New York" born after today ;-)