Question

I'd like to use JPA along with Bean Validation, so JPA 2.0 sounds like what I need. I'm running my web application on Tomcat 6. Is Tomcat able to use JPA2?

Was it helpful?

Solution

Yes. You just need to place a JPA implementation (Hibernate, EclipseLink, etc) in WEB-INF/lib

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top