ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry Meadors" <Larry.Mead...@plumcreek.com>
Subject Re: can i use properties file to set table's owner?
Date Mon, 20 Dec 2004 15:10:54 GMT
Yes, just use ${owner} instead.

>>> earmellin@ateikon.com 12/20/04 2:23 AM >>>
Hello

can I use a properties file to set the table owner in my sql statements?
for example:

|      SELECT u.*
        FROM $owner$.user u
       WHERE cduser = #cduser#
|
until now I pass a *parameterClass="map"* with two Key: *cduser* and
*owner*
Can i put *owner* in a properties file and avoid to pass it in the 
parameter map?


-- 
Emiliano Armellin

    *
      W_
      www.ateikon.com <http://www.ateikon.com>
    *
      @_
      earmellin@ateikon.com <mailto:earmellin@ateikon.com>
    *
      T_
      *+39 0422 452101*

Get Firefox! <http://www.spreadfirefox.com/?q=affiliates&id=15653&t=86>
Get Thunderbird <http://www.mozilla.org/products/thunderbird/>


Mime
View raw message