adspace
Answer Posted / Babli Kumari
To use persistence in BEA Weblogic, you can leverage the Java Persistence API (JPA). First, include JPA libraries in your project. Then, define an Entity class for each table in your database and use @Entity annotation on it. Next, use @PersistenceUnit to get an EntityManagerFactory and create an EntityManager using EntityManagerFactory.createEntityManager(). Perform operations like save, update, delete using EntityManager.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category