Is it possible for Node.js makes asynchronous call to JDBC
<p>I understand that the power of Node.js is that it processes all user requests on a <strong>single thread working on a queue</strong> of request. The idea being there is no context switch of this thread, no system calls. <br>
input thread ---> | request queue| ---> output thread --(processes tasks if not causing system call, else delegates to thread pool).<br>
The thread pool will:-
 - execute tasks involving system calls (usually somewhat long running
   ones.. e.g. IO tasks)
 - put the results as another request task in the queue.. 
 - which will be processed by the <strong>single thread working on queue</strong>
My question is, inevitable, Node.js code will need to put data in an RDBMS or JMS system. This is most definitely synchronous (even putting in JMS is synchronous.. although producer - consumer are not synchronous). So the thread pool processing these IO tasks will not only make system calls, but also be blocked during this period. JDBC in any case does not support synch calls (I guess due to need to be transactional, and maybe security issues, since txn and security context are attached to threads).<br>
So how do we actually put data in RDBMS efficiently from a Node.js server?</p>