0 Replies Latest reply on May 20, 2015 3:55 AM by Alex Alex

    Migrating ejb 2.1 entity beans to 3.1

    Alex Alex Newbie

      Hello, I need some pointers for migrating ejb 2.1 entity beans with Bean Managed Persistence  to ejb 3.1.

       

      I know that in 3.1 the table must be mapped on the entity bean, and that annotations are being used.

      Also I know that there is a persistence.xml file that can be used to specify the persistence manager (e.g Hibernate). But I was wondering if there is a simple way to keep my old BMP code and just migrate (without using Hibernate or anything else).

       

      Thank you