Internal Website Search
1-50 of 200 resultsPaths and Types in JPQL and Criteria API are assigned as arguments. Path expressions that navigate from one object to another. Instances of user ... . But more often they are used in JPQL path expressions that navigate to values of simple types (number, boolean ... , and they can be used in ordering . Navigation through Path Expressions A path expression always starts | |
Strings in JPQL and Criteria Queries' , ''. as parameters - when string values are assigned as arguments. as path expressions - in ... is always the string to check for a match (usually a path expression) and the right operand is always the pattern ... , as shown in the following examples: // Create path and parameter expressions: Expression path | |
Numbers in JPQL and Criteria Queries , -12.5 . as parameters - when numeric values are assigned as arguments. as path expressions - in ... Java numeric object: // Create path and parameter expressions: Expression path = country ... ( path , param); // 2 expressions Expression sum2 = cb. sum ( path , 1000); // expression + number | |
FROM clause (JPQL / Criteria API) a join variable that is bound to the c1.neighbors path and iterates only over objects in ... 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 that appear | |
javax.persistence.criteria.Path JPA Interface Path Type Parameters: - the type referenced by the path Represents a simple or compound attribute path from a bound type or collection, and is a "primitive" expression. Since: JPA 2.0 The Paths and Types in JPQL and Criteria API article explains how to use Path . Public Methods | |
SELECT clause (JPQL / Criteria API) the "SELECT *" expression (which is commonly used in SQL). Projection of Path Expressions JPQL ... path expressions , such as c.name , in query results is referred to as projection. The field values ... value path expressions can be used in the SELECT clause. Collection and map fields cannot be included | |
Index Definition members and attaching the @Index 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 ... that are stored as part of the entity. Therefore, indexes on multi part paths are only allowed | |
Database Connection using JPA path ) directly, bypassing the need for a persistence unit. Any string that starts with objectdb ... ), an absolute path or a relative path of a local database file has to be specified (e.g. "my.odb ... ; "objectdb:my-db.tmp" ). To use client server mode, a URL in the format objectdb://host:port/ path | |
Chapter 6 - Configuration: This page explains how ObjectDB configuration works in general. The Configuration Path By default ... ) is derived 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 | |
Database Explorer directory a path to it has to be specified. Alternatively, you can run the Explorer by double clicking ... the shell file, setting the paths to the objectdb.jar file and to the JVM). Connecting to the Database ... -server connection. You also have to specify a database path on the server, possibly using | |
Path | |
CriteriaBuilder.treat(path,type) - JPA Method JPA Method in javax.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 Return: Path object of the specified type Since: JPA 2.1 | |
Path | |
Path | |
Path | |
Path | |
Logical Operators in JPQL and Criteria API, a boolean path (a field or a property) is represented by Path : Path isInUN = country. get ("isInUN"); Path isInEU = country. get ("isInEU"); Path isInOECD = country. get ("isInOECD"); Predicate | |
JPA Class Enhancer.objectdb.Enhancer If objectdb.jar is not in the current directory a path to it has to be specified ... .sh on Unix/Linux) from the ObjectDB bin directory. To use that script you have to edit the paths ... ) in the CLASSPATH - path to class or jar file(s), *? wildcards supported include: -cp :  | |
General Settings and Logging: The path attribute specifies a directory in which the temporary files are generated. The $temp prefix can be used to represent the system default temporary path , as demonstrated above. Using RAM ... the Explorer easier. The element General logging settings are specified in the element: The path | |
Path | |
Path | |
Database Management Settings file is generated in the directory of the database file, but any other alternative path can be specified by the path attribute. Using separate storage devices (e.g. disks) for the recovery file ... other alternative path can be specified by the path attribute. The mode attribute (whose value is "all" or | |
Server Configuration connections limit. The element The element has one attribute, path , which specifies the location ... above), represents the ObjectDB home directory . The data path of an ObjectDB server is similar ... . When connecting to the server the path that is specified in the URL connection is resolved relative | |
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 ... .odb above) is the path to the original (corrupted) database file. The second argument ( new.odb | |
Server User List more subelements indicating which paths under the server data directory the user is allowed to access: The required path attribute specifies a directory path relative to the root data directory. Permission ... under that directory. Therefore, path "/" indicates permission to access any directory in the data directory | |
Database Transaction Replayer on a different physical device by setting the path attribute in the configuration . The recording ... is not in the current directory a path to it has to be specified. The tool's main class is com.objectdb.Replayer and the required argument is the path to the database file (e.g. my.odb as shown | |
Obtaining a JPA Database Connection persistence unit in an XML file or you can simply provide the file path of the ObjectDB database ... an argument, but when using ObjectDB, any valid database file path (absolute or relative ... ). If no database file exists yet at the given path ObjectDB will try to create one. The EntityManagerFactory | |
GROUP BY and HAVING clauses. Only identification variables and path expressions are currently supported in the GROUP BY clause by all the JPA ... the group by using path expressions . The following query groups countries in Europe by their currency ... GROUP BY c.currency Because grouping is performed in this query on a path expression , this query | |
Database Server -cp objectdb.jar com.objectdb.Server If objectdb.jar is not in the current directory a path ... a configuration path explicitly on the command line: java com.objectdb.Server -conf my_objectdb.conf start ... .sh , is included in the bin directory. To use that script you have to edit the paths to the objectdb | |
Collections in JPQL and Criteria Queries Collections may appear in JPQL queries: as parameters - when collections are assigned as arguments. as path expressions - in navigation to persistent collection fields. IS [NOT] EMPTY ... examples: // Create path and parameter expressions: Expression languages = country. get ("languages | |
Online Backup above could generate a backup whose full path is c:\objectdb\backup\201912312359\test.odb ... is specified as a value for the target parameter it represents a path relative to the ObjectDB home | |
ObjectDB Object Database Features). Map keys and values are indexable. Nested paths inside embedded objects are indexable. Indices ... Expressions Path navigation expressions using the dot (.) operator. Comparison operators ( | |
SSL Configuration is represented by a separate child element with two required attributes: path , which specifies the path | |
Date and Time in JPQL and Criteria Queries Date and time expressions may appear in JPQL queries: as date and time literals - e.g. {d '2011-12-31'} , {t '23:59:59'} . as parameters - when date and time values are assigned as arguments. as path expressions - in navigation to persistent date and time fields. as results of predefined | |
JPA Query Expressions (JPQL / Criteria) , ...). Paths , navigation and types ( get , type ). Arithmetic expressions ( sum , diff , prod | |
JPA Criteria API Queries , nullLiteral , currentDate , ...). Paths , navigation and types ( get , type ). Arithmetic expressions ( sum | |
ORDER BY clause (JPQL / Criteria API) expressions can be used in the ORDER BY clause. Some JPA implementations are more restrictive. Path | |
javax.persistence.criteria.From belonging to the type, and for Paths of attributes belonging to the type. Since: JPA 2.0 Public ... : FetchParent Since: JPA 2.0 Expression get ( MapAttribute map) Create a path corresponding ... to the referenced attribute Inherited from: Path Since: JPA 2.0 Expression get ( PluralAttribute   | |
[ODB1] Chapter 8 - ObjectDB Server where represents the installation path of ObjectDB. If you add odbse.jar to the classpath, you can run ... , as shown below: You can also specify an explicit path to the configuration file: java com.objectdb ... the path to the odbse.jar file, and to the JVM. It is recommended that you do not edit this file | |
[ODB1] Chapter 9 - ObjectDB Explorer, if the installation path of the ObjectDB Free Edition on Windows is c:\objectdb , you can start the Explorer using the following command: java -jar c:\objectdb\lib\odbfe.jar If a database path ... paths ) can run the Explorer on other operating systems. Starting the Explorer on Windows You can start | |
[ODB1] Chapter 5 - JDO Connections using embedded mode, specify either its absolute path or its relative path . The JDOHelper ... client server mode should be used to access that database. To use embedded mode, an absolute path or a relative path of a local database file has to be specified. To use client server mode, a url in | |
Step 7: Run the Spring Web App redirection to the controller path : Assuming that Tomcat 6.0 is installed as a server in your NetBeans ... \objectdb.jar (use the path to objectdb.jar on your computer). Click the Close button. Right click | |
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 | |
Step 1: Create a Web Project as a new server by clicking the New Runtime... button . Follow the instructions and specify the path | |
Step 1: Create a Java Project the objectdb.jar file, using: Right Clicking on the Project Properties Java Build Path Libraries Add External | |
Step 1: Create a Web Project the path to Tomcat. Click the Finish button to create the project (Frameworks are not required). To add | |
[ODB1] Chapter 4 - JDO Metadata the following paths (in the order shown): META-INF/package.jdo WEB-INF/package.jdo package.jdo a/package.jdo ... paths (in the order shown): META-INF/package.jdo WEB-INF/package.jdo package.jdo X.jdo A metadata file ... classes can be specified in a package.jdo file located in META-INF , WEB-INF or in any other path | |
[ODB1] Chapter 3 - Persistent Classes paths in the database). Static and final fields can never be persistent. The transient modifier ... user classes -d output path for enhanced classes -s include sub directories in search -noopt disable | |
[ODB1] Chapter 2 - A Quick Tour file does not exist in that path , a new database file is created automatically. To enable updating |