Internal Website Search
1-50 of 200 resultsPrivacy 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 this Agreement) refers to ObjectDB Software Ltd, 109 Vernon House Friar Lane Unit 632 | |
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 | |
CriteriaBuilder.or(restrictions) - JPA Method JPA Method in 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 Return: or predicate Since: JPA 2.0 | |
CriteriaBuilder.or(x,y) - JPA Method JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate or ( Expression x, Expression y ) Create a disjunction of the given boolean expressions. Parameters: x - boolean expression y - boolean expression Return: or predicate Since: JPA 2.0 | |
javax.persistence.criteria.Predicate$BooleanOperator.OR JPA Enum Constant in javax.persistence.criteria.Predicate$BooleanOperator OR Since: JPA 2.0 | |
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 | |
Eclipse Public License - v 1.0"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE ... Contributor: i) changes to the Program, and ii) additions to the Program; where such changes and/ or ... . A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or | |
ObjectDB Website - Terms and Conditions of Use from using or accessing this site. The materials contained in this web site are protected by ... one copy of the materials (information or software) on ObjectDB Software's web site for personal, non ... , and under this license you may not: modify or copy the materials; use the materials for any commercial | |
ObjectDB License Agreement [ver. 2.0.4] Please read carefully this software license agreement. By downloading, installing or using ... and conditions - do not download, install or use the software. This agreement is between ObjectDB ... prevail s over any conflicting or additional terms of any oral or written quote, acknowledg e ment | |
Logical Operators in JPQL and Criteria API of logical operators, as shown in the following table: Set 1 - JPQL / SQL Set 2 - Java / JDO AND && OR ... is NULL and the other operand is either TRUE or NULL , the result is NULL (unknown). ObjectDB supports the Java/JDO && operator as a synonym of AND as part of its JDO support. Binary OR (||) Operator | |
JPA Persistable Types types and Serializable types (user or system defined). Note : Only instances of entity classes ... : should be a top-level class (i.e. not a nested / inner class). should have a public or protected no-arg constructor. cannot be final and cannot have final methods or final instance variables. ObjectDB | |
Database Explorer explorer.jar or by running explorer.exe (on Windows) or explorer.sh (on Unix/Linux, after editing ... ] tabbed window or select an element for viewing (an entity class in the [Schema] tabbed window, a bookmark in the [Database] tabbed window or an object in a currently open Table or Tree window | |
Eclipse Distribution License - v 1.0. Redistribution and use in source and binary forms, with or without modification, are permitted provided ... the documentation and/ or other materials provided with the distribution. Neither the name of the Eclipse Foundation, Inc. nor the names of its contributors may be used to endorse or promote products derived from | |
Entity Management Settings The element specifies enhancement related settings: The agent attribute (whose value is "true" or "false ... for every non enhanced class. " ignore" - reflection is used for non enhanced classes - with no error or ... entities are always held by strong references in the persistence context (until commit or flush | |
JPA Entity Fields either the Java transient modifier (which also affects serialization) or the JPA @Transient annotation ... the @Transient annotation). Storing an entity object in the database does not store methods or code ... the database every persistent field must contain either null or a value of one of the supported | |
Schema Update a complementary operation to renaming or moving these elements in the IDE during source code ... when persistable classes are renamed or moved to another package. Running the application with persistable classes that have been renamed or moved in the IDE, with no matching schema configuration | |
Database Connection using JPA an argument a name of a persistence unit . As an extension, ObjectDB enables specifying a database URL ( or ... : or ends with .odb or .objectdb is considered by ObjectDB to be a database URL rather than as ... ), an absolute path or a relative path of a local database file has to be specified (e.g. "my.odb | |
JPA Lifecycle Events ). @PostPersist - after storing a new entity in the database (during commit or flush ). @PostLoad ... the EntityManager . @PostUpdate - after updating an entity in the database (during commit or flush ... - after deleting an entity from the database (during commit or flush ). An entity class may include callback | |
Database Management Settings or copying a database file that has not been closed properly without its recovery file may corrupt ... is "true" or "false" ) specifies if a recovery file is used. The sync attribute (whose value is "true" or "false" ) specifies if physical writing is required before commit returns. sync=false | |
Database Doctor of the Operating System, Java or ObjectDB). Copying a database file while it is open and in use. Network or I/O failure when copying, moving or transferring a database file. Transferring a database file over FTP in ASCII mode (BINARY mode should be used). Deleting an ObjectDB database recovery file or | |
Database Schema Evolution with default values ( 0 , false or null ). Fields in the old schema that do not have matching fields in ... name and either the same type or a convertible type, as explained below. A matching field ... with a default value ( 0 , false or null ). The following type conversions are supported: From any numeric | |
Index Definition that prevents duplicate values in the indexed field. A PersistenceException is thrown on commit ( or flush ... ). @Index represents either an ordinary index with no unique constraint or a unique index if unique="true ... every indexed field must contain either null or a value of one of the following persistable types | |
JPA Metamodel API method or by the EntityManager 's getMetamodel method (both methods are equivalent). For example ... , embeddable or mapped super classes): ManagedType type1 = metamodel. managedType (MyClass.class ... an ID class when using multiple ID fields or properties. Finally, the EntityType interface adds | |
Locking in JPA that has to be updated or deleted is checked. An exception is thrown if it is found out that an update ... or deleted, and compares the version number of that object in the database to the version number ... (which is required by some ORM JPA providers) is defined in the entity class or not. Pessimistic Locking The main | |
Storing JPA Entity Objects or implicitly as a result of a cascade operation. Explicit Persist The following code stores ... managed by the EntityManager ) or by commit . Referenced Embedded Objects The following code stores ... object or alternatively by setting automatic cascading persist. Cascading Persist Marking a reference | |
Retrieving JPA Entity Objects with data that is retrieved from the database ( or from the L2 cache - if enabled). The new entity object ... FetchType . LAZY in either @OneToOne or @ManyToOne annotations (currently ObjectDB does not distinguish ... ) private Collection projects; : } Specifying FetchType . EAGER explicitly in @OneToMany or @ManyToMany | |
JPA Class Enhancer) in the CLASSPATH - path to class or jar file(s), *? wildcards supported include: -cp :  ... files for enhancement explicitly or by using wildcards: java com.objectdb.Enhancer test/*.class Main ... method as a single string delimited by commas or spaces. In addition, a class loader for loading | |
Paths and Types in JPQL and Criteria API with an instance of a user defined class (represented by a variable, parameter or prefix path ... class must contain a persistent field ( or property) with a matching name. The path expression ... value. In Java, a NullPointerException is thrown on any attempt to access a field or a method via a null | |
GROUP BY and HAVING clauses clause. When a GROUP BY clause exists in a JPQL query, database objects ( or tuples of database objects ... (count, sum, avg, max, min) that are carried out on all the objects ( or the object tuples) in ... /WHERE objects ( or object tuples) are considered as one group. For example, the following query | |
Setting and Tuning of JPA Queries that may affect query execution if invoked before a query is run using getResultList or getSingleResult ... , either at the EntityManager level as a default for all the queries in that EntityManager or ... language) or "ODBQL" (ObjectDB query language). The default is ODBQL, which is a union of JPQL | |
Strings in JPQL and Criteria Queries the following wildcard characters: The percent character ( % ) - which matches zero or more of any character ... (usually a parameter or literal). For example: c.name LIKE '_r%' is TRUE for 'Brazil' and FALSE ... (for any c.name value). To match an actual underscore or percent character it has to be preceded by | |
ObjectDB License 2.x updates. A site license covers installation of ObjectDB on all computers of one company or ... and laptops of employees in that workplace. Servers that are leased or rented from third party web hosting and/ or cloud hosting companies (including shared web hosting and VPS), if the hosted | |
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) is also accepted. Any string that starts with the prefix objectdb: or ends with .odb or .objectdb is considered | |
Database Replication and Clustering ObjectDB supports master-slave replication (cluster). When replication ( or clustering) is used ... has to be enabled, but no other preparations or settings are required. Setting Slave Databases Setting slave ... using one or more elements) and also databases that are not part of any cluster. The replicated | |
Detached Entity Objects. Cascading Detach Marking a reference field with CascadeType . DETACH ( or CascadeType ... of rollback or by a commit failure. Explicit Merge Detached objects can be attached to any ... an instance of an entity class or it is a removed entity. A TransactionRequiredException is thrown | |
Auto Generated Values in one or more fields in one or more classes. The @SequenceGenerator annotation is used to define ... is 50). A sequence is global to the application and can be used by one or more fields in one or | |
Query Parameters in JPA (of type ParameterExpression or its super interface Parameter ) rather than by names or numbers ... or a combination of date and time, as explained in detail in the Date and Time (Temporal) Types ... ), each with or without an expected type. There is also a method for extracting all the parameters as | |
Deleting JPA Entity Objects method or implicitly as a result of a cascade operation. Explicit Remove In order to delete ... is not an instance of an entity class or if it is a detached entity. A TransactionRequiredException ... . REMOVE ( or CascadeType . ALL , which includes REMOVE ) indicates that remove operations | |
Posting Sample Code To demonstrate a technical question or an issue - you may have to provide a complete runnable sample program . If an unexpected exception (e.g. NullPointerException or ClassCastException ) is thrown ... warnings (There is no ID defined for this entity hierarchy, The class should have a no-arg public or | |
[ODB1] Chapter 9 - ObjectDB Explorer. It is shipped as an executable jar that will run on any system with a Java 1.3 JRE or later installed ... Database To open a local database file, use the "File | Open Local" menu command ( or the equivalent ... Server Edition) use the "File | Open Remote" menu command ( or the equivalent toolbar button). In | |
[ODB1] Chapter 6 - Persistent Objects. represents some database content, or a transient object, i.e. not related to any database. Storing Objects ... can become persistent, either by multiple calls to makePersistent( ... ) , or by passing a collection or array of objects to makePersistentAll( ... ) , which is another method of PersistenceManager | |
[ODB1] Chapter 4 - JDO Metadata A JDO metadata file is an XML file with a '.jdo' suffix, containing information about one or ... at runtime, ObjectDB determines whether or not each class is persistent. It searches for JDO metadata ... classes can be specified in a package.jdo file located in META-INF , WEB-INF or in any other path | |
[ODB1] Chapter 5 - JDO Connections address (local or remote), and connections to that database are obtained using its getPersistenceManager ... using embedded mode, specify either its absolute path or its relative path. The JDOHelper ... The javax.jdo.option.ConnectionURL property specifies the database location and whether embedded mode or | |
[ODB1] Chapter 3 - Persistent Classes. Instances of these classes that represent objects in the database are called persistent objects or ... of persistent classes that live only in memory) are called transient objects or transient instances ... (constructors, methods and fields) can have any access modifiers (i.e. public, protected, package or private | |
Eclipse/JPA Java EE Tutorial. Required Software For this tutorial you will need the following software: Java JDK (6.0 or above). Eclipse IDE for Java EE Developers. GlassFish Server 3.0.1 ( or above). The last version of ObjectDB (just ... would be the same). Note: ObjectDB 2.3.7_04 or later is required if Glassfish 3.1.2 ( or later) is used | |
NetBeans/JPA Java EE Tutorial or above). NetBeans - Java or All bundle The last version of ObjectDB (just download and extract ... : ObjectDB 2.3.7_04 or later is required if Glassfish 3.1.2 ( or later) is used. The Tutorial Steps This tutorial consists of the following steps: | |
[ODB1] Chapter 8 - ObjectDB Server An ObjectDB server can manage one or more databases. Databases that are managed by a server ... /lib/odbse.jar com.objectdb.Server Or on Windows: java -cp \lib\odbse.jar com.objectdb.Server ... the background (for instance, using the & character at the end of the command line), or starting | |
[ODB1] Chapter 7 - JDOQL Queries whose age is 18 or older: Query query = pm.newQuery(Person.class, "this.age = 18"); Collection ... . The execute() method compiles and runs the query. If there is no age field in class Person or ... from this query: query.closeAll(); The complete code for printing all the people whose age is 18 or | |
[ODB1] Chapter 1 - About ObjectDB. It has a small footprint, high performance, and a flexible architecture (1-Tier, 2-Tier or N-Tier). 1 ... database (for example, as a result of special customer needs or requests) can be done without modifying ... do not have a visual browsing tool at all, or have a very limited one. Keep in mind that database | |
ObjectDB 1.0 Manual (SQL, JDBC or JDO) is not required in order to follow this guide, but a strong background ... you may want to extend your knowledge of JDO by reading the JDO specification or a book on JDO. Feedback We would appreciate any comment or suggestion regarding this manual. Please send your comments or questions to [email protected] . |