we are doing project on intranet mailing system.front end is net beans 7.1 and back end tool is oracle 11g. when we doing jdbc odbc connection then we find this error.
code:
try
{
String A,B,un,pass,dept;
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("Jdbc:Odbc:adm","system","test"); //we think because of this connection we get this error
st=con.createStatement();
ps=con.prepareStatement("select * from bookup where branch=? and semester=?");
ps.setString(1,s1);
ps.setString(2,s2);
// out.print(s1);
// out.print(s2);
rs=ps.executeQuery();
while(rs.next())
please help us for this issue