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

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

Property fields

Hello   How can I use a Property , such as: javafx.beans. property .BooleanProperty as a field within an entity class? I want to bind a JavaFX CheckBoxTableCell control to the property .   ... type property (i.e. the underlying persistent field of a  BooleanProperty could be java.lang.Boolean ). support Support

How to change properties in urls2.xml?

properties . I have no control on the port and password used. :( Does it exist a way to change urls2.xml properties ? Adding ?port=XXXX at the end of the persistence.xml database local url doesn't work ... the Explorer. It is not used by ObjectDB outside the Explorer, so just changing its properties

NullPointerException while setting a new property value

removeCompleted; //some other @Transient properties // 2 constructors //.. } Can somebody help me? Thank ... We are back, here it is - 2.4.4_04 Just a note - it fails on another property in the Entity. Wed Oct 24 17:30 ... and re-setting some properties to entities from the collection. NPE is thrown at some point

setting activation code in persistence.xml or env file or system properties

Wondering if it's possible to add the activation code either: - in persistence.xml - or in a .env file - or system properties dmoshal David Moshal These options are not supported. However, you can embed the configuration file with the activation code as a resource, e.g. by replacing the objectdb

$temp property not evaluated properly when used in log path

I have the following lines in my objectdb.conf file: I don't believe that the $temp property is being evaluated properly here as it creates a new directory "$temp" in the same directory as my execution script. Shouldn't this be logging to the system temp directory? carr.onstott Carr Onstott

Exception when querying Map property with @embedded & Enhancer enabled

Exception when querying Map property with @embedded & Enhancer enabled

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 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

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 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.

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

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

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.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

jakarta.persistence.EntityManagerFactory

specifying property settings. This method returns a new EntityManager instance each time it is invoked. The EntityManager.isOpen method will return true on the returned instance. Parameters: map - properties ... of properties . This method returns a new EntityManager instance each time it is invoked

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 ... of the respective embedded field or property . If AttributeOverride is not specified, the column is mapped

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

jakarta.persistence.ManyToOne

the relationship field or property of the entity that is the owner of the relationship. A ManyToOne ... to specify the relationship field or property of the embeddable field or property on the owning ... with the dot notation is the name of the respective embedded field or property . Example 1: @ManyToOne(optional

jakarta.persistence.Embeddable

of multiple persistent fields or properties , across several entities, and so distinct instances ... in the table or tables mapped by the owning entity. The persistent fields and properties ... its owning entity to another entity. However, an embeddable class may not have a field or property

jakarta.persistence.Version

: Annotation Target: Method, Field Declares the version field or property of an entity class ... field or property holds a version number or timestamp identifying the revision of the entity data ... lastUpdated; An entity class should have at most one Version field or property . The version field or property

jakarta.persistence.AssociationOverride

embedded within another embeddable class), AssociationOverride is applied to the field or property ... an embeddable class, the name element specifies the referencing relationship field or property ... property . When AssociationOverride is applied to override the mappings of an embeddable class used as

jakarta.persistence.CollectionTable

of basic or embeddable types. Applied to the collection-valued field or property . By default ... of the collection-valued field or property . In the case of an embeddable class, the column names are derived from the field or property names of the embeddable class. To override the default properties

How to change properties in urls2.xml ?

properties . I have no control on the port and password used. :( Does it exist a way to change urls2.xml properties ? Adding ?port=XXXX at the end of the persistence.xml database local url doesn't work

ObjectDb Doctor : Failed to locate set method for field property com.test.Video$VideoId.sourceId using reflection (error 316)

Hello everyone ! I have just launched the ObjectDb Doctor for testing purposes. But while inspecting my base, the Doctor throws me a strange error : [ObjectDB 2.4.6] Invalid ID class com.test.Video$VideoId for type com.test.Video (Failed to locate set method for field property com.test.Video

jakarta.persistence.ManyToMany

the relationship field or property of the owning side. The join table for the relationship, if not defaulted ... the mappedBy element of the ManyToMany annotation to specify the relationship field or property ... notation is the name of the respective embedded field or property . Example 1: // In Customer class

jakarta.persistence.EmbeddedId

: Annotation Target: Method, Field Specifies that the annotated persistent field or property ... field or property must be an embeddable type, and must be explicitly annotated Embeddable . If a field or property of an entity class is annotated EmbeddedId , then no other field or property

jakarta.persistence.Enumerated

: Annotation Target: Method, Field Specifies that a persistent property or field should be persisted as an enumerated type. This annotation is optional if the type of a persistent field or property ... property of enum type has no explicit Enumerated annotation, and if no converter is applied

jakarta.persistence.Persistence.createEntityManagerFactory(String,Map)

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

[ODB1] Chapter 8 - ObjectDB Server

has to be provided. If the PersistenceManagerFactory is initialized using a property file, two lines ... , the PersistenceManagerFactory 's properties can be set at runtime: Properties properties = new Properties (); : : properties .setProperty( "com.objectdb.ssl.truststore.path", "$objectdb/lib/truststore"); properties

[ODB1] Chapter 2 - A Quick Tour

: java Main "); 15 System.exit(1); 16 } 17 18 try { 19 // Obtain a database connection: 20 Properties properties = new Properties (); 21 properties .setProperty( 22 "javax.jdo.PersistenceManagerFactoryClass", 23 "com.objectdb.jdo.PMF"); 24 properties .setProperty( 25 "javax.jdo.option.ConnectionURL

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