ObjectDB Database Search
1-50 of 200 resultsSetting and Tuning of JPA Queries The Query and TypedQuery interfaces define various methods for setting and tuning query execution ... that EntityManager , or at the individual query level, which overrides the EntityManager setting ... . JPA adds support for pessimistic locking . The setLockMode method sets a lock mode to apply | |
Database Management Settings The configuration element specifies back-end (database engine) settings for the server ... specifies the database file and page size settings : The initial attribute specifies the initial size ... the database. The element specifies the recovery file settings : The enabled attribute ( "true" or | |
jakarta.persistence.metamodel.PluralAttribute.CollectionType.SET Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel.PluralAttribute.CollectionType SET Set -valued attribute Since: Jakarta Persistence (JPA) 1.0 | |
Step 6: Set the Spring XML.DispatcherServlet 2 spring *.html 30 index.jsp The settings above routes web requests with .html suffix to the Spring dispatcher servlet. Additional spring configuration is set in another XML file ... content: The settings above guides Spring to support annotations (for components, controllers | |
Step 6: Set the Spring XML: spring org.springframework.web.servlet.DispatcherServlet 2 spring *.html 30 index.jsp The settings ... configuration is set in another XML file (whose name is derived from the name of the Spring dispatcher ... with the following new content: The settings above guides Spring to support annotations (for components | |
JPA Runtime Tuning & Configuration , @Table ) or set globally at the persistence unit level during bootstrapping . This section describes dynamic options that control runtime behavior and allow you to adjust settings per session, query, or operation. Configuration scope hierarchy For non-static configuration (i.e., settings not expressed | |
Query Parameters in JPA is a parameter that serves as a placeholder for a value. Before executing the query, you must set ... parameter can appear multiple times in the query string. A query can be executed only after you set values for all its parameters. The order in which you set the parameters does not matter. Ordinal | |
JPA Entity Fields, such as Hibernate, or for changing default field settings . For example: @Entity public class ... an exception if you try to store an entity with a null value in that field. Cascade and fetch settings ... ( mappedBy ="department") Set employees; } The mappedBy element in the preceding example specifies | |
SELECT clause (JPQL / Criteria API) in criteria queries The criteria query API provides several ways to set the SELECT clause. Single selection Setting a single-expression SELECT clause is straightforward. For example, the following ... . get ("currency")). distinct (true); The select method takes one argument of type Selection and sets | |
Deleting JPA Entities that references an Address entity. Because of the CascadeType.REMOVE setting , when an Employee ... =true , specifying CascadeType.REMOVE is redundant. The difference between the two settings is how they handle a disconnected relationship, for example, when you set the address field to null or | |
Database Replication and Clustering to the slave databases, keeping them synchronized. Setting a master satabase A master ObjectDB database ... cannot. You must enable recording , but no other preparations or settings are required. Setting slave databases Setting up slave databases is straightforward. You only need to run an ObjectDB database server | |
Retrieving JPA Entities method is useful when you need a reference to an entity but not its data, for example, to set ... . In a hollow object, the primary key is set , but other persistent fields remain uninitialized ... this behavior with an explicit FetchType.EAGER setting : @Entity class Employee { : @ManyToMany ( fetch | |
JPA Class Enhancer (for example, the get and set methods). If you follow this practice, only user-defined persistable ... argument. Setting a Java agent enhancer in an IDE In Eclipse, JVM arguments can be set globally in ... in: Run Configurations… Arguments VM arguments In NetBeans, JVM arguments can be set in the project | |
WHERE clause (JPQL / Criteria API) and an official language from a specified set of languages: SELECT c, l FROM Country c JOIN c.languages l ... the WHERE clause. WHERE in criteria queries The CriteriaQuery interface provides two where methods for setting ... it as the WHERE clause predicate, overriding any previously set predicate. For example, the following | |
SQL Queries Annotations Jakarta Persistence (JPA) provides a set of annotations to define and map native SQL queries ... dialect. Groups multiple @NamedNativeQuery definitions on a single class. Result set mapping Map ... how the result set of a native query maps to entities, scalar values, or constructor results. Groups | |
Eclipse Public License - v 1.0 that although each Contributor grants the licenses to its Contributions set forth herein, no assurances ... the copyright license set forth in this Agreement. 3. REQUIREMENTS A Contributor may choose ... Contributor must pay those damages. 5. NO WARRANTY EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT | |
Storing JPA Entities setting up automatic cascading persist operations. Cascading persist Marking a reference field ... . Because of the CascadeType.PERSIST setting , when an Employee instance is persisted, the operation is automatically ... . You can do this either by setting the ObjectDB configuration or, in a JPA-portable way, by specifying the cascade-persist | |
JPA Persistable Types can be set explicitly by using the name attribute of the @Entity annotation: @Entity ( name ="MyName ... packages share the same class name, explicitly setting the entity name is required to avoid conflicts ... java.util.Collection , java.util.List , java.util. Set , or java.util.Map ), and this is also a good | |
Logical Operators in JPQL and Criteria API Logical operators in JPQL and JPA criteria queries combine simple Boolean expressions to form complex expressions. Logical operators ObjectDB supports two sets of logical operators, as shown in the following table: Set 1: JPQL / SQL Set 2: Java / JDO AND && OR || NOT ! JPQL uses SQL notation | |
Privacy Policy of our Service. Unless you have adjusted Your browser setting so that it will refuse Cookies, our Service ... Cookies for the purposes set out below: Essential Cookies These are Session Cookies,  ... is necessary for the purposes set out in this Privacy Policy. We will retain and use Your Personal Data | |
jakarta.persistence.TypedQuery query. PersistenceException - if the query execution exceeds the query timeout value set ... execution exceeds the query timeout value set and only the statement is rolled back. Since: Jakarta ... result the query object was set to retrieve. Returns 0 if setFirstResult was not applied to the query | |
JPA Metamodel Attributes: COLLECTION , SET , LIST , or MAP . Represents an attribute typed as a generic java.util.Collection . Represents an attribute typed as a java.util. Set , implying unique elements without a specific order | |
JPA Core Types these enums: Specifies whether the application uses JTA or resource-local transactions. This setting ... utilizes Jakarta Validation. Use this to explicitly enable, disable, or set validation to auto | |
jakarta.persistence.metamodel.IdentifiableType Persistence (JPA) 1.0 Set getAttributes () Return the attributes of the managed type. Inherited from ... the managed type. Since: Jakarta Persistence (JPA) 1.0 Set getDeclaredAttributes () Return the attributes declared by the managed type. Returns empty set if the managed type has no declared attributes | |
jakarta.persistence.metamodel.EntityType of the given name is not present in the managed type. Since: Jakarta Persistence (JPA) 1.0 Set ... declared in the managed type. Since: Jakarta Persistence (JPA) 1.0 Set getDeclaredAttributes () Return the attributes declared by the managed type. Returns empty set if the managed type has no declared | |
jakarta.persistence.metamodel.MappedSuperclassType. Since: Jakarta Persistence (JPA) 1.0 Set getAttributes () Return the attributes of the managed type. Inherited ... in the managed type. Since: Jakarta Persistence (JPA) 1.0 Set getDeclaredAttributes () Return the attributes declared by the managed type. Returns empty set if the managed type has no declared | |
jakarta.persistence.metamodel.ManagedType the managed type. Since: Jakarta Persistence (JPA) 1.0 Set getAttributes () Return the attributes ... name is not declared in the managed type. Since: Jakarta Persistence (JPA) 1.0 Set getDeclaredAttributes () Return the attributes declared by the managed type. Returns empty set if the managed type | |
jakarta.persistence.metamodel.EmbeddableType is not present in the managed type. Since: Jakarta Persistence (JPA) 1.0 Set getAttributes () Return ... (JPA) 1.0 Set getDeclaredAttributes () Return the attributes declared by the managed type. Returns empty set if the managed type has no declared attributes. Inherited from ManagedType Returns: declared | |
jakarta.persistence.EntityManager . A persistence context is a set of entity instances in which for any given persistent entity identity ... flush . The timing of the flush process depends on the flush mode , which may be set explicitly by ... must also be flushed before execution of any query whose result set would be affected by unflushed modifications | |
jakarta.persistence.criteria.SetJoin: - the source type of the join - the element type of the target Set Super Interfaces: PluralJoin , Join ... that has been specified as a java.util. Set . Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods Selection ... Persistence (JPA) 1.0 Set getFetches () Return the fetch joins that have been made from this type | |
jakarta.persistence.criteria.PluralJoin Persistence (JPA) 1.0 Set getFetches () Return the fetch joins that have been made from this type. Returns empty set if no fetch joins have been made from this type. Modifications to the set do not affect ... Persistence (JPA) 1.0 Set getJoins () Return the joins that have been made from this bound type. Returns empty | |
jakarta.persistence.criteria.MapJoin Persistence (JPA) 1.0 Set getFetches () Return the fetch joins that have been made from this type. Returns empty set if no fetch joins have been made from this type. Modifications to the set do not affect ... Persistence (JPA) 1.0 Set getJoins () Return the joins that have been made from this bound type. Returns empty | |
jakarta.persistence.criteria.Root (JPA) 1.0 Set getFetches () Return the fetch joins that have been made from this type. Returns empty set if no fetch joins have been made from this type. Modifications to the set do not affect ... Returns: the Java type of the tuple element. Since: Jakarta Persistence (JPA) 1.0 Set getJoins | |
jakarta.persistence.criteria.CollectionJoin through correlation. Since: Jakarta Persistence (JPA) 1.0 Set getFetches () Return the fetch joins that have been made from this type. Returns empty set if no fetch joins have been made from this type. Modifications to the set do not affect the query. Inherited from FetchParent Returns: fetch joins made from | |
jakarta.persistence.criteria.ListJoin Persistence (JPA) 1.0 Set getFetches () Return the fetch joins that have been made from this type. Returns empty set if no fetch joins have been made from this type. Modifications to the set do not ... Persistence (JPA) 1.0 Set getJoins () Return the joins that have been made from this bound type | |
jakarta.persistence.criteria.From. Since: Jakarta Persistence (JPA) 1.0 Set getFetches () Return the fetch joins that have been made from this type. Returns empty set if no fetch joins have been made from this type. Modifications to the set do not affect the query. Inherited from FetchParent Returns: fetch joins made from this type | |
jakarta.persistence.criteria.Join. Since: Jakarta Persistence (JPA) 1.0 Set getFetches () Return the fetch joins that have been made from this type. Returns empty set if no fetch joins have been made from this type. Modifications to the set ... ) 1.0 Set getJoins () Return the joins that have been made from this bound type. Returns empty set | |
jakarta.persistence.criteria.Subquery) 1.0 SetJoin correlate ( SetJoin parentSet ) Create a subquery set join object correlated to a set ... (JPA) 2.1 Set getCorrelatedJoins () Return the correlated joins of the subquery. Returns empty set if the subquery has no correlated joins. Modifications to the set do not affect the query. Returns | |
JPA Criteria Query Expressions expression handling by using a minimal set of reusable interfaces, so many different types of expressions | |
Database Transaction Replayer by setting the path attribute in the configuration . The recording directory contains two types | |
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 | |
FROM clause (JPQL / Criteria API), SET , SIZE, SOME, SQRT, SUBSTRING, SUM, THEN,TRAILING, TRIM, TRUE, TYPE, UNKNOWN, UPDATE, UPPER, VALUE | |
[ODB1] Chapter 9 - ObjectDB Explorer and modify the content of a database. Section 9.5 explains how to define views and set ... to edit a multi line string. Use the " Set Reference" command to set a reference field to a new object ... to the context. Deleting a reference field sets the value to null without deleting any referenced persistent | |
Spring MVC JPA Tutorial - IntelliJ Project the Server: Select File Settings Application Servers . Add Tomcat 6 Server if not set already (Tomcat ... +F10 ). If the browser fails to open check the settings at File Settings Web Browsers . | |
Step 6: Design a BIRT Report Table) layout. Set the column number to 2 , number of details to 1 , select the data set (e.g. Points by X ... the data set in the [Data Explorer] window (under the data set node) and dropping them on the second | |
[ODB1] Chapter 8 - ObjectDB Server ), but you can override this setting using the –port command line option to specify another port, as ... . It always includes an root element with two sub elements, and . The sub element specifies general server settings ... will be listening for new connections. Usually, it should be set to 6136, which is the default port | |
Step 5: Add a JSP Page that have already signed (which are retrieved from the request's guestDao attribute that is set by the controller in the previous step). The next step (and the last in this tutorial) is setting the Spring XML configuration . | |
Step 5: Add a JSP Page the request's guestDao attribute that is set by the controller in the previous step). The next step (and the last in this tutorial) is setting the Spring XML configuration . | |
[ODB1] Chapter 3 - Persistent Classes and Hashtable , and the interfaces - Collection , Set , List and Map . java.math.BigInteger and java.math ... value. Similarly, a field whose type is one of the persistent collection interfaces ( Collection , Set ... the command line. First, the classpath has to be set to include ObjectDB and JDO jar files | |
Step 2: Entity Class and Persistence Unit + ")"; } } The Guest entity class will represents guests in the database. We also need to configure JPA by setting |