ObjectDB ObjectDB

Internal Website Search

31-40 of 200 resultsRefresh

SELECT clause (JPQL / Criteria API)

- JPQL does not support the "SELECT *" expression (which is commonly used in SQL). Projection of Path ... FROM Country AS c Using path expressions, such as c.name, in query results is referred to as ... > results = query.getResultList(); Only singular value path expressions can be used in the SELECT

Database Connection using JPA

of a persistence unit. As an extension, ObjectDB enables specifying a database URL (or path) directly ... ObjectDB embedded directly in your application (embedded mode), an absolute path or a relative path ... , a URL in the format objectdb://host:port/path has to be specified. In this case, an ObjectDB

Index Definition

annotation directly to the indexed field. Multi Part Path Index The members attribute is also required in order to define indexes on multi part paths: @Entity @Index(members={"address.city"}) public class ... to values that are stored as part of the entity. Therefore, indexes on multi part paths

Chapter 6 - Configuration

explains how ObjectDB configuration works in general. The Configuration Path By default ... from the location of the objectdb.jar file. It is defined as the path to the directory in ... file is loaded from $objectdb/objectdb.conf. You can specify an alternative path by setting

Logical Operators in JPQL and Criteria API

, a boolean path (a field or a property) is represented by Path<Boolean>: Path<Boolean> isInUN = country.get("isInUN"); Path<Boolean> isInEU = country.get("isInEU"); Path<Boolean> isInOECD

JPA / JDO Class Enhancer

.Enhancer If objectdb.jar is not in the current directory a path to it has to be specified. Alternatively ... /Linux) from the ObjectDB bin directory. To use that script you have to edit the paths to theobjectdb ... of a class (without .class suffix) in the CLASSPATH <filename> - path to class or jar file(s

Database Doctor

is not in the current directory a path to it has to be specified. The tool main class is com.objectdb.Doctor and the only command line argument for running a database diagnosis is the path to the database ... .odb above) is the path to the original (corrupted) database file. The second argument (new.odb

Database Server

: > java -cp objectdb.jar com.objectdb.Server If objectdb.jar is not in the current directory a path ... . Usage: java com.objectdb.Server [options] start | stop | restart options include: -conf <path ... . This can be overridden by specifying a configuration path explicitly on the command line: > java com.objectdb

GROUP BY and HAVING clauses

. Only identification variables and path expressions are currently supported in the GROUP BY clause by ... of objects in the group by using path expressions. The following query groups countries in Europe by ... OF c.continents GROUP BY c.currency Because grouping is performed in this query on a path

Obtaining a JPA Database Connection

persistence unit in an XML file or you can simply provide the file path of the ObjectDB database ... unit name as an argument, but when using ObjectDB, any valid database file path (absolute or relative ... is installed). If no database file exists yet at the given path ObjectDB will try to create

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