Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

This example uses Hibernate with Groovy using Groovy Grapes.

Which produces (some logging plus) this output:

Found 2 books:
Groovy in Action by Dierk et al
Spring in Action by Craig

We can get a little more sophisticated and show a One-to-One relationship as follows:

Where the configureHibernate method needs an additional line:

And creation would become:

  • No labels