Wrong:
pstmt = conn.prepareStatement("select * from user_tables where table_name='PERSONS';");
java.sql.SQLException: ORA-00911: invalid character
Correct:
pstmt = conn.prepareStatement("select * from user_tables where table_name='PERSONS'");
阅读(607) | 评论(0) | 转发(0) |