AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Open-source tool which generates Java Value objects ?

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases
View previous topic :: View next topic  
Author Message
writeOnceDebugEverywhere(
Guest





PostPosted: Wed Mar 23, 2005 1:51 pm    Post subject: Open-source tool which generates Java Value objects ? Reply with quote



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





PostPosted: Wed Mar 23, 2005 3:06 pm    Post subject: Re: Open-source tool which generates Java Value objects ? Reply with quote



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





PostPosted: Wed Mar 23, 2005 4:03 pm    Post subject: Re: Open-source tool which generates Java Value objects ? Reply with quote





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


Quote:



Back to top
Bryce
Guest





PostPosted: Wed Mar 23, 2005 7:17 pm    Post subject: Re: Open-source tool which generates Java Value objects ? Reply with quote

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





PostPosted: Wed Mar 23, 2005 7:17 pm    Post subject: Re: Open-source tool which generates Java Value objects ? Reply with quote

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





PostPosted: Wed Mar 23, 2005 7:24 pm    Post subject: Re: Open-source tool which generates Java Value objects ? Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.