ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
131

setting activation code in persistence.xml or env file or system properties

Wondering if it's possible to add the activation code either: - in persistence.xml - or in a .env file - or system properties dmoshal David Moshal These options are not supported. However, you can embed the configuration file with the activation code as a resource, e.g. by replacing the objectdb
131

Programatic configuration or configuration file loaded from classpath or file

) Is it possible to place the configuration file in my own jar and have it loaded by classloader? If one or
56

or(restrictions)

Method javax.persistence.criteria.CriteriaBuilder Predicate or( Predicate... restrictions ) Create a disjunction of the given restriction predicates. A disjunction of zero predicates is false. Parameters: restrictions - zero or more restriction predicates Returns: or predicate Since: JPA 2.0
56

or(x, y)

Method javax.persistence.criteria.CriteriaBuilder Predicate or( Expression<T> x, Expression<T> y ) Create a disjunction of the given boolean expressions. Parameters: x - boolean expression y - boolean expression Returns: or predicate Since: JPA 2.0
56

or(x, y)

Method javax.persistence.criteria.CriteriaBuilder Predicate or( Expression<Boolean> x, Expression<Boolean> y ) Create a disjunction of the given boolean expressions. Parameters: x - boolean expression y - boolean expression Returns: or predicate Since: JPA 2.0
55

Predicate.BooleanOperator.OR

Enum Constant javax.persistence.criteria.Predicate.BooleanOperator OR Since: JPA 2.0
25

Privacy Policy

shall have the same meaning regardless of whether they appear in singular or in plural. Definitions ... our Service or parts of our Service. Company (referred to as either "the Company", "We", "Us" or "Our" in ... on Your computer, mobile device or any other device by a website, containing the details
24

Apache License, Version 2.0, January 2004

of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright ... and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause
19

Logical "or" works not correcly when field is @Id and first position

The following code doesn't respect the logical "or" correctly. Instead of returns all 2 datasets it returns only this one, which matches the first predicate in the or. BUT: this happens only, if the field for the "or" is the first one defined as @Id. public class OrTest {     @Entity     static
18

Which API should I use - JPA or JDO?

You can use ObjectDB with either the Java Persistence API (JPA) or the Java Data Objects (JDO) API. Both share similar architecture, design and abilities. When to prefer JPA JPA is more commonly used. Therefore, it might be the first choice for most new applications. You can use JPA as the primary

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