query « Default « JPA Q&A





1. How to make Hibernate only query the default mapping?    stackoverflow.com

I have an entity class:

Cabbage.java

package womble;

public class Cabbage {
    private int id;
    // getters, setters, etc.
}
That I've got mapped to two separate database tables as ...