camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ftoresan <>
Subject Columns order in ResultSetIterator
Date Fri, 20 Nov 2015 13:30:24 GMT
I'm using the JDBC component, and when I retrieve the columns from a
ResultSetIterator using the method getColumns they are returned randomly. I
expected to receive them in the same order they appear in the query

The problem is the use of a HashSet instead of a LinkedHashSet to return the
list of columns inside the ResultSetIterator implementation. Is there a
simple way to get the columns in the right order? Is it possible to change
the behaviour of this method?

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message