Pergunta

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?

Foi útil?

Solução

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top