// SqlObject.java import java.sql.*; /* The newInstance() method exists here to work around a bug in JDKs up to 1.1.1. Because Observable is not a subclass of Object, the newInstance() method in Object can't be used. We have to fake it here as an instance method. A bug report has been submitted to JavaSoft requesting that Observable be made a subclass of Object. */ public interface SqlObject { public SqlObject sqlReadResult ( ResultSet poResultSet ) throws SQLException; public String sqlSetString ( ); public String sqlValuesString ( ); public String sqlWhereString ( ); public SqlObject newInstance ( ); }