posted 13 years ago
MySQL has some excellent documentation. It clearly states that the embedded server is available in C/C++ only. If you must use the embedded server, you could probably work it with JNI. Be advised that the embedded server is GPL licensed:
The MySQL source code is covered by the GNU GPL license (see section G GNU General Public License). One result of this is that any program which includes, by linking with libmysqld, the MySQL source code must be released as free software (under a license compatible with the GPL).