[jboss-user] [JCA/JBoss] - java.sql.SQLException: Unsupported feature
kalyan.raja
do-not-reply at jboss.com
Mon Nov 20 04:52:02 EST 2006
Hi I am trying to execute the following code ..
String activateQuery = "UPDATE TABLE_NAME SET FIELD_NAME=FIELD_VALUE WHERE CONDITION_FIELD_NAME = CONDITION_VALUE";
preparedStatement = connection.prepareStatement(activateQuery);
try{
preparedStatement.addBatch("activateQuery");
} catch(SQLException e){
throw new Exception();
}
it is giving error like this
java.sql.SQLException: Unsupported feature
we are setting the parameters in another method for preparedStatement.
I have some doubts like
1) will jboss supports batch addition to prepared satetment?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987242#3987242
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987242
More information about the jboss-user
mailing list