Announcement Announcement Module
Collapse
No announcement yet.
Scoped-Proxy Hibernate Persistence Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
Working...
X