Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私のクエリが
select * from table_a where pk=1;
PreparedStatement を使用して Java からこのクエリ (セミコロン付き) を実行すると、 aSqlExpectionがスローされます。Oracle 10g と Java 5 を使用しています。
SqlExpection
私の質問は次のとおりです。クエリは有効ですが、クエリがJavaプリペアドステートメントから実行されたときにSqlException(ORA-00911:無効な文字)が発生したのはなぜですか?