users
[Top] [All Lists]

Re: [cinjug-users] XLS to Database

To: esumerfd@xxxxxxxxxxxxxx
Subject: Re: [cinjug-users] XLS to Database
From: <inmanjon@xxxxxxxx>
Date: Thu, 25 May 2006 16:44:08 -0400
Cc: "users@xxxxxxxxxx" <users@xxxxxxxxxx>, Edward Sumerfield <esumerfd@xxxxxxxxx>
Delivered-to: mailing list users@cinjug.org
Mailing-list: contact users-help@cinjug.org; run by ezmlm
Sensitivity: Normal
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


<Prev in Thread] Current Thread [Next in Thread>
  • Re: [cinjug-users] XLS to Database, inmanjon <=