I have an Ant task that loads an extends Junit TestSuite and uses reflection
calls all of the "test" methods, I also avoid certain file but you could change
it to "set" I can scrounge it up if you want.
Not to read in to your mail too much but you don't have to call the setters in
Hibernate. If an attribute if declared in Hibernate and it "gets dirty"(ie.
changes) any flush will save it.
Later,
--
Iâve got a fever! And the only prescription is more cowbell.
---- Edward Sumerfield <esumerfd@xxxxxxxxx> wrote:
> We are about to start building a cool idea for loading mock data into hsqldb
> and wondered if someone knows of a library that does it already?
>
> Each MS Excel file represents a set of mock test data, each worksheet name
> is the name of a Hibernate value object, each column name is the name of a
> setter method. We should be able to load the spread sheet, dynamically
> construct the objects, dynamically call the setters and insert into the db.
>
> --
> Ed
|