ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Kirchheimer <rkirchhei...@infometis.ch>
Subject switch database (different sql code)
Date Tue, 19 Jul 2005 15:32:02 GMT
hi all

i'm using ibatis sql-maps and dao framework (version 2).
my java application should run on an oracle and postgres database.
(switchable through a properties file)

now the problem is, that i must write different sql code for some  
statements (not a lot)
 > to bad that there isn't a real sql standard!

so what would be the best way to handle this?

i don't want to copy all the sql-map xml files, because most of the  
sql code will stay as it is.

thx for your help
ron


Mime
View raw message