Separate « Table « JPA Q&A





1. Member variable referencing separate table or database?    forum.hibernate.org

I have a Hibernate object where I need a member variable to reference an object that points to a different database. So for example, I need something like this: Code: @Entity @Table(name = "hibernate_test") public class HibernateObject implements Serializable { private static final long serialVersionUID = -8889984662603797899L; public HibernateObject() { ...

2. Auditing in Hibernate - Separate Audit table for each table    forum.hibernate.org

Hi all, I have searched the net but cannot able to find the solution to my problem. We need to have separate audit table for each table in DB. the audit table have few more fields and have same parent-child relation as defined in the main table. Envers is not an option for us, so please ignore this for solution. Now ...

3. Enumerated type in separate table?    forum.hibernate.org