× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: "Database" Put/Get Beans
  • From: "Joe Teff" <joeteff@xxxxxxxxxxxxx>
  • Date: Thu, 27 Apr 2000 18:35:49 -0500

>> So what is the equivalent of an externally described data structure
>>from RPG in JAVA?  A class.
>> No?

>Yes Bruce - but that wasn't the question.  What I'm looking for is a tool
>that I can point at a databse and have it generate the class and all the
>get/set methods.  The ET tools do that _but_ also generate a whole
>bunch of other "stuff" - including a requirement for a 400 connection -
>that I just don't need.


You should be able to write this yourself. I am planning a project where
I prompt for an AS/400 file, query the system catalog for the file, use
the results (fields with attributes), create a similar file on a SQL Server
database and then load the data from the AS/400 file into the SQL
Server file. In your case, you should be able to take the result set and
write a stream file that represents the variables with the appropriate
getters/setters (.java source code). I wouldn't think it would be too
difficult.

Joe Teff

+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.