Skip to main content

DataCommand/SQLCommand fixed

No replies
rbair
Offline
Joined: 2003-07-08

I just submitted the fix to Issue #3 in DataBinding: "Separate concerns in SQLCommand/TableCommand" (http://databinding.dev.java.net/issues/show_bug?id=3).

For those using these classes, you should by and large be able to continue using them as you were. TableCommand now extends SQLCommand, and uses the "tableName", "whereClause", "havingClause", and "orderByClause" properties to aid in autogenerating the SQL. You may, of course, override the SQL in whatever manner you wish (including overriding the insert/update/delete sql statements).

Richard