You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ddlutils-user@db.apache.org by tyju tiui <jc...@yahoo.com> on 2008/01/24 00:07:00 UTC

ddl utils platform.update problem

Hi,

When issuing a platform.update(database, dynabean) I get the standard "The dyna bean is not an instance of a SqlDynaClass" exception when the jdbc driver doesn't properly support table metadata (like PostgreSQL 8.2 which I'm using).

Normally I would fix this by passing in a Table[] with some query hints for ddl utils.
However, the none of the update methods have the ability to accept any query hints.
I know the dynabean I'm updating is an instance of SqlDynaClass since I pass in the query hints to fetch the dynabean in the first place.

Any ideas how I might work around this other than just implementing an update method that accepts query hints?

Thanks,

Ty




      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ