> Hi! I'm working on SAPDB(7.4) + RESIN now. when I code a serverlet to > insert a record > into DB from the web(the code is "stmt.executeUpdate(sql);"), there ia a > error:com.sap.dbtech.jdbc.exceptions.DatabaseException: [-5015] (at 64): > Missing keyword:UPDATE,REJECT,IGNORE.I just don't know how to debug it ,
This simply means that the SQL containeed in variable sql has a syntax error at position 64. Debugging is probably difficult for two reasons: - you don't have a stdout where you can quickly print the content of sql to see where the error is. You can use the JDBC trace instead (http://sapdb.2scale.net/moin.cgi/JdbcTrace) - chances are the statement isn't created by you, but by some persistence layer. If this layer was written for Oracle, you might try to connect with sqlmode oracle. Daniel Dittmar -- Daniel Dittmar SAP DB, SAP Labs Berlin [EMAIL PROTECTED] http://www.sapdb.org -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]
