|
Want to get an idea of how hard would be it to create a generic java class that provide RPG/RPGSQLE program to access non-iSeries database. My first though is having a java class with at least the following methods: - connectToDataBase(String Server, String DataBaseType, String DataBaseName, String UserID, String Password) - setResultSet(String sqlStatement) - getNext() - getColumn(int column) - getColumn(String columnName) - closeResultSet() - closeConnection() Main concerns: - All above methods seems pretty straight forward, however, I'm not sure how to handle to data that return by getColumn in RPG.
As an Amazon Associate we earn from qualifying purchases.
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.