Internal Website Search

111-120 of 200 resultsRefresh

Database Schema Evolution

. If the old type is inconvertible to the new type (for instance a change from int to Date ... conversions are supported: From any numeric type to any numeric type. In ... ordinal values (the default). From any type to Boolean or boolean (0

CRUD Database Operations with JPA

/EntityManager/createQuery_String">createQuery("SELECT COUNT(p) FROM Point p"); System.out.println ... > The query string ("SELECT COUNT(p) FROM Point p") instructs JPA to count all the Point objects ... ">createQuery("SELECT AVG(p.x) FROM Point p"); System.out.println("Average X: " + q2.

JPA Persistable Types

times. Referencing instances of other persistable types from multiple Aside from these constraints, an entity class is like any other Java class ... are represented from">in queries by entity names. By default

Index Definition

>double. Equivalent wrapper classes from package java.lang: Byte SELECT p FROM Point p WHERE p.x = 100 SELECT p FROM Point p WHERE p.x BETWEEN 50 AND 80 SELECT p FROM Point p WHERE p.x >= 50 AND p.x <= 80 By using

Strings in JPQL and Criteria Queries

>) is returned if the substring is not found. The third argument (when present) specifies from ... and Trailing Characters The TRIM([[LEADING|TRAILING|BOTH] [char] FROM] str). TRIM(LEADING FROM ' UK ') is evaluated to

Privacy Policy

of the Service or from the Service infrastructure itself (for example, the duration of a page visit ... to ObjectDB Website, accessible from from Your jurisdiction. Your consent to this Privacy

[ODB1] Chapter 8 - ObjectDB Server

accessing these databases from remote machines by TCP/IP. More details about client server mode vs. embedded ... program from the command line, as so: > java -cp <OBJECTDB_HOME> ... to the server only from the specified IP address. For instance, the "" value

[ODB1] Chapter 3 - Persistent Classes

/manual/chapter4">Chapter 4 explains how to write the JDO metadata declaration. Aside from ... ), inheritance (even from a non persistent class), interface implementations, inner classes ... to exclude other fields from being stored in the database. It is recommended to explicitly define

[ODB1] Chapter 7 - JDOQL Queries

There are various ways to retrieve objects from an ObjectDB database, as shown in ... for RDBMS. It provides object retrieval from the database according to a specified selectioPlan ... The query result is a subset of objects from the candidate collection

[ODB1] Chapter 5 - JDO Connections

>PersistenceManagerFactory instance may manage a pool of free PersistenceManager instances. From ... is the same for both new database connections and database connections obtained from a pool. PersistenceManager instances obtained from that factory. Setting these flags