Hi,
Sorry, the above statement was not written properly in my original
post. The actual statement indeed which is causing me grief is as you
have written it Thomas:
insert into user(name, x, y) values('RYAN O''GRADY','ABC','Manager');
When I use a PreparedStatement object and fill in the prepared
variables with values, the statement executes above with no problem.
String sql = "INSERT INTO USER(NAME,X,Y) VALUES (?,?,?);
PreparedStatement ps = c.prepareStatment(sql);
ps.setString(1,'RYAN O''GRADY');
etc...
But for some weird reason i cannot get it to execute when running from
the RunScript class.