You could easily do this with properties, unless you are connecting to
databases on the fly. Search the archives for some examples of this. We
use this for purposes similar like yours.
Niels
From: Zsolt Koppany [mailto:[EMAIL PROTECTED]
Sent: Friday, October
I'm not sure whether my problem is clear. Please check the code below (just
an example). The expression ${INT_NULL_FIELD_VALUE} has different value on
different database thus during the xml file is read we transfer the
expression into a database dependent string.
I understand that we could do t
I don't think Zsolt is talking about the XML results/parameters support in
iBATIS. XMLConverter was a class used to literally translate iBATIS 1.x
mapping files into iBATIS 2.x mapping files using XSLT. It allowed either
runtime conversion or batch conversion.
Zsolt could use the old version to d
As a suggestion Zsolt, iBatis does OR mapping extremely well. What you are
looking for is something that will map Objects into XML extremely well.
Why not take a look at XStream by thoughtworks. I'm using their library
for several projects pertaining to Object -> XML and it handles them
excepti
Zsolt,
This feature is really old and was only there to support 1.x clients during
the transition to 2.x. If you're still have 1.x maps, it might be a good
time to move them. Otherwise, consider it a deprecated feature. Thus, the
long-term solution is for you to either adopt the code as your ow
Larry,
are there better options that will work long term?
What is the recommended way today?
Zsolt
> -Original Message-
> From: Larry Meadors [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 16, 2008 3:55 PM
> To: user-java@ibatis.apache.org
> Subject: Re: 2.3.4.726 and XmlConverter
I believe those converters were pretty isolated. So it would hopefully be
easy to extract them and run them in their own JAR or as part of your own
source code.
Clinton
On Thu, Oct 16, 2008 at 7:54 AM, Larry Meadors <[EMAIL PROTECTED]>wrote:
> Two options:
>
> - stick with the older version of
Kai,
You can implement a CacheEntryEventListener (from
com.opensymphony.oscache.base.events in OSCache), and register it as a
listener in your oscache.properties.
Here's the javadoc:
http://www.opensymphony.com/oscache/api/com/opensymphony/oscache/base/events/CacheEntryEventListener.html
Ian.
O
Two options:
- stick with the older version of ibatis that has all the parts you need
- extract the parts you need from the older version of ibatis and use
them alongside the new release
Larry
Hi!
Is it currently possible to hook into cache events like flushing, etc.?
I would like to execute certain actions each time specific cache is flushed.
Can this be done with the current API? Or should I try to develop my own
component and then hack it to iBatis(if so, where to begin)?
Than
Hi,
I have a table which has a receive_dttm column in DATE type.
When using Oracle 8i, iBatis can get SQL result.
But after upgrading to Oracle10g, the same SQL command can't get result and
no exception thrown.
Below is my SqlMap.xml segment:
select INVOICE_DATE, EXT_DELIVERY, MATERIAL, B
Kai ,
we tried to upgrade from 2.3.0.677 to 2.3.4.726.
http://ibatis.apache.org/javadownloads.cgi
http://apache.linux-mirror.org/ibatis/binaries/ibatis.java/ibatis-2.3.4.726.
zip
We have to pre-process the SQL statements thus this problem is a
show-stopper for us.
Zsolt
> -Original Messag
12 matches
Mail list logo