2006-08-31 05:19:56 UTC
Hello, I'm migrating a CGI/Perl web site to a Web J2EE application. All the SQL strings are in the Perl code and the concatenation of SQL fragments are managed by the Perl code like:
...
sql = 'SELECT FROM bla, bla, bla WHERE'
if a = 1
sql = sql + 'FIELD_A = 2';
else
sql = sql + 'FIELD_B = 2';
end
...
This is a very very simple example. There are many very complexes SQL queries maked by Perl. I'm trying to use the Hibernate 3 named queries, but my problem continues. The Voruta framework can help me?
Thanks very much!!!
Ary Junior