Re: [Hibernate] Lazy components

2004-02-25 Thread Gavin King
Well, lazy loading of a field is only useful if we have a huge text or binary field and we don't want to serialize it to and from the database each time we load the object. However, in Hibernate there are other workarounds for this situation (query projection, Lightweight Class, etc.) Henri Trembla

Re: [Hibernate] Feature question

2004-02-25 Thread Gavin King
We are calling this "view profiles". It is a major roadmap feature for 2.2. Matt Dowell wrote: All, We had a request from a developer. Is there some way to create mapping files for a specific use case? This developers issue is we have an Invoice with Invoice Lines and a filter in the map to only

Re: [Hibernate] Feature question

2004-02-25 Thread Gavin King
We are calling this "view profiles". It is a major roadmap feature for 2.2. Matt Dowell wrote: All, We had a request from a developer. Is there some way to create mapping files for a specific use case? This developers issue is we have an Invoice with Invoice Lines and a filter in the map to only

[Hibernate] Feature question

2004-02-25 Thread Matt Dowell
All, We had a request from a developer. Is there some way to create mapping files for a specific use case? This developers issue is we have an Invoice with Invoice Lines and a filter in the map to only show non-deleted lines. This user has a particular use case where they need to show ALL lines.

Re: [Hibernate] Issues at FinderRenderer class

2004-02-25 Thread Max Rydahl Andersen
Well, what do you think guys ? Add it as a JIRA and I will integrate the changes ;) /max --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Cli

[Hibernate] Issues at FinderRenderer class

2004-02-25 Thread Jerome Bonnet
I have a couple of issues and correction to submit to the mailing list for comment. I use the finder renderer In hibernate-extension (hbm2java.FinderRenderer) and I found problems with them. The file is: \hibernate-extensions-2.0.2\tools\src\net\sf\hibernate\tool\hbm2java\Fin derRenderer.java 1)Fi

RE: [Hibernate] Lazy components

2004-02-25 Thread Henri Tremblay
I think I can't agree more with everything you said. And I didn't know the thing about the database reading the complete row anyway. It makes vanish the last argument I can think of for component lazy loading. From: "Joshua Davis" <[EMAIL PROTECTED]> To: "'Henri Tremblay'" <[EMAIL PROTECTED]>,"'h

Re: [Hibernate] MSJdbcProxy is now a SourceForge Project

2004-02-25 Thread Christian Bauer
On 25 Feb (11:44), Eric Pugh wrote: > I updated the related bugs and forum postings with the link, I'd also like > to update the related projects page with a link to make it easier for users > to find it. However, I don't have the permissions for that page. Add it to the database compatibility p

[Hibernate] MSJdbcProxy is now a SourceForge Project

2004-02-25 Thread Eric Pugh
Hi all, I took the earlier suggestion and made the proxying (proxing?) code that was contributed a SourceForge project: http://msjdbcproxy.sf.net. Right now it only has a provider for Hibernate, plus some directions on how to use it. It has solved my problem with the order of reading from a recor

RE: [Hibernate] Lazy components

2004-02-25 Thread Joshua Davis
> -Original Message- > From: Henri Tremblay [mailto:[EMAIL PROTECTED] > Sent: Monday, February 23, 2004 5:26 PM > To: Joshua Davis; 'Gavin King'; 'hibernate-devel' > Subject: Re: [Hibernate] Lazy components [snip] > That said, the benefit of having lazy loading on components > will be

Re: [Hibernate] Lazy components

2004-02-25 Thread Emmanuel Bernard
This is clearly not what the patch does. I attached it after imoplementing it wo reading that much the bug. I'll check that with Gavin on what to do about that. FYI the patch allow exception raise when a null component is set when not-null="true". This is the same behavior as provides. > No, you