Cannot find prepareStatement in DBConnection Class

Hi,

I am trying to compile a custom transformation written in older version of Clover 2.1.0 with the jar of the latest version 2.9.2.
I found out that DBConnection has been moved to jdbc.DBConnection. I would like to know in which class is the prepareStatment method has been moved to ? or how can I create a Prepared Statement ?

error that I am getting while compiling is -

cannot find symbol
[javac] symbol : method prepareStatement(java.lang.String)
[javac] location: class org.jetel.connection.jdbc.DBConnection
[javac] pstmt = dbConnection.prepareStatement ("insert into "

Thanks,
Ashish

Hello Ashish,
CloverETL 2.1 version is very old and it isn’t supported any more. Please download the java doc from http://sourceforge.net/projects/clovere … -2-9-2.zip and rewrite your transformation according to it. Now the main plug-in that works with databases is cloveretl.jdbc.jar

Hello Ashish,
CloverETL 2.1 version is very old and it isn’t supported any more. Please download the java doc from http://sourceforge.net/projects/clovere … -2-9-2.zip and rewrite your transformation according to it. Now the main plug-in that works with databases is cloveretl.jdbc.jar

“avackova”

Thank you avackova