Dec 18th, 2009, 03:49 AM
Scoped-Proxy Hibernate Persistence
I tried to persist an session bean which bean definition also consist a <aop:scoped-proxy /> since it is used by a singleton bean.
Since I added the scoped-proxy the person bean isn't persisted to the DB anymore. The fields in the db table just remain null.
My bean construct is sth like this:
---model (session) contains <aop:scoped-proxy />
|-----person (session) contains <aop:scoped-proxy />
I know that I don t need the scoped-proxy in the person bean cause the model is already scoped but I accidentialy had this configuration. Why isn't it working. After I removed the scoped-proxy from the person definition everything works as desired.
Tags for this Thread