The aim of the present bachelor's thesis is comparison of representatives of object-oriented data model and object-relational data model and suitability their use as persistence layer in Java application. The first part of this thesis focuses on overview of object-oriented data model and object-relational data model, their theoretical basis, characteristic features, historical development and their representatives. Then possibilities of storing permanent data in Java application, examples of standard Java APIs, their advantages and areas of use are explored. Another part is concentrated on demonstration of database management systems Oracle and objectDB, comparison of their functionality, easiness of use with databases and connection with J...