| Please attach a runnable test case for 1). You can find test templates at https://github.com/hibernate/hibernate-test-case-templates. Regarding 2), this is a known issue when not using bytecode instrumentation. HibernateProxy requires the actual ID. When an association references a non-ID column, there is no way to determine the association's ID without joining with the associated table. When bytecode instrumentation is used, 2) should not be an issue. |