Java Mailing List Archive

http://www.gg3721.com/

Home » Hibernate Commits List »

[hibernate-commits] Hibernate SVN: r14934 -
 entitymanager/trunk/src/test/org/hibernate/ejb/test/connection.

hibernate-commits

2008-07-16


Author LoginPost Reply
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)
@@(protected) @@
 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;
+  }
}

_______________________________________________
hibernate-commits mailing list
hibernate-commits@(protected)
https://lists.jboss.org/mailman/listinfo/hibernate-commits
©2008 gg3721.com - Jax Systems, LLC, U.S.A.