20.01.2013 Views

View - Tesis Electrónicas Universidad de Chile

View - Tesis Electrónicas Universidad de Chile

View - Tesis Electrónicas Universidad de Chile

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

statement = conexion.createStatement();<br />

tabla = statement.executeQuery("SELECT<br />

MAX(CODIREQ) from asignacion");<br />

}<br />

System.out.println("Paso 5010");<br />

return cla;<br />

while (tabla.next()) {<br />

cla = tabla.getInt(1);<br />

}<br />

tabla.close();<br />

statement.close();<br />

} catch (Exception e) {<br />

e.printStackTrace();<br />

}<br />

public void upEstado(int codireq, String codigo, String codires1, String<br />

codires2, String codires3, String nombrer, String <strong>de</strong>scripcion, String tipo1, String<br />

tipo2, String tiemporesp, Connection conexion){<br />

System.out.println("Paso 2383");<br />

this.Codireq = codireq;<br />

this.Codicl = codigo;<br />

this.Codires1 = codires1;<br />

this.Codires2 = codires2;<br />

this.Codires3 = codires3;<br />

this.NombreR = nombrer;<br />

this.Descripcion = <strong>de</strong>scripcion;<br />

this.Tipo1 = tipo1;<br />

this.Tipo2 = tipo2;<br />

this.Tiemporesp = tiemporesp;<br />

this.Estado = "ABIERTO";<br />

System.out.println("Paso 2384");<br />

Statement statement = null;<br />

System.out.println("Paso 2385");<br />

ResultSet rs = null;<br />

try {<br />

statement = conexion.createStatement();<br />

200

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!