Problem with connector and dataprocessor

From: sudhakar940
To: Stanislav

the following code read the DB using connector and display it in grid but fails to do the update operation i don’t know where i made the mistake

please help me…

Servlet code

public class DatabaseConn extends ConnectorServlet implements Servlet {
public GridConnector conn;
public Connection connection=null;

public DatabaseConn() {
protected void configure() {
// TODO Auto-generated method stub
try {
Class.forName (“org.h2.Driver”).newInstance ();
connection = DriverManager.getConnection(“jdbc:h2:~/test”, “sa”, “”);
} catch (Throwable e) {

conn = new GridConnector(connection);
conn.render_table(“test”, “ID”, “ID,NAME”);


HTML code grid.html

Insert title here

In server side code change order of commands as

conn.render_table(“test”, “ID”, “ID,NAME”);

it will give some meaningful record log

Also on client side the setTransactionMode command is not necessary ( must not cause any harm though )

Hi Stanislav,

i have done those changes u mentioned even though there is no change the update,delete, operations are not working is there is anything wrong in my code? i think the connector is working perfect but the problem may be in the dataprocessor could u give me any suggestions on this because after working with the trial only my org promises to purchase the Enterprise license…