 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
writeOnceDebugEverywhere( Guest
|
Posted: Wed Mar 23, 2005 1:51 pm Post subject: Open-source tool which generates Java Value objects ? |
|
|
Hi,
I am looking for a (open-source) tool, which can generate Java Value
Object against database table structure.
Thanks in advance,...
|
|
| Back to top |
|
 |
Chris Smith Guest
|
Posted: Wed Mar 23, 2005 3:06 pm Post subject: Re: Open-source tool which generates Java Value objects ? |
|
|
writeOnceDebugEverywhere() <cwele_n_spm (AT) evnet (DOT) yu> wrote:
| Quote: | I am looking for a (open-source) tool, which can generate Java Value
Object against database table structure.
|
If I'm understanding you correctly, try MiddleGen.
--
www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
|
|
| Back to top |
|
 |
writeOnceDebugEverywhere( Guest
|
Posted: Wed Mar 23, 2005 4:03 pm Post subject: Re: Open-source tool which generates Java Value objects ? |
|
|
Chris Smith wrote:
| Quote: | writeOnceDebugEverywhere() <cwele_n_spm (AT) evnet (DOT) yu> wrote:
I am looking for a (open-source) tool, which can generate Java Value
Object against database table structure.
If I'm understanding you correctly, try MiddleGen.
|
- probably because of I am new to the Java db programming.
Here is a closer look:
What I have, is a db table with the following structure:
CREATE TABLE MY_TABLE (
PASSWORD VARCHAR(50),
USERNAME VARCHAR(50) NOT NULL
)
Now, I am looking for a tool which can:
- connect to database,
- take somehow the database table structure,
- generate the folowing Java class:
public class MyTable {
private String username = null;
private String password = null;
public MyTable(String username, String password){
this.username = username;
this.password = password;
}// of constructor
public String getUsername(){
return this.username;
}
public String getPassword(){
return this.password;
}
public void setUsername(String username){
.....
}
}// of class
|
|
| Back to top |
|
 |
Bryce Guest
|
Posted: Wed Mar 23, 2005 7:17 pm Post subject: Re: Open-source tool which generates Java Value objects ? |
|
|
On Wed, 23 Mar 2005 14:51:55 +0100, "writeOnceDebugEverywhere()"
<cwele_n_spm (AT) evnet (DOT) yu> wrote:
| Quote: | Hi,
I am looking for a (open-source) tool, which can generate Java Value
Object against database table structure.
|
Middlegen?
http://boss.bekk.no/boss/middlegen/
--
now with more cowbell
|
|
| Back to top |
|
 |
Bryce Guest
|
Posted: Wed Mar 23, 2005 7:17 pm Post subject: Re: Open-source tool which generates Java Value objects ? |
|
|
On Wed, 23 Mar 2005 17:03:32 +0100, "writeOnceDebugEverywhere()"
<cwele_n_spm (AT) evnet (DOT) yu> wrote:
| Quote: | Chris Smith wrote:
writeOnceDebugEverywhere() <cwele_n_spm (AT) evnet (DOT) yu> wrote:
I am looking for a (open-source) tool, which can generate Java Value
Object against database table structure.
If I'm understanding you correctly, try MiddleGen.
- probably because of I am new to the Java db programming.
Here is a closer look:
What I have, is a db table with the following structure:
|
Middlegen will work perfectly for that.
http://boss.bekk.no/boss/middlegen/
--
now with more cowbell
|
|
| Back to top |
|
 |
frebe Guest
|
Posted: Wed Mar 23, 2005 7:24 pm Post subject: Re: Open-source tool which generates Java Value objects ? |
|
|
writeOnceDebugEverywhere() wrote:
| Quote: | I am looking for a (open-source) tool, which can generate Java Value
Object against database table structure.
|
Look at http://butler.sourceforge.net
/Fredrik
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|