You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jl...@apache.org on 2009/10/05 10:32:54 UTC
svn commit: r821719 -
/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/persistence/JtaEntityManagerRegistry.java
Author: jlmonteiro
Date: Mon Oct 5 08:32:54 2009
New Revision: 821719
URL: http://svn.apache.org/viewvc?rev=821719&view=rev
Log:
Spelling error in exception (thanks Quintin).
s/entended/extended
Modified:
openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/persistence/JtaEntityManagerRegistry.java
Modified: openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/persistence/JtaEntityManagerRegistry.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/persistence/JtaEntityManagerRegistry.java?rev=821719&r1=821718&r2=821719&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/persistence/JtaEntityManagerRegistry.java (original)
+++ openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/persistence/JtaEntityManagerRegistry.java Mon Oct 5 08:32:54 2009
@@ -88,7 +88,7 @@
if (extended) {
EntityManager entityManager = getInheritedEntityManager(entityManagerFactory);
if (entityManager == null) {
- throw new IllegalStateException("InternalError: an entity manager should already be registered for this entended persistence unit");
+ throw new IllegalStateException("InternalError: an entity manager should already be registered for this extended persistence unit");
}
// if transaction is active, we need to register the entity manager with the transaction manager