Jave ME CLDC/MIDP configuration/profile DOESN'T provide implementation of JDBC which allows to make a direct connection to the SQL database.
There is two possible solution to connect to the SQL database from Java ME MIDP application:
- Use 3rd party libraries which contain subset of JDBC API for Java ME CLDC/MIDP.
- Create additional tier between Java ME MIDP application and SQL database which translates Java ME MIDP application queries to the JDBC/SQL queries and returns results. It's possible to generate additional tier using Netbeans Mobility End-To-End technology.
To find out more about Netbeans Mobility End-To-End solution look at Connecting Mobile Devices to an Enterprise