[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - java.sql.SQLException: Unsupported feature

kalyan.raja do-not-reply at jboss.com
Mon Nov 20 05:24:18 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=3987250#3987250

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987250



More information about the jboss-user mailing list