rollback the change to get em.getTransaction(). forbidden in JTA
Merge pull request #34 from anilsaldhana/master

see comments
Fixed restrictions to created/expiry dates.