Thanks Matt, this is something we've been needing for a long time. +∞ (+1 in case infinity is not a valid option)
On 12 February 2013 23:42, Matt Franklin <[email protected]> wrote: > During the MongoDB support work, I created a DataImporter that > deserializes a JSON file and uses the Repositories to save initial > bootstrap data into the database. I have just finished making this > model compatible with JPA. What would everyone think about making > this the primary supported method for the demo binary data? > > IMO, JSON is much easier to maintain than a SQL file and the current > version is actually a serialization of the objects created by > initial-data.sql (with some tweaks). This method also should work > regardless of the underlying repository type, which means we only need > to maintain one data file. >
