[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-1536) Replacing HibernateProxy witha custom proxy and using custom interceot methods

Steve Ebersole (JIRA) noreply at atlassian.com
Mon Mar 21 13:01:03 EDT 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole closed HHH-1536.
-------------------------------


Closing stale resolved issues

> Replacing HibernateProxy witha  custom proxy and using custom interceot methods
> -------------------------------------------------------------------------------
>
>                 Key: HHH-1536
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1536
>             Project: Hibernate Core
>          Issue Type: New Feature
>            Reporter: geminygirl1
>
> I am really sorry to post this here. I am sure that user forums would have been a better place to post this. But I have been waiting for almost two weeks now and I am still not able to log on to teh user forums and since I am running out of time I am going ahead and posting it here.
> I just need some help to figure out  how is it is at all possible, can I use a custom Proxy rather than HibernateProxy or may be use some callback to replace the proxy by my own proxy. My problem is that I need to generate some custom exceptions if a proxy is invoked outside the hibernate session.
> I understand I am new to Hibernate but beieve me I have gone through user forums and issue lists but I am not able to get any straightforward solution and also not able to get any detailed documentation. Like I know that in teh hbm file we have an attribute proxy but I am not really sure exactly what this would do or how it would impact teh working of Hibernate.
> I would appreciate if you could point me to some example or article... anything at all.
> I really do not want to traverse the whole object graph and replace the HibernateProxies with custom proxy. In short iw ant to avoid the extra object traversal.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list