Re: java.lang.IllegalArgumentException when use DataFactory.create(Class interfaceClass)

2007-01-19 Thread kelvin goodson
Hi Sam, have you registered your static classes to make them available to the DataFactory? If you are using our M2 download version of SDO then the way to do this is to call SDOUtil.registerStaticTypes(XXXFactory.class); where XXXFactory is the generated class that knows how to create one of y

java.lang.IllegalArgumentException when use DataFactory.create(Class interfaceClass)

2007-01-18 Thread Sam Su
Hello, is there anyone encounter following exception which occur when I use DataFactoy to create a DataObject: /*to create a DataObject**/ User user=(User)DataFactory.INSTANCE.create(User.class); user.setUserId("sdo3"); user.setPassword("sd