Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Databases / March 2005

Tip: Looking for answers? Try searching our database.

Open-source tool which generates Java Value objects ?

Thread view: 
writeOnceDebugEverywhere() - 23 Mar 2005 14:51 GMT
Hi,
I am looking for a (open-source) tool, which can generate Java Value
Object against database table structure.

Thanks in advance,...
Chris Smith - 23 Mar 2005 16:06 GMT
> 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.

Signature

www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation

writeOnceDebugEverywhere() - 23 Mar 2005 17:03 GMT
>>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
Bryce - 23 Mar 2005 20:17 GMT
>>>I am looking for a (open-source) tool, which can generate Java Value
>>>Object against database table structure.
[quoted text clipped - 6 lines]
>
>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
Bryce - 23 Mar 2005 20:17 GMT
>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
frebe - 23 Mar 2005 20:24 GMT
> 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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.