ObjectDB Database Search

1-50 of 200 results

jakarta.persistence.PersistenceConfiguration.properties(Map)

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceConfiguration PersistenceConfiguration properties (    Map properties ) Set multiple properties of this persistence unit. Parameters: properties - the properties Returns: this configuration. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceContext.properties

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceContext PersistenceProperty[] properties (Optional) Properties for the container or persistence provider. Vendor specific properties may be included in this set of properties . Properties that are not recognized by a vendor

jakarta.persistence.PersistenceConfiguration.property(String,Object)

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceConfiguration PersistenceConfiguration property (    String name ,    Object value ) Set a property of this persistence unit. Parameters: name - the property name value - the property value Returns: this configuration. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceConfiguration.properties()

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceConfiguration Map properties () Standard and vendor-specific property settings. Returns: the configured properties . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.AccessType.PROPERTY

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.AccessType PROPERTY Property -based access is used, that is, state is accessed via getter and setter methods. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceConfiguration.properties

Jakarta Persistence (JPA) Field in jakarta.persistence.PersistenceConfiguration properties Since: Jakarta Persistence (JPA) 1.0

JPA Optimistic and Pessimistic Locking

several scopes: For the entire persistence unit , use a persistence.xml property : For an EntityManagerFactory , use the createEntityManagerFactory method: Map properties = new HashMap(); properties ... . createEntityManagerFactory ("pu", properties ); For an EntityManager , use the createEntityManager method: Map

JPA Connections and Transactions

of persistence unit properties as a second parameter: Map properties = new HashMap (); properties .put("jakarta.persistence.jdbc.user", "admin"); properties .put("jakarta.persistence.jdbc.password ... :6136/myDbFile.odb", properties ); When constructed, the EntityManagerFactory instance opens

JPA Runtime Tuning & Configuration

): Defaults passed in a property map to the factory builder or defined in persistence.xml . EntityManager ... the PersistenceConfiguration.LOCK_SCOPE property when you create the EntityManagerFactory , or set "jakarta ... property when you create the EntityManagerFactory , or set "jakarta.persistence.cache.retrieveMode

JPA Metamodel API

about managed classes, persistent fields, and properties , similar to how Java reflection provides ... managed fields and properties , also known as attributes. For example: // Get all the attributes ... an ID class when you use multiple ID fields or properties . Finally, the EntityType interface adds

JPA Entity Fields

) or a version field is explicitly defined. Property access When an entity is stored in ... . However, it also supports accessing fields indirectly as properties by using getter and setter methods. To use property access mode, each non-transient field must have getter and setter methods

JPA Attributes Annotations

Jakarta Persistence (JPA) annotations define how entity attributes (fields and properties ... using the following annotations: Sets a field or property of a basic attribute (e.g., primitives ... (Lazy/Eager) and nullability. Specifies a persistent field or property as an embedded attribute

Setting and Tuning of JPA Queries

most global to most local: For the entire persistence unit , use a persistence.xml property : For an EntityManagerFactory , use the createEntityManagerFactory method: Map properties = new HashMap(); properties ... . createEntityManagerFactory ("pu", properties ); For an EntityManager , use the createEntityManager method: Map

JPA Shared (L2) Entity Cache

unit property : ... ... You can set the jakarta.persistence.sharedCache.mode property ... . JPA provides two properties that you can use to change the default behavior. jakarta.persistence.cache.retrieveMode The jakarta.persistence.cache.retrieveMode property specifies whether the shared

JPA Persistence Unit

configuration: PersistenceConfiguration config = new PersistenceConfiguration("my-pu") . property ("jakarta.persistence.jdbc.url", "objectdb://localhost/my.odb") . property ("jakarta.persistence.jdbc.user", "admin") . property ("jakarta.persistence.jdbc.password", "admin") .managedClass(sample.MyEntity1

Eclipse Public License - v 1.0

property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As ... responsibility to secure any other intellectual property rights needed, if any. For example

JPA Components Annotations

the class as a mapped superclass. Its persistent attributes (fields and properties ) and their settings ... can access persistent state directly (field access) or through getters and setters ( property access). Use these annotations to configure the access type: Sets the access type (FIELD or PROPERTY

JPA ORM Mapping Annotations

these annotations: Specifies the mapped column for a persistent property or field. Specifies that a persistent property or field should be persisted as a large object (BLOB or CLOB). Specifies ... superclasses or embeddables: Used to override the mapping of a Basic (field) property or id

GROUP BY and HAVING clauses

The GROUP BY clause groups query results. A JPQL query with a GROUP BY clause returns properties ... . Therefore, the SELECT clause can only use group properties , such as: The properties used for grouping ... clause in a grouping query, meaning individual object fields are inaccessible. Only group properties

JPA Container Injection Annotations

. Configuration Properties Define vendor-specific properties or configuration overrides: Used within @PersistenceContext or @PersistenceUnit to specify configuration properties for the injected resource.

Chapter 6 - Configuration

. You can also define $objectdb explicitly by setting the objectdb.home system property : System.setProperty("objectdb.home", "/odb"); // new $objectdb As with any other system property it can also be set as ... setting the "objectdb.conf" system property : System.setProperty("objectdb.conf", "/my/objectdb.conf

jakarta.persistence.EntityManager

to its persistent fields and properties are automatically detected, as long as it is associated with an active ... properties ) Find by primary key, using the specified properties . Search for an entity of the specified ... from there. If a vendor-specific property or hint is not recognized, it is silently ignored

JPA Class Enhancer

properties : Right-click the project Properties Run VM Options Automatic Java agent enhancer Unless

Paths and Types in JPQL and Criteria API

expression to be valid, the user-defined persistent class must contain a persistent field or property ... expression, which represents navigation from the parent path through a persistent field or property , by

ObjectDB Object Database Features

and properties . Object Model & Data Types ObjectDB supports persisting complex Java data structures ... , Hashtable, WeakHashMap, IdentityHashMap, LinkedHashMap, TreeMap and Properties . Arrays , including

jakarta.persistence.PersistenceConfiguration

. Since: Jakarta Persistence (JPA) 1.0 PersistenceConfiguration properties ( Map properties ) Set multiple properties of this persistence unit. Parameters: properties - the properties Returns: this configuration. Since: Jakarta Persistence (JPA) 1.0 Map properties () Standard and vendor-specific property

jakarta.persistence.Persistence

createEntityManagerFactory ( String persistenceUnitName , Map properties ) Create and return an EntityManagerFactory for the named persistence unit, using the given properties . Parameters: persistenceUnitName - the name of the persistence unit properties - additional properties to use when creating the factory

JPA Persistable Types

, and Properties . Arrays, including multi-dimensional arrays. Both generic ( for example, `ArrayList

Schema Update

for some of its fields. The elements The element renames a persistent field or property . Both the name

Logical Operators in JPQL and Criteria API

, a Boolean path (a field or property ) is represented by Path : Path isInUN = country. get ("isInUN

JPA Metamodel Attributes

, wrappers, Strings), embedded objects, and associations (reference fields and properties

Privacy Policy

Protect and defend the rights or property of the Company Prevent or investigate possible wrongdoing in

JPA Value Generation Annotations

behavior using the following annotation and enumeration: Specifies that the property or field value

SQL Queries Annotations

entity class. Maps a specific SQL column to an entity field or property within an @EntityResult . Maps a result set column directly to a scalar value.

JPA Metamodel and Graphs

and properties ), covering singular, plural (collection), and map attributes. For detailed examples

JPA Relationships Annotations

Relationships define associations between entities. They are represented In Java code by attributes (persistent fields or properties ) in persistent classes that hold a reference or a collection of references to other entities. Jakarta Persistence (JPA) provides annotations to configure

ObjectDB Website - Terms and Conditions of Use

of intellectual property or other violation of rights. Further, ObjectDB Software does not warrant or make any

jakarta.persistence.Entity

. An entity class holds state, represented as persistent fields and properties : a field or property of basic type maps to a single column in one of the tables mapped by the entity, a field of property ... class must have at least one field or property annotated Id or EmbeddedId holding the primary key

jakarta.persistence.IdClass

: Annotation Target: Type Specifies a composite primary key type whose fields or properties map to the identifier fields or properties of the annotated entity class. The specified primary key type ... properties with matching names and types. The mapping of fields or properties of the entity to fields or

jakarta.persistence.TypedQuery

: flush mode. Since: Jakarta Persistence (JPA) 2.0 Map getHints () Get the properties and hints ... properties and hints. Since: Jakarta Persistence (JPA) 2.0 LockModeType getLockMode () Get the current ... TypedQuery setHint ( String hintName , Object value ) Set a query property or hint. The hints elements

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 ... annotation is optional for persistent fields and properties of these types. If the Basic annotation

jakarta.persistence.Query

() Get the properties and hints and associated values that are in effect for the query instance. Returns: query properties and hints. Since: Jakarta Persistence (JPA) 2.0 LockModeType getLockMode ... property or hint. The hints elements may be used to specify query properties and hints. Properties

jakarta.persistence.StoredProcedureQuery

Query Returns: flush mode. Since: Jakarta Persistence (JPA) 2.0 Map getHints () Get the properties ... Returns: query properties and hints. Since: Jakarta Persistence (JPA) 2.0 LockModeType getLockMode ... Persistence (JPA) 1.0 StoredProcedureQuery setHint ( String hintName , Object value ) Set a query property

jakarta.persistence.OrderBy

[, 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 must correspond to that of a persistent property or field of the associated class or embedded class

com.objectdb.o._PersistenceException: Failed to locate set method for field property using reflection

I am developing a J2SE  version "1.8.0_241" application and using property based accessors throughout. @Entity @Access(AccessType. PROPERTY ) public abstract class PlatformTicker implements ... ._PersistenceException: Failed to locate set method for field property domain.PlatformTicker.platformConnector using

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

to set numeric value of field property com.greensoft.objectdb.test.entity.Element.id using reflection ... value of field property com.greensoft.objectdb.test.entity.Element.id using reflection (error 613 ... : com.objectdb.o.UserException: Failed to set numeric value of field property com.greensoft.objectdb

jakarta.persistence.Convert

: Annotation Target: Method, Field, Type Specifies how the values of a field or property are converted ... defined autoApply=true , or overriding the use of a converter specified by a field or property ... of each identifier used with the dot notation is the name of the respective embedded field or property

Step 7: Run the Spring Web App

F6 ): You can select the server in the Run category of the project properties window (right click the project node and select Properties to open it). Alternatively you can run the web application using ... and select Properties . In the Platform tab in VM Options enter:- -javaagent:C:\objectdb\bin

Step 6: Design a BIRT Report Table

the properties table to complete the table design (e.g. change the background color). You may click Preview

Step 1: Create a Java Project

the objectdb.jar file, using: Right Clicking on the Project Properties Java Build Path Libraries Add External