Saturday, 15 September 2012

java - JDBC Query error -



java - JDBC Query error -

i want save list of tables jdbc count 1 1 , wrote programme problem when execute code works straight goes exception. when debug, says on line "simpledto[] dtolar =" "runner can not resolved". mean? identified before queryrunner can seen code below. posible can not resolved?

queryrunner runner = new queryrunner(); simpledto tablecount = null, currenttimestr = null; simpledto[] dtolar = (simpledto[]) runner.query(connora, sql_select_names_of_tables_rr, null, new beanlisthandler( simpledto.class))

this simpedto class rows in table list.

import java.io.serializable; public class simpledto implements serializable{ string value = null; public string getvalue() { homecoming value; } public void setvalue(string value) { this.value = value; } }

java eclipse jdbc

No comments:

Post a Comment