Re: [Hibernate] Why should Session.load failure invalidate session?

2003-01-28 Thread Chris Nokleberg
On Wed, Jan 29, 2003 at 09:12:55AM +1100, [EMAIL PROTECTED] wrote: > Why not just do > > Session.find("from o in class MyClass where o.id=?", .) > > thats basically equivalent to Session.load(), but throws no exceptions Okay. > >I imagine the tricky bit is that the different JDBC driver

Re: [Hibernate] find with UserType

2003-01-28 Thread Gavin . King
Hibernate.custom(MyUserType.class) "Viktor Szathmary"

Re: [Hibernate] Why should Session.load failure invalidate session?

2003-01-28 Thread Gavin . King
>From the Best Practices page: > Don't treat exceptions as recoverable > >I think it would be helpful if Hibernate could guarantee in-memory state >at least for particular types of failures. In particular, Session.load >seems useful (and feasible?). > >What is driving this request is a need for

[Hibernate] Why should Session.load failure invalidate session?

2003-01-28 Thread Chris Nokleberg

[Hibernate] find with UserType

2003-01-28 Thread Viktor Szathmary
hi, how is one supposed to do a find() where a parameter is a user type? i wrote an URLUserType that just maps to a single varchar field (so i tried Hibernate.STRING as the type), but i cant seem to be able to query these fields properly (ClassCastException). i can provide more details if needed,

[Hibernate] [ hibernate-Patches-675953 ] JRun4TransactionManagerLookup

2003-01-28 Thread SourceForge.net
Patches item #675953, was opened at 2003-01-28 01:34 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428710&aid=675953&group_id=40712 Category: None Group: Unstable (example) Status: Open Resolution: None Priority: 5 Submitted By: Joseph Bissen (bissenj) Assigned to

[Hibernate] [ hibernate-Feature Requests-666485 ] SchemaUpdater with custom Properties

2003-01-28 Thread SourceForge.net
Feature Requests item #666485, was opened at 2003-01-12 14:49 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428711&aid=666485&group_id=40712 Category: None Group: None >Status: Closed Priority: 5 Submitted By: Viktor Szathmary (phraktle) Assigned to: Nobody/Anonym

Re: [Hibernate] delete and then insert of M-N ...any solution ?

2003-01-28 Thread Gavin . King
It seems like a lot of people are unhappy with the current behaviour, so I'm open to suggestions. The easiest way may simply be to give the collection a reference to its snapshot that it can carry around with it and re-use in new sessions. An even simpler solution (for collections of "immutable"

[Hibernate] two questions

2003-01-28 Thread Владимир
Hello! I have two questions: 1) How can I make cascade deleting in table, wich have foreign key to herself? 2) How correctly use bidirectional relationship without read-only mode on one-to-many side. When I used disabled read-only mode, two foreign keys were generate. How can I solve this tr

[Hibernate] [ hibernate-Bugs-675729 ] query import error in hql

2003-01-28 Thread SourceForge.net
Bugs item #675729, was opened at 2003-01-28 08:08 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=675729&group_id=40712 Category: None Group: None >Status: Closed >Resolution: Rejected Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobod

[Hibernate] [ hibernate-Bugs-675936 ] Update after insert... Why?

2003-01-28 Thread SourceForge.net
Bugs item #675936, was opened at 2003-01-27 22:25 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=675936&group_id=40712 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Benoit Menendez (bmenendez) Assigned to: Nobody/Anon

[Hibernate] [ hibernate-Bugs-675936 ] Update after insert... Why?

2003-01-28 Thread SourceForge.net
Bugs item #675936, was opened at 2003-01-28 17:25 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=675936&group_id=40712 Category: None Group: None >Status: Closed >Resolution: Rejected Priority: 5 Submitted By: Benoit Menendez (bmenendez) Assigned to: Nob

[Hibernate] [ hibernate-Feature Requests-642142 ] mapping presevation

2003-01-28 Thread SourceForge.net
Feature Requests item #642142, was opened at 2002-11-22 17:06 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428711&aid=642142&group_id=40712 Category: None Group: None Status: Open >Priority: 1 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous

[Hibernate] [ hibernate-Feature Requests-650585 ] SchemaExport for hibernate.cfg.xml

2003-01-28 Thread SourceForge.net
Feature Requests item #650585, was opened at 2002-12-09 09:34 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428711&aid=650585&group_id=40712 Category: None Group: None Status: Open Priority: 7 Submitted By: Gavin King (oneovthafew) Assigned to: Nobody/Anonymous (n

[Hibernate] Everything new Is Old28484

2003-01-28 Thread Cherry
This mail is probably spam. The original message has been attached along with this report, so you can recognize or block similar unwanted mail in future. See http://spamassassin.org/tag/ for more details. Content preview: adv_mailer.gif This message is an advertisement. We will continue to br

[Hibernate] [ hibernate-Bugs-675729 ] query import error in hql

2003-01-28 Thread SourceForge.net
Bugs item #675729, was opened at 2003-01-27 13:08 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=675729&group_id=40712 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonym

[Hibernate] [ hibernate-Bugs-675321 ] using path expression that dereferences a

2003-01-28 Thread SourceForge.net
Bugs item #675321, was opened at 2003-01-27 10:30 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=675321&group_id=40712 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Xavier Poinsard (xpoinsard) Assigned to: Nobody/Anon