S
spivee
I'm trying to teach myself java and struts. Fairly new at this, so
bear with me...
I'm trying to find out if there's a simpler way to autogenerate a basic
Java Object class file from a database table.
My database contains several tables that represent Business Objects,
such as a user. Generally, my BO tables, I create a corresponding Java
Object that contains a constructor, get() and set() methods for each
column and usually a toString() method. If I've got 20 business object
tables with 10-15 columns each, just creating the BO classes takes
forever.
I'm thinking there's got to be a way to do this easier. Any
suggestions?
Thanks.
bear with me...
I'm trying to find out if there's a simpler way to autogenerate a basic
Java Object class file from a database table.
My database contains several tables that represent Business Objects,
such as a user. Generally, my BO tables, I create a corresponding Java
Object that contains a constructor, get() and set() methods for each
column and usually a toString() method. If I've got 20 business object
tables with 10-15 columns each, just creating the BO classes takes
forever.
I'm thinking there's got to be a way to do this easier. Any
suggestions?
Thanks.