-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 chasee L. wrote:
> Happy new year to all: > > Here is my question: > > does mysql connector/J has APIs for the same functions as in C api in addition to the java.sql.*? e.g. "mysql_insert_id()" and etc.? > > Thanks, > chasee Connector/J does not use the MySQL C-API, however it exposes most of the functionality in a JDBC-like way. Funtionality such as mysql_last_insert_id() _is_ exposed via the JDBC-3.0 Statement.getLastGenerated() keys method, or via a 'custom' method of com.mysql.jdbc.Statement.getLastInsertId(). Other MySQL-specfic functionality is exposed in a JDBC-compliant manner. You will have to specify _which_ functionality you're looking for to get any more specific answers (or look in the README for Connector/J). Regards, -Mark - -- Mr. Mark Matthews MySQL AB, Software Development Manager, J2EE and Windows Platforms Office: +1 708 557 2388 www.mysql.com Are you MySQL Certified? http://www.mysql.com/certification/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQE/8MgGtvXNTca6JD8RAuKzAJ99RhTZqDNqZcNy6adgq6OWnUawpQCdEftV tgKMdmd7xxJEcGSpCC+0qZ4= =bQ56 -----END PGP SIGNATURE----- -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]