[eml-dev] [Bug 2575] Data Manager Library: Support for query object API
bugzilla-daemon at ecoinformatics.org
bugzilla-daemon at ecoinformatics.org
Mon Jan 11 11:38:52 PST 2010
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2575
ben leinfelder <leinfelder at nceas.ucsb.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
CC| |leinfelder at nceas.ucsb.edu
Resolution| |FIXED
--- Comment #1 from ben leinfelder <leinfelder at nceas.ucsb.edu> 2010-01-11 11:38:52 PST ---
There are Java and XML query specifications at this point.
The Java API abstracts the SQL-specifics quite well (save for some reserved DB
words as mentioned in bug #2737).
The XML goes one step further and allows you to pass an XML representation of
the query to the DML where it is parsed and turned into the Java version of the
query.
Both mechanisms return a ResultSet to the calling application. There are ways
to get at the resultset columns using attribute name/label/index translations
and this can be useful when dealing with synthetic datasets (where many tables
have been joined). I agree that the "safest" way to access the columns may be
by index because of the fact that EML allows us to reuse attribute names.
Unless I've misread this bug, I believe it is resolved. Please reopen if not.
--
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the Eml-dev
mailing list