| Author |
SQLJ vs JDBC
|
Ali Gohar
Ranch Hand
Joined: Mar 18, 2004
Posts: 572
|
|
Hi All, Can anybody tell me whether SQLJ is more efficient or JDBC? and why?
|
 |
Hanna Habashy
Ranch Hand
Joined: Aug 20, 2003
Posts: 532
|
|
|
I am interested to know too.
|
SCJD 1.4<br />SCJP 1.4<br />-----------------------------------<br />"With regard to excellence, it is not enough to know, but we must try to have and use it.<br />" Aristotle
|
 |
Raj Chila
Ranch Hand
Joined: Mar 18, 2004
Posts: 125
|
|
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 ]
|
 |
Prakash Anthony
Greenhorn
Joined: Apr 03, 2004
Posts: 5
|
|
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
|
 |
Ali Gohar
Ranch Hand
Joined: Mar 18, 2004
Posts: 572
|
|
|
Can anybody tell me from where can i get the SQLJ Translator and Runtime Liberies? Please provide the link.
|
 |
Dirk Schreckmann
Sheriff
Joined: Dec 10, 2001
Posts: 7023
|
|
|
http://www.google.com/search?sourceid=navclient&ie=UTF-8&oe=UTF-8&q=sqlj+download
|
[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
|
 |
 |
|
|
subject: SQLJ vs JDBC
|
|
|