What is the difference between JDO and JDBC?
Java Database Connectivity (JDBC) is an API that allows developers to directly access a relational database. JDO is a datastore-agnostic approach to object persistence that aims to reduce the complexity of designing persistent applications, and is not constrained to any particular type of datastore. Kodo JPA/JDO utilizes JDBC to access the relational database.
Related Questions
- Can I mix both JDO and JDBC code on the same transaction/connection? For example, I would like to make a JDO query to fetch objects but update database records using Open SQL/JDBC?
- Can I use JDO, EJB CMP, JDBC, and SQLJ APIs with a non-default database schema?
- What is the difference between JDO and EJB 2?