[jboss-cvs] JBossAS SVN: r96166 - in projects/ejb3/trunk/jpa-int: src/main/java/org/jboss/ejb3/jpa/integration and 8 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Nov 9 08:20:14 EST 2009
Author: wolfc
Date: 2009-11-09 08:20:14 -0500 (Mon, 09 Nov 2009)
New Revision: 96166
Added:
projects/ejb3/trunk/jpa-int/src/test/java/org/
projects/ejb3/trunk/jpa-int/src/test/java/org/jboss/
projects/ejb3/trunk/jpa-int/src/test/java/org/jboss/ejb3/
projects/ejb3/trunk/jpa-int/src/test/java/org/jboss/ejb3/jpa/
projects/ejb3/trunk/jpa-int/src/test/java/org/jboss/ejb3/jpa/integration/
projects/ejb3/trunk/jpa-int/src/test/java/org/jboss/ejb3/jpa/integration/test/
projects/ejb3/trunk/jpa-int/src/test/java/org/jboss/ejb3/jpa/integration/test/api/
projects/ejb3/trunk/jpa-int/src/test/java/org/jboss/ejb3/jpa/integration/test/api/DummyEntityManager.java
projects/ejb3/trunk/jpa-int/src/test/java/org/jboss/ejb3/jpa/integration/test/api/DummySessionFactory.java
Modified:
projects/ejb3/trunk/jpa-int/pom.xml
projects/ejb3/trunk/jpa-int/src/main/java/org/jboss/ejb3/jpa/integration/Hibernate3_5SessionFactoryDelegator.java
Log:
EJBTHREE-1931: update to hibernate-core 3.5.0-Beta-2
Modified: projects/ejb3/trunk/jpa-int/pom.xml
===================================================================
--- projects/ejb3/trunk/jpa-int/pom.xml 2009-11-09 13:12:10 UTC (rev 96165)
+++ projects/ejb3/trunk/jpa-int/pom.xml 2009-11-09 13:20:14 UTC (rev 96166)
@@ -29,7 +29,7 @@
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
- <version>3.5.0.Beta-1</version>
+ <version>3.5.0-Beta-2</version>
<scope>provided</scope>
</dependency>
Modified: projects/ejb3/trunk/jpa-int/src/main/java/org/jboss/ejb3/jpa/integration/Hibernate3_5SessionFactoryDelegator.java
===================================================================
--- projects/ejb3/trunk/jpa-int/src/main/java/org/jboss/ejb3/jpa/integration/Hibernate3_5SessionFactoryDelegator.java 2009-11-09 13:12:10 UTC (rev 96165)
+++ projects/ejb3/trunk/jpa-int/src/main/java/org/jboss/ejb3/jpa/integration/Hibernate3_5SessionFactoryDelegator.java 2009-11-09 13:20:14 UTC (rev 96166)
@@ -31,9 +31,9 @@
{
private static final long serialVersionUID = 1L;
- public boolean containsFetchProfileDefition(String profile)
+ public boolean containsFetchProfileDefinition(String profile)
{
- return getSessionFactory().containsFetchProfileDefition(profile);
+ return getSessionFactory().containsFetchProfileDefinition(profile);
}
public Cache getCache()
Added: projects/ejb3/trunk/jpa-int/src/test/java/org/jboss/ejb3/jpa/integration/test/api/DummyEntityManager.java
===================================================================
--- projects/ejb3/trunk/jpa-int/src/test/java/org/jboss/ejb3/jpa/integration/test/api/DummyEntityManager.java (rev 0)
+++ projects/ejb3/trunk/jpa-int/src/test/java/org/jboss/ejb3/jpa/integration/test/api/DummyEntityManager.java 2009-11-09 13:20:14 UTC (rev 96166)
@@ -0,0 +1,42 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.jpa.integration.test.api;
+
+import javax.persistence.EntityManager;
+
+import org.jboss.ejb3.jpa.integration.AbstractEntityManagerDelegator;
+
+/**
+ * The compiler will make sure we're API complete.
+ *
+ * @author <a href="mailto:cdewolf at redhat.com">Carlo de Wolf</a>
+ * @version $Revision: $
+ */
+public class DummyEntityManager extends AbstractEntityManagerDelegator
+ implements EntityManager
+{
+ @Override
+ protected EntityManager getEntityManager()
+ {
+ throw new UnsupportedOperationException("It really is a dummy.");
+ }
+}
Added: projects/ejb3/trunk/jpa-int/src/test/java/org/jboss/ejb3/jpa/integration/test/api/DummySessionFactory.java
===================================================================
--- projects/ejb3/trunk/jpa-int/src/test/java/org/jboss/ejb3/jpa/integration/test/api/DummySessionFactory.java (rev 0)
+++ projects/ejb3/trunk/jpa-int/src/test/java/org/jboss/ejb3/jpa/integration/test/api/DummySessionFactory.java 2009-11-09 13:20:14 UTC (rev 96166)
@@ -0,0 +1,43 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.jpa.integration.test.api;
+
+import org.hibernate.SessionFactory;
+import org.jboss.ejb3.jpa.integration.AbstractSessionFactoryDelegator;
+
+/**
+ * The compiler will make sure we're API complete.
+ *
+ * @author <a href="mailto:cdewolf at redhat.com">Carlo de Wolf</a>
+ * @version $Revision: $
+ */
+public class DummySessionFactory extends AbstractSessionFactoryDelegator
+ implements SessionFactory
+{
+ private static final long serialVersionUID = 1L;
+
+ @Override
+ protected SessionFactory getSessionFactory()
+ {
+ throw new UnsupportedOperationException("It really is a dummy.");
+ }
+}
More information about the jboss-cvs-commits
mailing list