ObjectDB Database Search
1-50 of 200 resultsJPA Container Injection Annotations Jakarta Persistence (JPA) provides standard annotations to manage dependencies on container ... the container to inject EntityManager or EntityManagerFactory proxies directly into application components ... using the following annotations: Expresses a dependency on a container -managed EntityManager , injecting | |
jakarta.persistence.Cache.contains(Class,Object) Jakarta Persistence (JPA) Method in jakarta.persistence.Cache boolean contains ( Class cls , Object primaryKey ) Whether the cache contains data for the given entity. Parameters: cls - entity class primaryKey - primary key Returns: boolean indicating whether the entity is in the cache. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.EntityManager.contains(Object) Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager boolean contains ( Object entity ) Determine if the given object is a managed entity instance belonging to the current persistence context. Parameters: entity - entity instance Returns: boolean value indicating | |
JPA ORM Mapping Annotations. A container annotation for defining multiple @SecondaryTable entries. Specifies a unique constraint ... : Specifies a column for joining an entity association or element collection. A container annotation ... a foreign key to join to another table (often used in JOINED inheritance). A container annotation | |
SELECT clause (JPQL / Criteria API) with the containing entities. Therefore, embedded objects that are retrieved directly by a result path expression ... results: SELECT c.name, c.capital.name FROM Country AS c The result list of this query contains Object[] elements, one for each result row. Each array contains two elements: the first is the country name | |
Storing JPA Entities of other persistable types can be stored in the database only as embedded objects in containing ... is thrown if the database already contains another entity of the same type with the same primary key ... their containing entities. Therefore, if Address is an embeddable class , the Employee entity is automatically | |
Collections in JPQL and Criteria Queries. For example: 'English' MEMBER OF c.languages evaluates to TRUE if the languages collection contains ... if the languages collection does not contain 'English' , and FALSE otherwise. [NOT] IN The [NOT] IN operator provides an additional method for checking if a specified element is contained in a collection. JPA | |
Index Definition files. When an entity is stored in the database, every indexed field must contain either null or a value ... to an entity Arrays and collections that contain values of the above types, including null You can define ... embeddable classes, because the fields of an embedded object are stored as part of the containing entity | |
Server User List contains the following element: The elements ... ... Each user is represented by a single element ... to connect to the database. The element Each element can contain one or more subelements that specify ... can contain the following permissions: access : Permission to open a database for reading. modify | |
SSL Configuration communication. The default configuration file contains the following element: The enabled attribute ... , you must generate at least two files: A keystore file that contains the server's unique signature. This file ... . The SSL protocol uses the RSA algorithm for key exchange. A truststore file that contains | |
JPA Entity Fields; // not persistent because of @Transient } The preceding entity class contains only transient (non ... superclasses. When an entity is stored in the database, each persistent field must contain either null or ... class Person { @Embedded Address address; } Inverse fields Inverse (or mappedBy ) fields contain | |
JPA Persistable Types. It can contain constructors, methods, fields, and nested types with any access modifier ( public , protected ... can be stored in the database only as embedded objects, that is, as part of a containing entity. A class ... , and date3 fields above might be initialized with new Date() , which contains both date and time. The time | |
Schema Update configuration file contains an empty element. If this element is not empty, ObjectDB tries to apply ... is specified, a element serves as a container for child elements to rename classes and fields ... a container for child elements to rename fields in that class. The elements in the example rename the A , C | |
Privacy Policy files that are placed on Your computer, mobile device or any other device by a website, containing ... may use Cookies. Web Beacons: Certain sections of our Service and our emails may contain small ... Your Personal Data, We cannot guarantee its absolute security. Links to Other Websites Our Service may contain | |
JPA Persistence Unit classes in the JAR file that contains the persistence.xml file, are registered automatically ... (as an extension) automatically registers classes in the classpath root directory that contains ... queries are available only after their containing classes become known to ObjectDB—for example, when the first instance of a class is stored in the database. | |
Managing JPA Entities to the database when the transaction is committed. The Updating Entities section contains more information ... to use strong or soft references instead of weak references . Use the contains method to check if a specified entity is in the persistence context: boolean isManaged = em. contains (employee); To clear | |
ObjectDB Website - Terms and Conditions of Use from using or accessing this site. The materials contained in this web site are protected by ... engineer any software contained on ObjectDB Software's web site; remove any copyright or other proprietary ... changes to the materials contained on its web site at any time without notice. ObjectDB Software does | |
jakarta.persistence.EntityManager - { // do work in a persistence context ... }); In the Jakarta EE environment, a container -managed EntityManager may be obtained by dependency injection, using PersistenceContext . // inject the container ... : IllegalStateException - if the entity manager is container -managed. Since: Jakarta Persistence (JPA) 1.0 boolean | |
Database Transaction Replayer by setting the path attribute in the configuration . The recording directory contains two types ... , which has the same transaction ID in its name, contains the database operations that were recorded | |
Retrieving JPA Entities might contain a hollow Employee entity: Employee employee = em. find (Employee.class, 1); Employee managed ... the preceding example, the Employee entity class contains an address field that references an Address instance | |
Chapter 6 - Configuration The ObjectDB configuration file contains one root element with seven child elements: ... ... ... ... ... ... ... Each of these seven configuration elements is explained in a separate section ... to the directory that contains objectdb.jar , with one exception: if that directory is named bin | |
JPA Fetch Graphs Annotations. It is defined on an entity class and contains a list of attribute nodes that constitute the fetch plan. A container annotation used to group multiple @NamedEntityGraph definitions on a single entity | |
GROUP BY and HAVING clauses HAVING to ignore groups that contain only a single country: SELECT c.currency, SUM(c.population) FROM ... . Therefore, the SELECT clause can only contain aggregate functions, and individual objects and their fields | |
ORDER BY clause (JPQL / Criteria API) evaluating the order expressions. The ORDER BY clause can only contain expressions that are derived ... . If a query contains both a GROUP BY clause and an ORDER BY clause, the GROUP BY clause first aggregates | |
General Settings and Logging The configuration element specifies ObjectDB settings that are relevant to both the server and the client. The default configuration file contains the following element: The element To meet memory ... results that contain millions of objects. The element specifies temporary file settings: The path | |
Chapter 1 - Quick Tour. The example program in this chapter manages a simple database that contains points in the plane. Each point ... Point objects. This chapter contains the following sections: To run the sample program from | |
Database Explorer a persistent field, and each cell contains the value of a field for a specific object. This type ... has three tabs: General , Fonts , and Views . The General tab The General tab contains the following settings | |
JPA Primary Key part of their containing entities and do not have a separate identity. Automatic primary key By default ... are defined in an embeddable class . The entity contains a single primary key field that is annotated | |
Database Management Settings The configuration element specifies back-end (database engine) settings for the server and for embedded mode. The default configuration file contains the following element: The element The element specifies the database file and page size settings: The initial attribute specifies the initial size | |
Apache License, Version 2.0, January 2004 copy of the attribution notices contained within such NOTICE file, excluding those notices | |
Server Configuration The configuration element specifies settings for running an ObjectDB Server . The server is also affected by other elements in the configuration file, such as the and elements. The default configuration file contains the following element: The element The element specifies how clients can connect | |
JPA Named Queries Annotations. A container annotation that groups multiple @NamedQuery definitions on a single class. Supplies parameters | |
Database Replication and Clustering;user=b;password=b" ); A composite URL contains two or more database URLs separated by a pipe character | |
JPA Attributes Annotations property as an attribute containing a collection of embedded objects. This is used for "one-to-many | |
[ODB1] Chapter 7 - JDOQL Queries three components: A candidate collection containing persistent objects (usually an Extent ) A candidate class ... result is a subset of objects from the candidate collection that contains only the instances ... class is used, and the candidate collection contains all the non embedded instances of the candidate | |
[ODB1] Chapter 6 - Persistent Objects part of a containing object. Objects stored explicitly by makePersistent( ... ) are never embedded ... (an embedded object can only be retrieved using a reference from its containing object). 6.2  ... ); String s1 = oid.toString(); // s1 contains a temporary negative number pm.currentTransaction | |
[ODB1] Chapter 2 - A Quick Tour, step by step. Both sample programs are contained in ObjectDB's samples directory. 2.1   ... of the second run is expected to be: Hello World 0 Hello World 1 After two runs, the database contains ... of a single source file, HelloWorld.java , containing a single class: 1 // A simple program that manages | |
[ODB1] Chapter 9 - ObjectDB Explorer directory. Before using explorer.sh, you have to edit the paths that it contains . The following ... that the database contains (root objects are discussed in chapter 6 ). The "Query" window enables a user ... the "Tools | Options" menu command. The "General" Page The "General" page contains various options | |
JPA Tutorials, so you should be able to run it on any servlet container (e.g. Apache Tomcat, Jetty, etc.), as well as ... application that should be deployed in a Java EE 6 container : Java EE 6 (J2EE) Web Tutorial | |
Step 3: Define an EJB Session Bean application servers such as GlassFish and JBoss, and not by servlet containers , such as Tomcat and Jetty. By using EJB classes we can move some work from the application to the EJB container (i.e | |
Step 3: Define an EJB Session Bean Java EE application servers such as GlassFish and JBoss, and not by servlet containers , such as Tomcat and Jetty. By using EJB classes we can move some work from the application to the EJB container | |
[ODB1] Chapter 8 - ObjectDB Server application, packaged in the odbse.jar file. The jar file contains the entire ObjectDB ... directory containing all the database files that the server is allowed to access and manage. Please note ... the element in a multi user configuration, every user can be assigned a private subdirectory containing | |
[ODB1] Chapter 4 - JDO Metadata A JDO metadata file is an XML file with a '.jdo' suffix, containing information about one or ... metadata for fields: A single persistent class, test.A , is declared by a element containing sub elements ... contains all the fields with primitive types (e.g. int), types defined in java.lang (e.g. String | |
Step 5: Add a JSP Page, which contains a simple form for signing the guestbook, followed by a list of all the guests | |
JPA Web App Tutorial - Maven Project: mvn package jetty:run The current directory should be guestbook-web ( containing the pom | |
Report Generation with BIRT and JPA Started tutorial. The database file contains 1,000 Point entities, which represent points on the line y | |
Step 1: Create a Maven Web Project of the new created project is contained in a pom.xml file that was created in the project main | |
Step 1: Create a Maven Web Project the project. The configuration of the new created project is contained in a pom.xml file that was created | |
[ODB1] Chapter 3 - Persistent Classes , List and Map ) cannot refer to an unsupported collection, or a collection that contains objects ... the term 'persistence aware' refers to classes that are not persistent but contain code that accesses or | |
ObjectDB 1.0 Manual basic database programming using ObjectDB. Subsequent chapters contain detailed instructions |