Skip to content

Commit

Permalink
Merge pull request #1973 from maltalex/master
Browse files Browse the repository at this point in the history
Added SQL_SERVER_SNAPSHOT value to TransactionIsolationLevel enum
  • Loading branch information
harawata committed Jul 9, 2020
2 parents e3eaef7 + f5cd683 commit fde621c
Showing 1 changed file with 9 additions and 2 deletions.
@@ -1,5 +1,5 @@
/**
* Copyright 2009-2018 the original author or authors.
* Copyright 2009-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -25,7 +25,14 @@ public enum TransactionIsolationLevel {
READ_COMMITTED(Connection.TRANSACTION_READ_COMMITTED),
READ_UNCOMMITTED(Connection.TRANSACTION_READ_UNCOMMITTED),
REPEATABLE_READ(Connection.TRANSACTION_REPEATABLE_READ),
SERIALIZABLE(Connection.TRANSACTION_SERIALIZABLE);
SERIALIZABLE(Connection.TRANSACTION_SERIALIZABLE),
/**
* A non-standard isolation level for Microsoft SQL Server.
* Defined in the SQL Server JDBC driver {@link com.microsoft.sqlserver.jdbc.ISQLServerConnection}
*
* @since 3.5.6
*/
SQL_SERVER_SNAPSHOT(0x1000);

private final int level;

Expand Down

0 comments on commit fde621c

Please sign in to comment.