-
Dec 18th, 2009, 03:49 AM
#1
Scoped-Proxy Hibernate Persistence
Hi,
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:
controller (singleton)
|
---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.
Regards
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules