ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sundar Sankar" <fatboys...@gmail.com>
Subject Re: Same queries, different tables
Date Thu, 21 Aug 2008 20:35:29 GMT
I thought you can pass table names dynamically using a $table_name. My best
bet would be to create the table name at your dao layer and pass it as a
param to the query.



On Thu, Aug 21, 2008 at 11:31 AM, Nicholoz Koka Kiknadze <kiknadze@gmail.com
> wrote:

> To be honest in the first place I'd ask DBA to use partitioning if your db
> engine supports that, and if not, to create union USERS query to run my
> queries against.
>

Mime
View raw message