Re: [Hibernate] RE: composite-id still doesn't work for me...

2003-01-24 Thread Gavin . King
I think you need to understand how cascade="all" interacts with unsaved-value, etc. If you have cascade="all", update(parent) will pass the children to saveOrUpdate(). If the children have unsaved-value="none", they will all get updated; if they have unsaved-value="any", they will all get inserted

Re: [Hibernate] State of the Hibernate2 codebase?

2003-01-24 Thread Gavin . King
Hi Jeff, theres a little bug in Hibernate2 SQL generation that has been pointed out in the forum, but it would only affect table joins accross tables with common column names. Anyway, I will fix that tonight or first thing tomorrow, so it will definately be fine for Monday. Apart from that, it i

Re: [Hibernate] saveOrUpdate()

2003-01-24 Thread Mark Woon
[EMAIL PROTECTED] wrote: Yes, I'm glad you raised this Ara, there are a couple of different things I've been speculating about here: (1) An isDirty() interceptor callback, to allow an application to implement its own dirty checking algorithm (2) A new property attribute; update="never|auto", to

Re: [Hibernate] saveOrUpdate()

2003-01-24 Thread Gavin . King
You'll probably also be happy with the new refresh() method in Hibernate2 then, I imagine ;) > I'd love to see #2, since there are quite a few things in my system that > gets update by triggers, and I've been quite worried that these fields > might get overwritten. #1 and #3 are nice to haves, b

[Hibernate] [ hibernate-Patches-662319 ] Codegen for Hibernate 2 - release

2003-01-24 Thread SourceForge.net
Patches item #662319, was opened at 2003-01-05 07:15 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428710&aid=662319&group_id=40712 Category: Codegen Group: None >Status: Closed Resolution: Accepted Priority: 5 Submitted By: Max R. Andersen (maxcsaucdk) Assigned t

[Hibernate] [ hibernate-Patches-670213 ] Support decode in addition to ANSI-style case

2003-01-24 Thread SourceForge.net
Patches item #670213, was opened at 2003-01-18 20:58 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428710&aid=670213&group_id=40712 Category: None Group: None Status: Open Resolution: None Priority: 7 Submitted By: Simon Harris (haruki_zaemon) Assigned to: Nobody/

[Hibernate] [ hibernate-Bugs-672639 ] HB2 generating incorrect join query

2003-01-24 Thread SourceForge.net
Bugs item #672639, was opened at 2003-01-23 06:08 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=672639&group_id=40712 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Simon Harris (haruki_zaemon) Assigned to: Nobody/Ano

[Hibernate] [ hibernate-Feature Requests-673173 ] Really lazy collection loading

2003-01-24 Thread SourceForge.net
Feature Requests item #673173, was opened at 2003-01-23 08:37 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428711&aid=673173&group_id=40712 Category: None Group: None Status: Open Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (

[Hibernate] [ hibernate-Patches-673820 ] Dialect class for INGRES databases

2003-01-24 Thread SourceForge.net
Patches item #673820, was opened at 2003-01-24 05:18 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428710&aid=673820&group_id=40712 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Ian Booth (ibooth) Assigned to: Nobody/Anonymous

[Hibernate] [ hibernate-Patches-673820 ] Dialect class for INGRES databases

2003-01-24 Thread SourceForge.net
Patches item #673820, was opened at 2003-01-24 16:18 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428710&aid=673820&group_id=40712 Category: None Group: None Status: Open Resolution: None >Priority: 7 Submitted By: Ian Booth (ibooth) Assigned to: Nobody/Anonymous

[Hibernate] [ hibernate-Bugs-672639 ] HB2 generating incorrect join query

2003-01-24 Thread SourceForge.net
Bugs item #672639, was opened at 2003-01-23 06:08 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=672639&group_id=40712 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Simon Harris (haruki_zaemon) Assigned to: Nobody/Ano

[Hibernate] [ hibernate-Patches-670213 ] Support decode in addition to ANSI-style case

2003-01-24 Thread SourceForge.net
Patches item #670213, was opened at 2003-01-18 20:58 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428710&aid=670213&group_id=40712 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Simon Harris (haruki_zaemon) Assigned to: Nobody/

[Hibernate] Codegen usertype curiosity :)

2003-01-24 Thread Max Rydahl Andersen
Hi! Just "stumbled" across this "bug"/"missing feature" in the codegenerator. If the user has defined its own UserType, e.g. DoubleStringType then the codegenerator actually naively assumes the property is of type DoubleStringType and not String[] (which is the case for exactly this situation).

Re: [Hibernate] hibernate unittests not "compatible" with eclipse...

2003-01-24 Thread Max Rydahl Andersen
Could anyone (Gavin?) please send me their eclipse configuration as mentioned in the below mail ? (im curious to find out why you can ever run unittests from inside eclipse without failures ...(as eclipse does NOT call the suite() method) /max - Original Message - From: "Max Rydahl Anders

Session eviction (was Re: [Hibernate] Using CLOBs)

2003-01-24 Thread Chris Nokleberg
On Fri, Jan 03, 2003 at 03:10:21PM +1100, Gavin King wrote: > For Hibernate 2, should we add one or both of: > > Session.evict(foo); //remove foo from the Session-level cache > Session.refresh(foo); //reload foo's state from the database > > There *would* be some exotic cases (like this one) wher

[Hibernate] [ hibernate-Patches-672865 ] Fix for too-long column name aliases

2003-01-24 Thread SourceForge.net
Patches item #672865, was opened at 2003-01-23 12:22 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428710&aid=672865&group_id=40712 Category: None Group: None Status: Open Resolution: None Priority: 8 Submitted By: Mark Woon (unkyaku) Assigned to: Nobody/Anonymous

[Hibernate] Using Multiple databases

2003-01-24 Thread Toni Charlot
Is it legal to do the following in order to use multiple databases in the same application? In the second session-factory element, I'm passing a new url/user/pass but using the same dialect. false true net.sf.hibernate.dialect.InterbaseDialect

[Hibernate] [ hibernate-Patches-670829 ] Dialect detection in SchemaUpdater

2003-01-24 Thread SourceForge.net
Patches item #670829, was opened at 2003-01-20 09:15 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428710&aid=670829&group_id=40712 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Michael Locher (mlocher) Assigned to: Nobody/Anon

RE: [Hibernate] saveOrUpdate()

2003-01-24 Thread Andrej Gabara
Title: RE: [Hibernate] saveOrUpdate() # > (4) Reintroduce dynamically generated SQL UPDATEs (which only # > update dirty columns), as an option. I implemented this feature # > at one stage, but the performance gains were not what you would # > expect in my tests. However, it is w

[Hibernate] [ hibernate-Bugs-672639 ] HB2 generating incorrect join query

2003-01-24 Thread SourceForge.net
Bugs item #672639, was opened at 2003-01-23 06:08 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=672639&group_id=40712 Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Simon Harris (haruki_zaemon) Assigned to: Nobod

[Hibernate] [ hibernate-Feature Requests-673173 ] Really lazy collection loading

2003-01-24 Thread SourceForge.net
Feature Requests item #673173, was opened at 2003-01-23 08:37 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428711&aid=673173&group_id=40712 Category: None Group: None Status: Open Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (

Re: Session eviction (was Re: [Hibernate] Using CLOBs)

2003-01-24 Thread Chris Nokleberg
On Fri, Jan 24, 2003 at 10:30:08AM -0800, Chris Nokleberg wrote: > So, how about > query.setTransient(true)? > > All objects returned by the query would be transient and not take up > space in the cache. Before I forget, if you have setTransient you could also have query.setReuseInstances(tr

[Hibernate] [ hibernate-Patches-670213 ] Support decode in addition to ANSI-style case

2003-01-24 Thread SourceForge.net
Patches item #670213, was opened at 2003-01-18 20:58 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428710&aid=670213&group_id=40712 Category: None Group: None Status: Open Resolution: None >Priority: 7 Submitted By: Simon Harris (haruki_zaemon) Assigned to: Nobody

[Hibernate] [ hibernate-Feature Requests-673173 ] Really lazy collection loading

2003-01-24 Thread SourceForge.net
Feature Requests item #673173, was opened at 2003-01-23 08:37 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428711&aid=673173&group_id=40712 Category: None Group: None Status: Open Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (

[Hibernate] [ hibernate-Patches-672865 ] Fix for too-long column name aliases

2003-01-24 Thread SourceForge.net
Patches item #672865, was opened at 2003-01-23 12:22 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428710&aid=672865&group_id=40712 Category: None Group: None Status: Open Resolution: None >Priority: 6 Submitted By: Mark Woon (unkyaku) Assigned to: Nobody/Anonymou

[Hibernate] [ hibernate-Feature Requests-673173 ] Really lazy collection loading

2003-01-24 Thread SourceForge.net
Feature Requests item #673173, was opened at 2003-01-24 03:37 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428711&aid=673173&group_id=40712 Category: None Group: None Status: Open Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (

RE: [Hibernate] saveOrUpdate()

2003-01-24 Thread Ara Abrahamian
> (1) An isDirty() interceptor callback, to allow an application to > implement its own dirty checking algorithm Good idea. In some case simple equals() is not enough. Let the application have some sort of control, if needed. > (2) A new property attribute; update="never|auto", to declare >

[Hibernate] [ hibernate-Patches-670829 ] Dialect detection in SchemaUpdater

2003-01-24 Thread SourceForge.net
Patches item #670829, was opened at 2003-01-20 09:15 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428710&aid=670829&group_id=40712 Category: None Group: None >Status: Closed >Resolution: Accepted Priority: 5 Submitted By: Michael Locher (mlocher) Assigned to: Nob