Pessoal, estou tentando montar uma rotina de
montagem do meu dml select, ex:
public static final String SELECT = "select ? from
? ? ?";
no factory do select para uma table vai
ter:
PreparedStatementps = this.database.getConnection().prepareStatement(Constantes.SELECT);ps.setString(0, this.fieldName);ps.setString(1, this.tableName);ps.setString(2, this.where);ps.setString(3, this.orderBy);crs.populate(ps.executeQuery()); Aqui ta dando erro Parameter index out of rang (0 > 5), como fazer com q essa idéia funcione ===================================== |
online?icq=30519911&img=3
Description: Binary data