ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry Meadors" <lmead...@apache.org>
Subject Re: Mapping sqlMap to java.util.Properties
Date Mon, 10 Sep 2007 22:42:14 GMT
You can do that as a Map, but not a Properties object - I guess you
could get it as a map and then create a new properties object if you
needed to...

Larry


On 9/10/07, Warren <warren@clarksnutrition.com> wrote:
> Is there a way to retrieve a java.util.Properties object where each key/value pair would
represent a
> record.
>
> SELECT field1 AS key, field2 AS value FROM table
>
> Similar to loading a Properties object from a properties file.
>
> --
> Thanks,
>
> Warren Bell
>

Mime
View raw message