checkstyle
[utils] / test / enterprise / src / main / java / org / wamblee / support / persistence / JpaBuilder.java
index 4e824093b14d61c816f9c4a1d8daa8b964b45a65..4d1921f5abf5a7c8f7d06d5bbd0f1824f4f96b02 100644 (file)
@@ -52,13 +52,13 @@ public class JpaBuilder {
         /**
          * Executes the unit of work. A transaction has been started.
          * 
-         * @param em
+         * @param aEm
          *            Entity manager.
          * @return Result of the execute method. If you don't want to return
          *         anything use <code>Void</code> for the return type and return
          *         null from the implementation.
          */
-        T execute(EntityManager em);
+        T execute(EntityManager aEm) throws Exception;
     }
 
     private PersistenceUnitDescription persistenceUnit;
@@ -94,7 +94,7 @@ public class JpaBuilder {
         }
         factory = createFactory();
         execute(new JpaUnitOfWork<Void>() {
-            public Void execute(EntityManager em) {
+            public Void execute(EntityManager aEm) {
                 // Empty, just to trigger database schema creation.
                 return null;
             }