在JAVA中连接Oracle数据库(例子)[2]

[入库:2006年2月23日] [更新:2007年3月24日]

本文简介:

sp;   myStringBuffer.append(myResultSet.getString("ip_address")+"  ");
                myStringBuffer.append(myResultSet.getString("tel")+"  ");
                myStringBuffer.append(myResultSet.getInt("area_type")+"  ");
                myStringBuffer.append(myResultSet.getInt("pc_id")+"\n");
            }
            System.out.println(myStringBuffer.toString());
            //System.out.println(new String(myStringBuffer.toString().getBytes("ISO-8859-1"),"GBK"));
        }catch(Exception ex)
        {
            System.out.println(myOracleTest.getErrorMessage(ex,"Application error,please contact to your Software Designer!").toString());
        }

    }

}

本文关键:在JAVA中连接Oracle数据库(例子)
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top