Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
Folks:
I'm having a problem with JDBC that has me kind of puzzled.
I'm trying to run a very simple query against a file ... if I run the
query specifying the DDS defined field names, and do my
rs.getXXX("fieldname") it works fine.
However, since I am specifying a lot of fields to be retrieved, I
decided to change to do a simple 'select * from file' ... when I do
this, trying to access the values using the DDS field name doesn't work.
I get a SQLException indicating that the field is unknown.
If I try to retrieve the values using the DDS Alias field name it works
fine.
Is there any setting I can put on my connection (or the select
statement) that will let me retrieve the values using the DDS field name
instead of the DDS Alias name?
Thanks!
david
--
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2026 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.