Hi everyone!
We are trying to re-code an old java application written 10 years ago using pure JDBC. The idea is to model every element of the domain as a JPA Entity with Hibernate.
The application has tables such "Users", "Groups", etc that can be mapped to Entities using Annotations but others like "Docs_1", ..., "Docs_n" that are dinamically created during app usage.
So our questions are:
1) It is possible to map such tables with dynamic entities programmatically?
2) Is is possible to have a mix of "static" and "dinamic" mapped entities cohexisting in JPA code like queries, etc?
Thanks in advance!
|