mirror of https://github.com/apache/openjpa.git
Removed JDK1.5-specific construct.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@546742 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2e8b28c4c2
commit
43eb43898a
|
@ -318,7 +318,7 @@ public class JDBCFetchConfigurationImpl
|
|||
&& level != Connection.TRANSACTION_REPEATABLE_READ
|
||||
&& level != Connection.TRANSACTION_SERIALIZABLE)
|
||||
throw new IllegalArgumentException(
|
||||
_loc.get("bad-level", Integer.valueOf(level)).getMessage());
|
||||
_loc.get("bad-level", new Integer(level)).getMessage());
|
||||
|
||||
if (level == DEFAULT)
|
||||
_state.isolationLevel = -1;
|
||||
|
|
Loading…
Reference in New Issue