Field TRANSACTION_SERIALIZABLE
Field type: int
Member of:
java.sql.Connection
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
if(level == Connection.TRANSACTION_SERIALIZABLE) {
2
if (level == Connection.TRANSACTION_SERIALIZABLE ||
3
case Connection.TRANSACTION_SERIALIZABLE:
4
case Connection.TRANSACTION_SERIALIZABLE:
5
s_connection = DB.createConnection(false, Connection.TRANSACTION_SERIALIZABLE);
6
case Connection.TRANSACTION_SERIALIZABLE:
7
connection.setTransactionIsolation(Connection.TRANSACTION_SERIALIZABLE);
8
case java.sql.Connection.TRANSACTION_SERIALIZABLE:
9
con.setTransactionIsolation(Connection.TRANSACTION_SERIALIZABLE);
10
} else if (isoLevel == Connection.TRANSACTION_SERIALIZABLE) {
11
Connection con = DB.createConnection(false, Connection.TRANSACTION_SERIALIZABLE);
12
setTransactionIsolation(Connection.TRANSACTION_SERIALIZABLE);
13
conn.setTransactionIsolation(Connection.TRANSACTION_SERIALIZABLE);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.