Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

JPA%20Interview%20Questions%20and%20Answers

Question: What is the difference between persistence.xml and hibernate.cfg.xml?
Answer: When using JPA need persistence.xml and while using Hibernate API need hibernate.cfg.xml. When using JPA or Hibernate not needed both xmls, need the xml configuration file according to JPA or Hibernate.
Is it helpful? Yes No

Most helpful rated by users:

©2024 WithoutBook