ObjectDB ObjectDB

Internal Website Search

31-40 of 200 resultsRefresh

FROM clause (JPQL / Criteria API)

: SELECT c1, c2 FROM Country c1, Country c2 can be built as a criteria query using the following code ... can be built as a criteria query using the following code: CriteriaQuery<Country> q = cb ... the following code: CriteriaQuery<Country> q = cb.createQuery(Country.class); Root<Country

CRUD Database Operations with JPA

code fragment stores 1,000 Point objects in the database: em.getTransaction().begin(); for (int ... .getTransaction().commit(); In the above code, p must be a managed entity object of the EntityManager em ... . The following code demonstrates processing of all the Point objects in the database: TypedQuery<Point

Apache License, Version 2.0, January 2004

to software source code, documentation source, and configuration files. "Object" form shall mean any form ... to compiled object code, generated documentation, and conversions to other media types. "Work" shall ... , including but not limited to communication on electronic mailing lists, source code control systems

Online Backup

database file using the code above could generate a backup whose full path is c:\objectdb\backup ... ("target", new java.io.File("c:\\backup"));     backupQuery.getSingleResult(); The code ... the code above could create the backup file on the server side at backup/201912312359/test.odb

JPA Named Queries

named queries instead of dynamic queries may improve code organization by separating the JPQL query strings from the Java code. It also enforces the use of query parameters rather than embedding literals ... . For example: em.getMetamodel().managedType(MyEntity.class); Following the above code


with an EntityManager (represented by em in the following code snippets), which serves as a factory ... > q2 = em.createQuery("SELECT c FROM Country c", Country.class); In the above code

What are the main benefits of using ObjectDB?

. The ability to store ordinary objects in the database directly can simplify the code significantly. Less (and more simple) code to write, debug and test, as well as a much easier learning curve leads

ObjectDB Object Database Features

other JPA solution. General Highly optimized code (as a result of many profiling sessions). Unique ... other managed objects. Transparent update - changes are detected automatically. Code enhancement

Step 3: Add a Main Class

In this step we will add code to the Main class (that was generated with the project) in order to store Point objects in the database and then retrieve them from the database. Use copy and paste ... objects from the database. Finally it closes the database. A detailed explanation of the code

[ODB1] Chapter 1 - About ObjectDB

(for example, as a result of special customer needs or requests) can be done without modifying code. The JDO ... makes it possible to write clean Java code, but still requires some familiarity with relational ... objects in a database, visually, without writing a single line of code. Many object databases do not

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support