ObjectDB ObjectDB

Internal Website Search

11-20 of 200 resultsRefresh
128

Groovy JPA example

Groovy JPA example
128

Issue deploying J6EE/Eclipse/Glassfish example to TomEE 1.5.1

Issue deploying J6EE/Eclipse/Glassfish example to TomEE 1.5.1
21

Schema Update

abilities: <schema> <package name="com.example.old1" new-name="com.example.new1" /> <package name="com.example.old2" new-name="com.example.new2"> <class name="A" new-name="NewA ... " /> </class> </package> <package name="com.example.old3"> <class name="C" new-name
20

SELECT clause (JPQL / Criteria API)

The ability to retrieve managed entity objects is a major advantage of JPQL. For example ... Expressions JPQL queries can also return results that are not entity objects. For example ... are also supported. For example, the following query retrieves the name of the capital city
18

Strings in JPQL and Criteria Queries

literal). For example: c.name LIKE '_r%' is TRUE for 'Brazil' and FALSE for 'Denmark' c.name LIKE ... , which is also specified. For example: '100%' LIKE '%\%' ESCAPE '\' is evaluated to TRUE. '100' LIKE ... the argument string as an int. For example: LENGTH('United States') is evaluated to 13. LENGTH
17

FROM clause (JPQL / Criteria API)

at the WHERE clause level by using a type expression. For example, in the following query, c iterates ... name annotation element. Multiple range variables are allowed. For example, the following query ... product is avoided. The above query, for example, can be executed as follows. An outer loop iterates
16

Literals in JPQL and Criteria Queries

. Following are examples of valid numeric literals in JPQL: int: 100, -127, 0, 07777 long: 100L, -127L, 0L ... 'yyyy-mm-dd'} - for example: {d '2019-12-31'} Time - {t 'hh:mm:ss'} - for example: {t '23:59:59'} Timestamp - {ts 'yyyy-mm-dd hh:mm:ss'} - for example: {ts '2020-01-03 13:59:59'} Enum Literals JPA 2 adds
15

Retrieving JPA Entity Objects

the referenced object is already managed by the EntityManager). In the example above, when an Employee ... the two) enables cascading retrieval for the field. In the above example, when an Employee instance ... of the direct interaction with the database and makes database programming easier. For example
1

[ODB1] Chapter 7 - JDOQL Queries

instance is constructed by one of the PersistenceManager's newQuery(...) methods. For example, in ... .Collection instance and managed like any ordinary Java collection. For example, the number of retrieved ... the scope of the candidate class. For example, "this.age >= 18" is a valid filter if the candidate
1

[ODB1] Chapter 3 - Persistent Classes

. For example, the class java.awt.Image is not supported by JDO. You can store images in byte[] fields ... values at runtime when the object is stored in the database. For example, a field whose type is Number ... files. For example: On Windows command: > set classpath=%classpath%;.;c:\objectdb\lib\odbfe.jar

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