ObjectDB Database Search
101-150 of 200 resultsJPA Query Expressions (JPQL / Criteria), [NOT] MEMBER [OF] and the [NOT] LIKE operator. Logical operators : AND, OR , NOT. In addition, JPA ... ( equal , notEqual , gt , ge , lt , le , between , isNull , ...) Logical expressions ( and , or , not , isTrue ). | |
What are the system requirements for using ObjectDB? ObjectDB requires Java 8 or later. As a pure Java application, ObjectDB should be able to run on any platform that supports the Java Standard Edition. Either the Java Development Kit (JDK) or the Java Runtime Environment (JRE) can be used. A version of ObjectDB for .NET is currently under development. | |
JPA Query Structure (JPQL / Criteria). JPQL keywords, for example, can appear in queries either in upper case (e.g. SELECT) or in lower ... declares one or more query variables (also known as identification variables). Query variables | |
Numbers in JPQL and Criteria Queries, which is always a positive number or zero. For example: ABS(-5) is evaluated to 5 ABS(10.7) is evaluated ... must be a criteria numeric expression. The other operand may be either another numeric expression or a simple | |
JPA Named Queries to exactly one entity class or mapped superclass - usually to the most relevant entity class ... queries. Notice that named queries may be attached to any entity class or mapped superclass | |
How to install ObjectDB? ObjectDB is distributed as a zip file. Just download and extract the ObjectDB distribution zip file. No need to run any install or setup program. You can uninstall ObjectDB by deleting the ObjectDB directory. ObjectDB does not modify the registry or any other system file. | |
Is ObjectDB better than Object Relational Mapping (ORM)? of a relational database is mandatory (e.g. as a result of a customer request or when a new application ... performance and use a JPA ORM provider (Hibernate, TopLink, EclipseLink or DataNucleus) to access relational | |
Criteria Query Selection and Results interface is a thin wrapper around Expression , which adds order direction - either ascending (ASC) or ... an ascending or descending Order instance (respectively). See the ORDER BY in Criteria Queries section  | |
BIRT/ODA ObjectDB Driver connection URL - either embedded (e.g. c:\points.odb ) or client-server (e.g. objectdb ... ) and click Next . Entry a JPQL or a JDOQL query and click Finish . See the Report Generation | |
UPDATE SET Queries in JPA/JPQL variable (with or without an explicit variable name) for iteration. Multiple variables and JOIN are not supported. The SET clause defines one or more field update expressions (using the range | |
Online Backup An ObjectDB database can be backed up by simply copying or archiving the database file while the database is offline (i.e. when it is not open in an ObjectDB server and not in use by any application ... ( em ) that represents the connection (local or remote) to the database:   | |
JPA Persistence Unit. One persistence.xml file can include definitions for one or more persistence units. The portable way ... explicitly by using class elements (for single class registration) or jar-file elements | |
Working with JPA Entity Objects the Configuration chapter. By default, managed entity objects that have not been modified or removed ... references or soft references instead of weak references . The contains method can check if a specified | |
jakarta.persistence.criteria.Subquery, an alias cannot be changed or reassigned. Returns the same selection item. Inherited from Selection ... specifying whether duplicate results must be eliminated from the subquery result or ... assigned to the tuple element or null, if no alias has been assigned. Inherited from TupleElement | |
jakarta.persistence.EntityManagerFactory of EntityManager . A persistence unit defines the set of all classes that are related or grouped by ... may be defined by a persistence.xml file, or it may be defined at runtime via the PersistenceConfiguration API. Every persistence unit has a transaction type , either JTA , or RESOURCE_LOCAL . Resource | |
jakarta.persistence.Basic: Annotation Target: Method, Field The simplest type of mapping of a persistent field or property to a single database column. The Basic annotation may be applied to a property or instance variable whose type is any one of the following: a Java primitive type, or wrapper of a primitive type, String | |
jakarta.persistence.Entity must: be a non- final top-level class or static inner class, have a public or protected constructor with no parameters, and have no final methods or persistent instance variables. An enum, record, or ... annotation, and may have one or more secondary tables, mapped using the SecondaryTable annotation | |
jakarta.persistence.criteria.AbstractQuery the query result or whether they must be retained Returns: the modified query. Since: Jakarta ... getGroupRestriction () Return the predicate that corresponds to the restriction(s) over the grouping items, or null ... () Return the predicate that corresponds to the where clause restriction(s), or null if no restrictions | |
jakarta.persistence.AttributeOverride (whether explicit or default) property or field or Id property or field. May be applied to an entity that extends a mapped superclass or to an embedded field or property to override a basic mapping or id mapping defined by the mapped superclass or embeddable class ( or embeddable class of one of its attributes | |
jakarta.persistence.JoinColumn: Annotation Target: Method, Field Specifies a column for joining an entity association or element ... . If the join is for a OneToOne or ManyToOne mapping using a foreign key mapping strategy, the foreign key column is in the table of the source entity or embeddable. If the join is for a unidirectional | |
jakarta.persistence.LockModeType , Comparable , Serializable Enumerates the kinds of optimistic or pessimistic lock ... as an argument to: one of the methods of EntityManager which obtains locks ( lock() , find() , or refresh() ), or to Query.setLockMode or TypedQuery.setLockMode . Optimistic locks are specified using | |
jakarta.persistence.OrderBy association or element collection at the point when the association or collection is retrieved. The syntax ... [, orderby_item]* orderby_item ::= [property_ or _field_name] [ASC | DESC] If ASC or DESC is not specified, ASC ... , ordering by the primary key of the associated entity is assumed. The property or field name | |
jakarta.persistence.Embeddable of multiple persistent fields or properties, across several entities, and so distinct instances ... must: be a non- abstract , non- final top-level class or static inner class, or a Java record type, have a public or protected constructor with no parameters, unless it is a record type, and have no final | |
jakarta.persistence.metamodel.IdentifiableType: - The represented entity or mapped superclass type. Super Interfaces: ManagedType , Type An instance of the type IdentifiableType represents an entity or mapped superclass type. Since: Jakarta ... the attribute that corresponds to the id attribute declared by the entity or mapped superclass. Parameters | |
jakarta.persistence.metamodel.EntityType element type is returned. If the bindable type is SINGULAR_ATTRIBUTE or ENTITY_TYPE , the Java type of the represented entity or attribute is returned. Inherited from Bindable Returns: Java type ... ) Return the attribute that corresponds to the id attribute declared by the entity or mapped superclass | |
FROM clause (JPQL / Criteria API), MOD, NEW, NOT, NULL, NULLIF, OBJECT, OF, OR , ORDER, OUTER, POSITION, SELECT, SET, SIZE, SOME, SQRT | |
Date and Time in JPQL and Criteria Queries for building date and time expressions that represent the current date and/ or time: // Create | |
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 The IS [NOT] EMPTY operator checks whether a specified collection is empty or not. For example: c.languages | |
Is ObjectDB better than competing object databases? relational database by using an ORM JPA provider such as Hibernate, EclipseLink or Open JPA | |
Eclipse/JPA Spring MVC Web Tutorial Eclipse - using ObjectDB, JPA, Tomcat ( or GlassFish) and Maven. The demo web application manages ... the following software: Java JDK 6.0 ( or above). Eclipse IDE for Java EE Developers. m2eclipse | |
JPA Web App Tutorial - Maven Project The JPA Web Application tutorial provides step by step instructions on how to build a simple Java/JPA database driven web application (for Tomcat / Jetty) in Eclipse or NetBeans ... and install ObjectDB or a Java web server - Maven will download the ObjectDB jar and the Jetty | |
JPA Web App Tutorial - NetBeans Project Project . Run the project: Select Run Run Main Project... ( or F6 ). Choose or define the server and click | |
Step 3: Add a Context Listener Class a ServletContextListener to perform initialization and cleanup operations: The database will be opened ( or ... . The database will be closed when the web application stops ( or when the web server shuts down), by | |
Getting Started with JPA and Eclipse . For this tutorial, besides the Java JDK (8 or above) and the Eclipse IDE (either Eclipse IDE for Java EE Developers or Eclipse IDE for Java Developers), you only need to download and extract the ObjectDB | |
NetBeans/JPA Web Application Tutorial you will need the following software: Java JDK (6.0 or above). NetBeans - Java or All bundle The last version | |
Java EE Web Tutorial (session beans) it requires a full Java EE 6 application server, such as GlassFish 3.0.1 or JBoss AS 6. If you need a web application that can run on a simple servlet container (such as Tomcat or Jetty | |
Java EE 6 JPA Tutorial - NetBeans Project and click Open Project . Run the project: Select Run Run Main Project... ( or F6 ). Choose or define the server and click OK . If a browser is not opened - open it at http://localhost:8080/Guestbook/. | |
Step 2: Entity Class and Persistence Unit) and selecting New Entity Class ... ( or New Other... Persistence Entity Class and clicking ... a text editor (by right clicking and selecting Edit or by double click and then moving to the XML | |
Spring MVC JPA Tutorial - Maven Project The Spring MVC JPA tutorial provides step by step instructions on how to build a simple Java/JPA Spring MVC database driven web application in Eclipse or NetBeans . Building a new ... and install ObjectDB or a Java web server - Maven will download the ObjectDB jar and the Jetty | |
Step 3: Add a Context Listener Class a ServletContextListener to perform initialization and cleanup operations: The database will be opened ( or ... an EntityManagerFactory . The database will be closed when the web application stops ( or when the web server shuts | |
Spring MVC JPA Tutorial - NetBeans Project Project . Run the project: Select Run Run Main Project... ( or F6 ). Choose or define | |
Step 2: Entity Class and Persistence Unit node (in the [Project Explorer] window) and selecting New Folder ( or New Other... General | |
Spring MVC and JPA Tutorial This tutorial demonstrates how to create and run a full Java Spring MVC (Model View Controller) web application using Tomcat ( or GlassFish), JPA, ObjectDB and Maven. The demo web application manages a basic guestbook page. Every visitor can sign the guestbook by filling a simple form. All visitors | |
Spring MVC JPA Tutorial - IntelliJ Project IDEA: Select the new run configuration at the toolbar and click the green run icon ( or Shift | |
Step 6: Set the Spring XML editor (by right clicking and selecting Open With Text Editor or by double click | |
Step 6: Set the Spring XML clicking and selecting Edit or by double click and then moving to the XML tab in the editor window | |
Java EE JPA Tutorial - Maven Project The Java EE Web Application tutorial provides step by step instructions on how to build a simple Java/JPA database driven web application (for GlassFish 3/ JBoss 6) in Eclipse or NetBeans . Building a new application step by step is an effective way to learn - but  | |
JPA Tutorials, such as GlassFish 3.0.1 or JBoss AS 6. Another tutorial shows how to use JPA in a Spring MVC Framework | |
Java EE 6 JPA Tutorial - Eclipse Project when the Maven project is imported into the IDE). Choose or define the server and click Finish | |
Step 3: Define an EJB Session Bean Operations on the database will be performed by an instance of a session bean (EJB) class that we will define in this step: Open the [New Session Bean] dialog box by right clicking the guest package node (in the [Projects] window), selecting New Other... Java EE ( or Enterprise JavaBeans) Session |