when you want to update/delete/create record you can use excuteUpdate when you want to query records you can use executeQuery you can operate DML/DDL SQL ,you need to use execute methodabove information come from JDBC Specification/JSR???
DML 就是update/delete/insert操纵语言 那when you want to update/delete/create record you can use excuteUpdate 我用可以用execute method
那when you want to update/delete/create record you can use excuteUpdate 我用可以用execute method ========================================================================== yes, you are right, the statement object is unknow until run time you can use execute method......
when you want to query records you can use executeQuery
you can operate DML/DDL SQL ,you need to use execute methodabove information come from JDBC Specification/JSR???
就是update/delete/insert操纵语言
那when you want to update/delete/create record you can use excuteUpdate
我用可以用execute method
我用可以用execute method
==========================================================================
yes, you are right, the statement object is unknow until run time
you can use execute method......