I want to gradually transition a codebase to Hibernate (current code uses Spring’s NamedParameterJdbcTemplate
).
1) Is it safe to start creating @Entity
Hibernate for only certain tables and slowly create more entities?
2) Or does Hibernate only support “all-or-nothing” (i.e. I can’t have other code touching any entities or tables used by Hibernate)?