|
| Try to develop a simple jdbc sdo enabled portlet with RAD6 and Portal Test Env 5.1.0.2, getting a NoClassDefFoundError: com.ibm.websphere.models.util.MapDataObjectImpl.
at com.ibm.ws.sdo.mediator.jdbc.graphbuilder.schema.ESchemaMaker$1.basicCreate(Unknown Source)
at org.eclipse.emf.ecore.impl.EFactoryImpl.create(EFactoryImpl.java:204)
at org.eclipse.emf.ecore.util.EcoreUtil.create(EcoreUtil.java:2016)
at org.eclipse.emf.ecore.sdo.util.SDOUtil.create(SDOUtil.java:542)
at org.eclipse.emf.ecore.sdo.util.SDOUtil.create(SDOUtil.java:537)
at org.eclipse.emf.ecore.sdo.impl.EDataGraphImpl.createRootObject(EDataGraphImpl.java:492)
......
Do I miss any specifc jar files?
If I create a static model with emf/sdo, I can load data into my datapackage, however, I would like to use full function of ibm JDBCMediator so that I don't want to implement my own applyChanges to persist data update into database...
BTW, the sample portlet with sdo/xml for insurance application is working fine, but there is not any sdo jdbc mediator code required. I don't see any single articel talking about develope jdbc/sdo portlet.
jdbc sdo with JSF (WDO accessbean) is also working fine for me.
Any ideas?
Thanks
Chang
|
|