Love it. +1

On 2/12/13 5:42 PM, "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.

Reply via email to