nhibernate « Default « JPA Q&A





1. hibernate - pattern for mapping a default entity?    stackoverflow.com

Is there a sleek way to map a default database object in Hibernate? For example, in this class, a Foo should always be able to return a Bar, whether it's ...