This content has been marked as final.
Show 3 replies
-
1. Re: CMP fields is null after half an hour after creation
cisbrh Feb 21, 2002 8:56 AM (in response to morten)Have try to check the transaction attribute on your bean. I know that for JBoss 2.x.x, you must specified the transcation attribute otherwise nothing gets in the database.
Benjamin -
2. Re: CMP fields is null after half an hour after creation
morten Feb 22, 2002 4:25 AM (in response to morten)Well I did add all the methods of my beans in the ejb-jar.xml file in the assembly descriptor and set the trans-attribute to "Required".
<assembly-descriptor>
<container-transaction>
...
<ejb-name>
server.coursePackage.PublishCourseSetEJB
</ejb-name>
<method-name>*</method-name>
...
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor> -
3. Re: CMP fields is null after half an hour after creation
morten Feb 25, 2002 9:27 AM (in response to morten)Well the problem is solved...
I forgot to write in some cmp fields in the ejb-jar.xml file. I did'nt realize that since JBoss did cache the data for half an hour.
Morten
Denmark