Hello
I think I don't understand you fully, can you please say more about what you want to do?
It's possible to access a database from an application running on CLDC, if that's what you mean. You will need to use an application server, for example
Tomcat, which receives and processes the MIDlet requests, searches the database and returns the responses.
Regards