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 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 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: [Hibernate] Field interception based proxies
> 
> 
> 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 same way  from
> user point of view ( without changes in mapping
> files, just an heuristic
> optimization ). As I understand it  needs trivial
> changes in proxy
> factory, but it makes sence with many domain
> classes.
> 
> --- Gavin King <[EMAIL PROTECTED]> wrote:
> 
> > 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
> > Subject: [Hibernate] Field interception based
> proxies
> > 
> > Hi,
> > I am going to implement field interception based
> proxies, I will need 
> > this stuff for projects with many classes (I see
> it can be implemnted 
> > using custom persister), probably it makes sence
> to add this feature 
> > for hibernate too if this is interesting for
> hibernate community.
> > Implemetation must be trivial, but there is single
> problem with id 
> > field name. I can asume this field name is always
> "id", but if we are 
> > going to make this stuff public then we need to
> find better way.
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> > http://mail.yahoo.com
> > 
> > 
> >
>
-------------------------------------------------------
> > SF.Net email is sponsored by: Discover Easy Linux
> Migration Strategies
> 
> > from IBM. Find simple to follow Roadmaps,
> straightforward articles, 
> > informative Webcasts and more! Get everything you
> need to get up to 
> > speed, fast.
> >
>
http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> > _______________________________________________
> > hibernate-devel mailing list
> > hibernate-devel@lists.sourceforge.net
> >
>
https://lists.sourceforge.net/lists/listinfo/hibernate-devel
> > 
> > 
> >
>
-------------------------------------------------------
> > SF.Net email is sponsored by: Discover Easy Linux
> Migration Strategies
> 
> > from IBM. Find simple to follow Roadmaps,
> straightforward articles, 
> > informative Webcasts and more! Get everything you
> need to get up to 
> > speed, fast.
> >
> http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
> > _______________________________________________
> > hibernate-devel mailing list
> > hibernate-devel@lists.sourceforge.net
> >
>
https://lists.sourceforge.net/lists/listinfo/hibernate-devel
> > 
> 
> 
> 
>               
> ____________________________________________________
> Yahoo! Sports
> Rekindle the Rivalries. Sign up for Fantasy Football
> http://football.fantasysports.yahoo.com
> 



                
__________________________________ 
Yahoo! Mail 
Stay connected, organized, and protected. Take the tour: 
http://tour.mail.yahoo.com/mailtour.html 



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to