Mario Madunic wrote:
Thanks for the idea,

I'll give that a try in the next couple of days and post the results.

Marijan (Mario) Madunic



I usually populate databases using my client (hibernate) code; I can set that up to read from some formatted file like CSV or XML and run it under ant.

You do need to code more, but it has two benefits

1. it tests your database binding. If you can't populate the DB, something is wrong.

2. it decouples the persistence format (often test data) from the DB structure. as long as the O/R mapping holds, I can populate any kind of database. This is good during development, when your DB changes a lot

-steve

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to