IBM SG24-6320-00 Marine Radio User Manual


 
6320ch_DEV_post_migration.fm Draft Document for Review July 28, 2004 7:33 pm
146 Keeping Commerce Applications Updated WebSphere Commerce 5.1 to 5.6 Migration Guide
Example 8-7 Example ibm-ejb-access-bean.xmi file
<?xml version="1.0" encoding="UTF-8"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
xmlns:accessbean="accessbean.xmi" xmlns:ejb="ejb.xmi">
<accessbean:EJBShadow xmi:id="EJBShadow_1086361148891"
name="Test" factoryPackageName="com.mycompany.ejb">
<accessBeans xmi:type="accessbean:Type2AccessBean"
xmi:id="Type2AccessBean_1086361148891" name="TestAccessBean"
package="com.mycompany.ejb" version="WSAD-1.0">
<copyHelperProperties xmi:id="CopyHelperProperty_1086361148891"
name="field1" type="java.lang.String"
getterName="getField1"
setterName="setField1"
converterClassName="com.ibm.commerce.command.ECStringConverter"/>
<copyHelperProperties xmi:id="CopyHelperProperty_1086361148892"
name="field3" type="java.sql.Date"
getterName="getField3"
setterName="setField3"/>
<copyHelperProperties xmi:id="CopyHelperProperty_1086361148893"
name="field2" type="java.lang.Long"
getterName="getField2"
setterName="setField2"
converterClassName="com.ibm.commerce.command.ECStringConverter"/>
<nullConstructor xmi:id="MethodElement_1086361148891"
name="create" parms="java.lang.Long" type="Home">
<enterpriseBean xmi:type="ejb:ContainerManagedEntity"
href="META-INF/ejb-jar.xml#Test"/>
</nullConstructor>
<nullConstructorParameters xmi:id="Parameter_1086361148891"
name="id" type="java.lang.Long" isFieldFromKey="false"/>
</accessBeans>
<enterpriseBean xmi:type="ejb:ContainerManagedEntity"
href="META-INF/ejb-jar.xml#Test"/>
</accessbean:EJBShadow>
</xmi:XMI>
Change the access isolation level
EJBs built for WebSphere Commerce Suite V5.1 were expected to have their
isolation level set the Read Committed. For WebSphere Commerce V5.5 and
above, this was changed to Repeatable Read being the required value. In order
to comply with this, your migrated beans must have their isolation levels updated.
To do this, complete the following steps:
1. If it is not already open, launch WebSphere Studio Application Developer
V5.1.1.