Hibernate version: 3.0.5
In the Hibernate application that we're working on, we've got a generic
saveObject method in one of our DAOs. The intent of this method is to
insert the object if it is transient or "update" it if it is detached. The
database we're using has a set of triggers that execute
Juozas, I don't really understand what you are proposing here.
What is a "field interception based proxy"?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
baliuka juozas
Sent: Wednesday, 29 June 2005 9:30 AM
To: hibernate-devel@lists.sourceforge.net
Subje
On Jun 30, 2005, at 7:02 PM, Jason Voegele wrote:
Does anyone have any insight into this problem?
Why do you think the developer mailing list is the right place to ask
usage questions when everything on our website tells you not to do so?
I think it must be usefull to avoid proxy generation
if persistent class implements "HibernateProxy"
itself. I am going to implement it at build time using
field interceptor ( it will take less time on startup
and it will use less permanent memory ). It is not a
"proxy", but it will work in the s
Will it work with polymorphic -to-one associations?
You still need the indirection in that case, don't you?
-Original Message-
From: baliuka juozas [mailto:[EMAIL PROTECTED]
Sent: Thursday, 30 June 2005 11:37 AM
To: Gavin King; hibernate-devel@lists.sourceforge.net
Subject: RE: [Hibernat
On Thu, June 30, 2005 1:25 pm, Christian Bauer said:
> On Jun 30, 2005, at 7:02 PM, Jason Voegele wrote:
>> Does anyone have any insight into this problem?
>
> Why do you think the developer mailing list is the right place to ask
> usage questions when everything on our website tells you not to do
I see no good way to make it lazy and to create the
right type for polymorphic associations, if I
understand the problem correctly then we need to know
"discriminator" value before to create instance
anyway.
--- Gavin King <[EMAIL PROTECTED]> wrote:
> Will it work with polymorphic -to-one asso
Yes, exactly.
-Original Message-
From: baliuka juozas [mailto:[EMAIL PROTECTED]
Sent: Thursday, 30 June 2005 1:22 PM
To: Gavin King; hibernate-devel@lists.sourceforge.net
Subject: RE: [Hibernate] Field interception based proxies
I see no good way to make it lazy and to create the right
Probably single workaround is public "cast" or
"narrow" method in API, we can load object if it is
not loaded and to remove proxy from session cache.
--- Gavin King <[EMAIL PROTECTED]> wrote:
> Yes, exactly.
>
> -Original Message-
> From: baliuka juozas [mailto:[EMAIL PROTECTED]
> Sent