Don't let the version number fool you. This is code that has been used for years but was refactored into its own module when we founded Tynamo. The earlier release, 0.0.1 is missing SeedEntityUpdater and support for @NaturalId. See release notes for 0.1.0, 0.1.2, 0.1.3
No more generating and running SQL seed scripts! tapestry-hibernate-seedentity module is a simple, object-oriented way to seed your database either for development or production environment or both. This works for any Tapestry5 application using Hibernate and is independent of the rest of Tynamo modules.
<dependency> <groupId>org.tynamo</groupId> <artifactId>tapestry-hibernate-seedentity</artifactId> <version>0.1.0<3</version> </dependency>
Simply contribute your entities in the right order (starting from the leaf node) and you are done! Take a look at the following example: