× 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.



James

Maybe to the OP - things like this are extensions to a particular flavor of RDBMS. Dan is speaking of the actual Java code to accomplish.

I think JDBCR4 is open source - a person could add such a feature easily, I think.

OTOH, isn't the default schema an attribute you can set on the JDBC connection string? Just wondering.

HTH
Vern

On 2/4/2013 4:44 PM, James H. H. Lampert wrote:
On 2/4/13 10:34 AM, Dan Kimmel wrote:
JDBC abstracts away this kind of difference between underlying
databases. Use (Connection)con.setSchema(String schemaName) rather
than trying to work out which database engine you are using. Don't
use the "SET SCHEMA" or "USE " statements. Let the driver work out
what is the appropriate statement.
Except that as of yet, JDBCR4 doesn't appear to have an RPG-callable
front-end for setSchema. At least, not that I can see in a DSPSRVPGM or
in the source member.

--
JHHL


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.