Can't update DB in JAVA program
Posted on 2011-03-03
Ihave a program in JAVA that connect to an access data base take this data to a CachedRowSetImpl object and than i put a conn.close(); statment after that i am trying to update DB with other data with the same CachedRowSetImpl object as shown:
conn1 = DriverManager.getConnection("jdbc:odbc:Employees");
but when the program comes to the crs.acceptChanges(conn1); line it stuck and do nothing
What can be the solution?