Skip to content
Advertisement

iBATIS and dblink?

I am using PostgreSQL, and I use the dblink feature to update data on remote database. My project using iBATIS to work with database.

I need to run the query statement with parameter but the problem is the db_link require SQL to be enclosed in quote. And iBATIS do not understand it..

I have iBATIS sql:

But due to sql is enclosed in quote, the iBATIS can not find parameter to replace.

Is any solution for me to do it?

Advertisement

Answer

Would format help? Smth like:

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement