ObjectDB ObjectDB

Internal Website Search

31-40 of 200 resultsRefresh
15

General Performance Issues Illustrated with a Specific Method

of miliseconds are clearly displayed. Please check the code above and you will see all the searchable
3

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
3

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
3

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
3

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
3

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
2

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
0

Step 3: Add a Context Listener Class

of the new source file with the following code: package guest; import javax.persistence.*; import ... (); } } The code above: Invokes the Enhancer to enhance the entity class, creates an EntityManagerFactory
0

Step 3: Add a Main Class

to create the class. Copy and paste the following code to the newly created class file: package ... of the code can be found in the Quick Tour chapter of the ObjectDB Manual. The next (and last) step in this tutorial is running the project.
0

[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