# hibernate **Category:** [Reference Implementation: Java (archive)](https://discourse.openehr.org/c/reference-implementation-java-archive/154) **Created:** 2007-07-13 09:43 UTC **Views:** 7 **Replies:** 1 **URL:** https://discourse.openehr.org/t/hibernate/12474 --- ## Post #1 by @system \(the previous message had accidently doubled the originally sql\-statement and was therefor 80\.000 instead of 40\.000 characters, this is a bit shortened to keep it under 40\.000, sorry moderator for the trouble\) --- ## Post #2 by @thomas.beale This is a perfect illustration of why not to trust things like hibernate to do anything sensible with realistic object models; you have to create a far more simplified wrapping layer and let hibernate work on that instead...or do what Bert is doing, and build something that works better ;-) - thomas Bert Verhees wrote: --- **Canonical:** https://discourse.openehr.org/t/hibernate/12474 **Original content:** https://discourse.openehr.org/t/hibernate/12474