Для всех, кто может смотреть на этот вопрос,
Ошибка появилась в HTML.
Monthly Index Abs Move & Volume/500,000 Chart
Когда я использовал другой индекс с
Quarters
Это сработало. Я предполагаю, что это потому, что он зависел от другого графика. Я буквально взламывал пример из https://dc-js.github.io/dc.datatables.js/ , который мог привести к некоторым забавным ошибкам, когда я действительно не проверял HTML
The answer was to add not-found="ignore" to the many-to-one statement in A:
<many-to-one name="b" class="B" not-found="ignore" insert="false" update="false" column="id" unique="true"/>
I tried simply adding lazy="false" to B as Rob H recommended, but that resulted in a HibernateObjectRetrievalFailureException everytime I loaded an A that had no B.
See this thread for more information:
https://forum.hibernate.org/viewtopic.php?p=2269784&sid=5e1cba6e2698ba4a548288bd2fd3ca4e
Try setting lazy="false" on the many-to-one element. That should force Hibernate to try to fetch the association ("B") when the first object ("A") is loaded. The property in "A" will either be initialized with a real instance of "B" or null.