|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Select For update with Lock
How can I check the row that has been seleted with lock options before?
|
|
#2
|
|||
|
|||
|
Set Firebird transaction params
isc_tpb_nowait and wach exception isc_lock_conflict (SQLCODE -901 ) |
|
#3
|
|||
|
|||
|
Quote:
how is this done in java? I user the following code to connect to my DB Code:
private java.sql.Connection firebird_connection = null;
try
{
firebird_connection = DriverManager.getConnection(databaseURL, username,userpass);
firebird_connection.setAutoCommit(false);
firebird_connection.setTransactionIsolation(Connection.TRANSACTION_SERIALIZABLE);
}
catch (java.sql.SQLException e)
{
System.out.println(e.getMessage());
return false;
}
|
![]() |
| Viewing: Dev Shed Forums > Databases > Firebird SQL Development > Select For update with Lock |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|