P
Peter D.
I've been messing around with Hibernate lately and I am wondering if
it has a "fixture" capability.
Here is an example from the symfony PHP framework which has this
feature:
http://www.symfony-project.org/book...ment-Tools#chapter_16_sub_fixture_file_syntax
"In the process of application development, developers are often faced
with the problem of database population. A few specific solutions
exist for some database systems, but none can be used on top of the
object-relational mapping. Thanks to YAML and the sfPropelData object,
symfony can automatically transfer data from a text source to a
database. Although writing a text file source for data may seem like
more work than entering the records by hand using a CRUD interface, it
will save you time in the long run. You will find this feature very
useful for automatically storing and populating the test data for your
application."
I'm sure I saw something like this for Hibernate and Java but I just
can't seem to figure out the lingo to search for it... anyone know?
it has a "fixture" capability.
Here is an example from the symfony PHP framework which has this
feature:
http://www.symfony-project.org/book...ment-Tools#chapter_16_sub_fixture_file_syntax
"In the process of application development, developers are often faced
with the problem of database population. A few specific solutions
exist for some database systems, but none can be used on top of the
object-relational mapping. Thanks to YAML and the sfPropelData object,
symfony can automatically transfer data from a text source to a
database. Although writing a text file source for data may seem like
more work than entering the records by hand using a CRUD interface, it
will save you time in the long run. You will find this feature very
useful for automatically storing and populating the test data for your
application."
I'm sure I saw something like this for Hibernate and Java but I just
can't seem to figure out the lingo to search for it... anyone know?