mardi 18 août 2015

Is it possible to use only one sequence for all tables with JPA and ORMLite

I'm using ORMlite on top of SQLite to build my DAL.

I would like to use only one sequence for ids across all tables and I know this is possible using ORMlite annotations. But I would also prefer to use only JPA annotations, just in case I need to change the ORM latter on.

Is this possible?

I'm having a hard time find a concrete yes or no from the documentation.

Aucun commentaire:

Enregistrer un commentaire