aspose file tools
The moose likes JDBC and the fly likes Insert into DB2 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "Insert into DB2" Watch "Insert into DB2" New topic
Author

Insert into DB2

Mike Yu
Ranch Hand

Joined: Nov 17, 2001
Posts: 175
Hi,
I tried to insert a record into DB2 7.2 on Windows 2000 server. I used JDBC and JSP.
After executing the code, the executeUpdate(StrSql) method returned 1. But when I check the database table, the record was not in the table. This problem also happened when updating or deleting record.
I can insert into the table directly using Command Center.
Can someone help?
[ July 22, 2002: Message edited by: Mike Yu ]

Thanks,<br />Mike
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Insert into DB2
 
Similar Threads
SQLException. Generel Error
DB2 and automated PK genearation..
Insert new records in database without deleting existing records
Errors using Oracle XA datasource
Insert with '