Restore method isInitialized to detect if JPA is initialized
Merge branch 'fix-transactions' into 1.3.x-codeborne