Search code examples
javadatabasejavadb

which database does java supports by default


In a recent interview I was asked "which database does java support by default" . I couldn't provide a proper answer to this question as i really don't know which one it is as I have worked with mysql database mostly which requires an additional driver called connector/j to be added to the lib folder and subsequently added to the build path so for that I ruled it out of the answer. Then again which one it is then Derby Db ,Oracle(Which I don't think it is) or any other database?

Can anyone please provide some insight into this?


Solution

  • It is JavaDB :

    Java DB is Oracle's supported distribution of the Apache Derby open source database. It supports standard ANSI/ISO SQL through the JDBC and Java EE APIs. Java DB is included in the JDK.

    Full documentation is available here.