I have a string and use code like this to update it in database using jdbc:
String sql = "update abc set notes=? where id="+id;
int upd = jdbcu.runUpdateSQL();
it works fine when I run it from desktop but when i run the same code from unix, the jvm core dumps:
please help me why its happening?
and whats the best way to update the blob in a table using jdbc so I dont have problem on either env.
Are you using a pure Java JDBC driver or one which uses a shared library?
It is likely to be a bug in your JDBC driver.
When you get a dump, where in the stack trace does the error occur (you should be able to read it)
The thin client is pure Java, whereas the OCI driver uses a native library (.so file in your case) in order to communicate to Oracle's OCI interface. We ceased to use the OCI version like 10 years ago, cause it was giving us constant trouble and practically no performance gain.