ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brandon Goodin <brandon.goo...@gmail.com>
Subject Re: Dynamically add sqlMaps to Config.xml
Date Mon, 30 May 2005 13:24:59 GMT
None of this functionality is currently possible.

It is possible the dynamic sqlmap functionality could be added. Put in
a JIRA ticket for it

In regards to the space trimming... I think it needs to be discussed.
It would be hard to predict what should be trimmed and what should not
be trimmed. If you have some suggestions then feel free to create a
JIRA ticket and add the suggestions to the JIRA ticket.

Brandon

On 5/30/05, Steffen Legler <s.legler@tu-bs.de> wrote:
> Sorry, that my thread was a little bit confusing.
> 
> I want to add an sql-Mappingfile dynamically to the config.xml.
> For Example:
> Before we establish a connection to the database through the sqlMapClient, we
> want to add all Maps which are inside one specific directory. This has the
> advantage, that you don't need to change your config-File, when adding or
> deleting a sqlMap.
> 
> 
> The sql-Statements which are executed have a lot of spaces , especially when
> using the dynamic sql functions. The Database doesn't care these Statements, but
> for loggings they are not very readable. My Second question was, if it's
> possible to trim the statements, so that you have a well-written sql-Statement
> in your logging.
> 
> If both items are not possible to implement with actual releases of ibatis, is
> it possible to implement this in further releases?
> 
> Hope you can help me.
> 
> Steffen
>

Mime
View raw message