I'm facing a problem with JDBC Transaction.
I use SQL Server 2005 as Database of my company's machine since the machine shipped with it.
This is the scenario of my problem :
Let say, i want to insert some records into tableA which is the record data is come from file, but at the same time i want machine has no problem in accessing tableA with different records without have to wait until my transaction is finished.
But if there's error inserting process, then the transaction will be rollback. And the machine will stay running smoothly without any problem.
What's the best transaction isolation level for this?
Here's just snippet of pseudo code of what i've done in my code. (Sorry just to simplify)
In that code, machine will have to wait till the process is finished.
Is there a way to solve this issue?..
Please help me, how to solve my problem..
Any help will be highly appreciated.
With warmest regards,
Sorry, perhaps my english language isn't too good.. Prepare for SCJP 6, Please God help me.. ☼
References : [Java.Boot] [JavaChamp] [JavaPrepare]
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: [ASK] JDBC with SQL Server 2005 for concurrency problem