s2portlet+s2hibernate

seasar 2.4.0-beta-1 にして、s2hibernate と s2portlet を使うと、以下のようなことを言われる。はて、どうしたものか。

2006.04.14,07:48:03,037,ConnectionManager.java:239,DEBUG,transaction completed on session with on_close connection release mode; be sure to close the session to release JDBC resources!
2006.04.14,07:48:03,038,SessionImpl.java:442,DEBUG,after transaction completion
2006.04.14,07:48:03,041,Logger.java:117,DEBUG,論理的なコネクションを閉じました
2006.04.14,07:48:03,042,AddressListEditPageBean.java:744,DEBUG,setAddressListSession(AddressListSessionBean) - owner=jp.sf.pal.addresslist.param.guest, username=jp.sf.pal.addresslist.param.guest, publicListString=true
2006.04.14,07:48:03,046,LazyInitializationException.java:19,ERROR,failed to lazily initialize a collection of role: jp.sf.pal.addresslist.model.User.postals, no session or session was closed
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: jp.sf.pal.addresslist.model.User.postals, no session or session was closed
at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:358)
at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:350)
at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:343)
at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86)
at org.hibernate.collection.PersistentSet.iterator(PersistentSet.java:138)
at jp.sf.pal.addresslist.model.User.getHomePostal(User.java:300)
at jp.sf.pal.addresslist.bean.AddressListEditPageBean.setAddressListSession(AddressListEditPageBean.java:777)

もしかして、PortletFilterChainTxをやめたからか・・・。後でためそ・・・

コメントを残す

メールアドレスが公開されることはありません。