Commits

Anonymous committed ede4631

Allow ints for entityId

git-svn-id: http://svn.opensymphony.com/svn/propertyset/trunk@171bf3cbcdd-1c1a-0410-9a68-d6f521e3fa7b

  • Participants
  • Parent commits ba749e1

Comments (0)

Files changed (1)

File providers/ejb3/src/com/opensymphony/module/propertyset/ejb3/EJBPropertySet.java

         }
 
         this.em = (EntityManager) obj;
-        this.entityId = (Long) args.get("entityId");
+        this.entityId = ((Number) args.get("entityId")).longValue();
         this.entityName = (String) args.get("entityName");
     }