Hi,
I'm trying to delete some records using DynaBeans returned from a
'platform.fetch()' call.
The List returned is full of perfectly fine DynaBeans (as far as I can tell)
but when I issue a 'platform.delete()' DdlUtils throws the following error:
org.apache.ddlutils.dynabean.SqlDynaException: The dyna bean is not an instance
of a SqlDynaClass
at
org.apache.ddlutils.dynabean.DynaClassCache.getDynaClass(DynaClassCache.java:135)
at org.apache.ddlutils.model.Database.getDynaClassFor(Database.java:551)
at
org.apache.ddlutils.platform.PlatformImplBase.delete(PlatformImplBase.java:1923)
at
org.apache.ddlutils.platform.PlatformImplBase.delete(PlatformImplBase.java:1906)
I looked at the code and I'm unsure how to properly get an instance of
SqlDynaClass from a 'fetch' or 'query'?
Any help would be appreciated.
Thanks,
Ty
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ