Reputation: 4088
The JPAcontainer
tutorial here: https://vaadin.com/download/jpacontainer-tutorial/
Indicates that you need a H2
database driver with JPAcontainer
. I don't understand why? - what functionality do you loose from not having H2
as well as JPAcontainer
?
Upvotes: 1
Views: 919
Reputation: 2759
For the record:
Vaadin's JPAContainer
is independent from the database and JPA implementation you deploy. It is built upon JPA to implement the Vaadin Container
interface. It is somewhat similar to the SQLContainer
but uses JPA instead of plain SQLs.
However, you need a database and its JDBC driver to make use of the JPAContainer
. Your linked tutorial takes H2 for that, probably because H2 is open source, free and simple.
That said, you can safely replace H2 with your favorite database.
Upvotes: 5