Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

[08:09:10 CST(-0600)] <EricDalquist> yeah

[08:26:19 CST(-0600)] <EricDalquist> so making jpa fetch collections is pretty easy

[08:26:45 CST(-0600)] <EricDalquist> for example in JpaStylesheetDescriptorDao I added:

[08:26:46 CST(-0600)] <EricDalquist> descriptorRoot.fetch(StylesheetDescriptorImpl_.layoutAttributes);

[08:26:46 CST(-0600)] <EricDalquist> descriptorRoot.fetch(StylesheetDescriptorImpl_.outputProperties);

[08:26:46 CST(-0600)] <EricDalquist> descriptorRoot.fetch(StylesheetDescriptorImpl_.stylesheetParameters);

[08:27:02 CST(-0600)] <EricDalquist> that then results in a single query to load the descriptor and all three maps