Author: epbernard
Date: 2008-07-16 09:03:30 -0400 (Wed, 16 Jul 2008)
New Revision: 14934
Modified:
entitymanager/trunk/src/test/org/hibernate/ejb/test/connection/FakeDataSource.java
Log:
Adjust for Java 6
Modified:
entitymanager/trunk/src/test/org/hibernate/ejb/test/connection/FakeDataSource.java
===================================================================
---
entitymanager/trunk/src/test/org/hibernate/ejb/test/connection/FakeDataSource.java 2008-07-15
21:42:16 UTC (rev 14933)
+++
entitymanager/trunk/src/test/org/hibernate/ejb/test/connection/FakeDataSource.java 2008-07-16
13:03:30 UTC (rev 14934)
@@ -33,4 +33,12 @@
public int getLoginTimeout() throws SQLException {
throw new FakeDataSourceException( "getLoginTimeout" );
}
+
+ public <T> T unwrap(Class<T> tClass) throws SQLException {
+ throw new UnsupportedOperationException("not yet supported");
+ }
+
+ public boolean isWrapperFor(Class<?> aClass) throws SQLException {
+ return false;
+ }
}
Show replies by date