JDBC generally depends on String input to make Database calls, this will not show us the Syntax errors untill the runtime.. and when we use SQLJ we will know the errors at compiletime itself and (though SQL statements will have to be static). there is a good link on this in Javaworld. SQLJ [ April 27, 2004: Message edited by: RajaniKanth Bhargava ]
SQLJ does provide some advantages over JDBC in terms of performance and security. Where JDBC provides for the dynamic SQL execution, SQLJ apps can be precompiled to determine the optimal access paths, to give better performance. SQLJ is simple as you can embedd your SQL statements like you would do in other languages such as COBOL and C. Check out the following for more: http://www-106.ibm.com/developerworks/db2/library/techarticle/0302tsui/0302tsui.html
posted 16 years ago
Can anybody tell me from where can i get the SQLJ Translator and Runtime Liberies? Please provide the link.