Mnesia is written in Erlang and intended to be used from Erlang applications.
The Mnesia_Session application enables access to the Mnesia DBMS from foreign programming languages (i.e. other languages than Erlang). The Mnesia_Session interface is defined in IDL (an Interface Definition Language standardized by OMG (the Object Management Group)).