ObjectDB Database Search

1-50 of 168 results

jakarta.persistence.criteria.Path

Jakarta Persistence (JPA) Interface jakarta.persistence.criteria. Path Type Parameters: - the type referenced by the path Super Interfaces: Expression , Selection , TupleElement Represents a simple or compound attribute path from a bound type or collection, and is a "primitive" expression

Strings in JPQL and Criteria Queries

' and '' . As parameters when string values are passed as query arguments. As path expressions ... a path expression), and the right operand is the pattern (usually a parameter or literal). For example ... : // Create path and parameter expressions: Expression path = country. get ("name"); Expression param = cb

jakarta.persistence.criteria.Path.get(String)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria. Path Path get (    String attributeName ) Create a path corresponding to the referenced attribute. Note: Applications using the string-based API may need to specify the type resulting from the Path .get operation in order

jakarta.persistence.criteria.CriteriaBuilder.treat(Path,Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Path treat (    Path path ,    Class type ) Downcast Path object to the specified type. Parameters: path - path type - type to be downcast to Returns: Path object of the specified type. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.Path.get(SingularAttribute)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria. Path Path get (    SingularAttribute attribute ) Create a path corresponding to the referenced single-valued attribute. Parameters: attribute - single-valued attribute Returns: path corresponding to the referenced attribute. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Path.type()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria. Path Expression type() Create an expression corresponding to the type of the path . Returns: expression corresponding to the type of the path . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Path.getModel()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria. Path Bindable getModel() Return the bindable object that corresponds to the path expression. Returns: bindable object corresponding to the path . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Path.getParentPath()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria. Path Path getParentPath() Return the parent "node" in the path or null if no parent. Returns: parent. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Path.get(MapAttribute)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria. Path Expression get (    MapAttribute map ) Create a path corresponding to the referenced map-valued attribute. Parameters: map - map-valued attribute Returns: expression corresponding to the referenced attribute. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Path.get(PluralAttribute)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria. Path Expression get (    PluralAttribute collection ) Create a path corresponding to the referenced collection-valued attribute. Parameters: collection - collection-valued attribute Returns: expression corresponding to the referenced attribute. Since: Jakarta Persistence (JPA) 1.0

Numbers in JPQL and Criteria Queries

and -12.5 . As parameters that are bound to numeric arguments. As path expressions that navigate ... expression or a simple Java numeric object. // Create path and parameter expressions: Expression path ... (+) Expression sum1 = cb. sum ( path , param); // 2 expressions Expression sum2 = cb. sum ( path , 1000

FROM clause (JPQL / Criteria API)

is declared as a join variable that is bound to the c1.neighbors path and iterates only over objects in ... range variable that serves as a root and additional join variables that are bound to path expressions. Join variables can also be bound to path expressions that are based on other join variables

SELECT clause (JPQL / Criteria API)

. Projection of path expressions JPQL queries can also return results that are not entities. For example ... c.name FROM Country AS c Using path expressions , such as c.name , in query results is called ... only single-valued path expressions in the SELECT clause. Collection and map fields cannot be included

Index Definition

attribute and attaching the @Index annotation directly to the indexed field. Multi-part path index The members attribute is also required to define indexes on multi-part paths : @Entity @Index ( members ... that are stored as part of the entity. Therefore, indexes on multi-part paths are allowed only when using

Problem with distinct select, order by and equivalent alias/attribute path

the expressions (alias and access path ) theoretically be equivalent and therefore also the last query should work ... to me switching from alias to attribute path between projection and order by part... bklink Benjamin Klink

Adding multi part path index on non-embedable object member

. joesms Joerg Weishaupt The index definition is invalid, since a multi path index is limited ... . You may split a multi path index to two separate indexes, e.g. A simple index on the collection

$temp property not evaluated properly when used in log path

$temp property not evaluated properly when used in log path

Logical Operators in JPQL and Criteria API

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

JPA Class Enhancer

.Enhancer If objectdb.jar is not in the current directory, a path to the file must be specified ... on Unix/Linux) from the ObjectDB bin directory. To use that script, you must edit the paths ... the CLASSPATH - path to class or jar file(s), *? wildcards supported include: -cp : path to input user

JPA Criteria Query Expressions

predicate ├─ Path # Navigation path (attributes) ├─ ParameterExpression # Query parameter ... , representing any typed value, calculation, or path within the query. Extends Selection   ... predicates. A navigation path to an attribute value or a referenced entity. A type-safe representation

Database Management Settings

, but you can specify an alternative path with the path attribute. Storing the recovery file and the database ... , but you can specify an alternative path with the path attribute. The mode attribute ( "all" or "write

Server Configuration

of connections. The element The element has one attribute, path , which specifies the location of ObjectDB ... directory . The data path of an ObjectDB server is similar to the document root directory of a web ... , its subdirectories, and database files to operate correctly. When connecting to the server, the path specified in

Database Doctor

, you must specify the path to the file. The tool's main class is com.objectdb.Doctor . The only command-line argument for a diagnosis is the path to the database file (for example, my.odb ). The diagnosis ... The arguments are as follows: The first argument ( old.odb ) is the path to the corrupted database file

Database Transaction Replayer

by setting the path attribute in the configuration . The recording directory contains two types ... .objectdb.Replayer my.odb If objectdb.jar is not in the current directory, you must specify a path to it. The tool's main class is com.objectdb.Replayer . The required argument is the path to the database

Obtaining a JPA Database Connection

, you can either define a standard persistence unit or provide the file path of the ObjectDB database directly ... . However, with ObjectDB, any valid database file path (absolute or relative) is also accepted. ObjectDB ... already exist at the specified path , ObjectDB creates one. You also use the EntityManagerFactory

jakarta.persistence.criteria.MapJoin

Interfaces: PluralJoin , Join , From , Path , FetchParent , Expression , Selection , TupleElement ... exist. Since: Jakarta Persistence (JPA) 1.0 Path get ( SingularAttribute attribute ) Create a path corresponding to the referenced single-valued attribute. Inherited from Path Parameters: attribute

jakarta.persistence.criteria.PluralJoin

, From , Path , FetchParent , Expression , Selection , TupleElement The PluralJoin interface defines ... does not exist. Since: Jakarta Persistence (JPA) 1.0 Path get ( SingularAttribute attribute ) Create a path corresponding to the referenced single-valued attribute. Inherited from Path Parameters

jakarta.persistence.criteria.Root

: - the entity type referenced by the root Super Interfaces: From , Path , FetchParent , Expression , Selection ... - if attribute of the given name does not exist. Since: Jakarta Persistence (JPA) 1.0 Path get ( SingularAttribute attribute ) Create a path corresponding to the referenced single-valued attribute

Collections in JPQL and Criteria Queries

Collections can appear in JPQL queries in the following ways: As parameters when a collection is passed as an argument. As path expressions when navigating to a persistent collection field. IS [NOT ... methods for building these expressions: // Create path and parameter expressions: Expression languages

jakarta.persistence.criteria.SetJoin

, From , Path , FetchParent , Expression , Selection , TupleElement The SetJoin interface is the type ... exist. Since: Jakarta Persistence (JPA) 1.0 Path get ( SingularAttribute attribute ) Create a path corresponding to the referenced single-valued attribute. Inherited from Path Parameters: attribute

jakarta.persistence.criteria.CollectionJoin

: PluralJoin , Join , From , Path , FetchParent , Expression , Selection , TupleElement The CollectionJoin ... of the given name does not exist. Since: Jakarta Persistence (JPA) 1.0 Path get ( SingularAttribute attribute ) Create a path corresponding to the referenced single-valued attribute. Inherited from

Date and Time in JPQL and Criteria Queries

Date and time expressions can appear in JPQL queries in the following ways: As date and time literals --for example, {d '2011-12-31'} and {t '23:59:59'} . As parameters --when date and time values are passed as arguments. As path expressions --to navigate to persistent date and time fields. As

JPA Query Expressions (JPQL / Criteria)

on the following pages: Literals and dates ( literal , nullLiteral , currentDate , …) Paths , navigation

JPA Metamodel and Graphs

objects that can be bound to a Path in a Criteria query, mainly to define FROM variables

jakarta.persistence.criteria.CriteriaBuilder

. Since: Jakarta Persistence (JPA) 2.1 Path treat ( Path path , Class type ) Downcast Path object to the specified type. Parameters: path - path type - type to be downcast to Returns: Path object

jakarta.persistence.Convert

Persistence (JPA) 1.0 String attributeName A name or period-separated path identifying the converted ... be specified. (In this case the path relative to the annotated element is simply the empty path .) Default

jakarta.persistence.criteria.MapJoin.key()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.MapJoin Path key() Create a path expression that corresponds to the map key. Returns: path corresponding to map key. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.MapJoin.value()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.MapJoin Path value() Create a path expression that corresponds to the map value. This method is for stylistic use only: it just returns this. Returns: path corresponding to the map value. Since: Jakarta Persistence (JPA) 1.0

Help with 'not like/lower' query

): ParameterExpression stringProp = criteriaBuilder.parameter(String.class); Path path = root.get(property ... = criteriaBuilder.like(criteriaBuilder.lower( path ), stringProp); stringMapOfValues.put(stringProp, property ... = criteriaBuilder.notLike(criteriaBuilder.lower( path ), stringProp); stringMapOfValues.put(stringProp, property

Can I Disable the Creation of the "log" Directory?

(attached to forum thread mentioned above), I disable logging (by setting log path ="") but the "log ... which you set the log path to empty, since apparently the only place in which "log" is specified in ... . Path ; import java.nio.file. Paths ; import java.util.Properties; public class Test{ public static void

Embedding ObjectDB on server application

at the connection file path for the persistent factory. So if I want to pass in the database file path , with relative path , where exactly is it relative to? So I did a test and just wrote:    ... the classpath (i.e. JPA is available but not ObjectDB). It could also happen if the path

jakarta.persistence.metamodel.Bindable

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.Bindable Type Parameters: - The type of the represented object or attribute An instances of the type Bindable represents an object or attribute type that can be bound into a Path . Since: Jakarta Persistence (JPA) 2.0 Public

Setting temp directory location in ObjectDB

file path is calculated using:     String dirPath = System.getProperty("com.objectdb.recovery. path ");     if (dirPath == null) {       ... ;m_recoveryFile = new File(dirPath, ".$" + m_dbFile.getName() + "$"); So you can change the path by

ObjectDB within a resource adapter module and Java EE Connector Architecture

an XML file or you can simply provide the file path of the ObjectDB database instead ... that replaces a logical path with a parameter (similar to $objectdb in the url) with a value from ... is the same in both case, but at least the path is clear. Note also that the user and password

Online Backup in client-server mode

then it is interpreted as the path on the server machine to which to write the backup file and no temporary file ... it seems, that the Absolute path on Linux/MacOS is not working. When I enter the path /tmp/odb_backup it is still creating ... parameter it represents a path relative to the ObjectDB home directory, and in client-server mode, 

Failed to write to ObjectDB log file

to create a log file at the default path . Possible solutions: Change the location of the log files to another path . Grant the ObjectDB process permission to write to that path . Disable logging by specifying an empty path . support Support In my project I want to include objectdb.jar into my jar program

Failed to read DB file while online backup is running

._JdoUserException: Failed to read from file '/ path _to_db/dbFile.odb' NestedThrowables: java.io ... by: com.objectdb.o._JdoUserException: Failed to read from file '/ path _to_db/dbFile.odb ... version. jakab Gergely Jakab Unfortunately the "Failed to read from file '/ path _to_db/dbFile.odb'" error

Step 7: Run the Spring Web App

At this stage your project should have the following structure: Use copy and paste to replace the content of the index.jsp file (which serves as the default front page) with the following redirection to the  controller path : If Tomcat 6.0 is installed as a server in your Eclipse - 

Step 1: Create a Java EE 6 Web Project

and the Download additional server adapters link. Follow the instructions and specify the path

ODB Server tries to write a log file to a weird location

We are testing client-server architecture. Our server has the following config: path = "$temp" threshold = "64mb" / inactivity-timeout = "0" / size = "0" user = "true" password = "true" / path = "$objectdb/log/odb" max = "8mb" stdout = "false" stderr = "false" / path = "$objectdb/log/odb/archive