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