ObjectDB Database Search

51-100 of 200 results

Externalising persistence.xml properties in Glassfish?

JPA itself and no formal standard for externalising properties (hence why they appear to be relying ... either with Glassfish/JBoss and having environment specific datastore properties being build independent ... holder Source. ${Source} Then in your server config you define every property as an argument

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

how to query by properties of onetomany relations? (Error 990)

how to query by properties of onetomany relations? (Error 990)

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

jakarta.persistence.PersistenceProperty

Interfaces: Annotation Describes a single container or persistence provider property . Used in PersistenceContext . Vendor specific properties may be included in the set of properties , and are passed to the persistence provider by the container when the entity manager is created. Properties that are not

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

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

jakarta.persistence.PersistenceContext

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

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

to specify the relationship field or property of the owning side. A OneToOne association usually ... the relationship field or property of the embeddable class. The dot ( . ) notation syntax must be used in ... property . Example 1: One-to-one association that maps a foreign key column // On Customer class: @OneToOne

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

jakarta.persistence.JoinColumn

is used): The concatenation of the following: the name of the referencing relationship property or field ... . If there is no such referencing relationship property or field in the entity, or if the join ... ) Whether the property is a unique key. This is a shortcut for the UniqueConstraint annotation at the table level

jakarta.persistence.MapKey

is itself the primary key or a persistent field or property of the entity that is the value of the map. If a persistent field or property other than the primary key is used as a map key ... Annotation Elements String name (Optional) The name of the persistent field or property of the associated

jakarta.persistence.EnumType

how a persistent property or field whose type is a Java enum type should be persisted. See Also: Enumerated ... how to use EnumType . Enum Constants ORDINAL Persist enumerated type property or field as an integer ... /ordinal() member. Since: Jakarta Persistence (JPA) 1.0 STRING Persist enumerated type property or

jakarta.persistence.AttributeConverter

as the type of a persistent field or property , and a basic type used as an intermediate step in mapping to the database representation. A converted field or property is considered Basic ... and properties of the target type. The Convert annotation may be used to apply a converter

jakarta.persistence.NamedStoredProcedureQuery

sets is undefined. The hints element may be used to specify query properties and hints. Properties ... metadata. Default: {} Since: Jakarta Persistence (JPA) 1.0 QueryHint[] hints Query properties

jakarta.persistence.OneToMany

is bidirectional, the mappedBy element must be used to specify the relationship field or property ... field or property of the entity that is the owner of the relationship. When the collection is a Map ... only if the collection property is defined using Java generics. Must be specified otherwise. Defaults

jakarta.persistence.PessimisticLockScope

.lock.scope property for pessimistic locking. This property may be passed as an argument ... owned by the entity that are contained in join tables are locked if the property jakarta.persistence

jakarta.persistence.TypedQuery.setHint(String,Object)

;  String hintName ,    Object value ) Set a query property or hint. The hints elements may be used to specify query properties and hints. Properties defined by this specification ... . Parameters: value - value for the property or hint hintName - name of property or hint Returns

jakarta.persistence.EntityManager.refresh(Object,Map)

; Object entity ,    Map properties ) Refresh the state of the given managed entity instance from the database, using the specified properties , and overwriting unflushed changes ... =REFRESH . If a vendor-specific property or hint is not recognized, it is silently ignored. Parameters

jakarta.persistence.EntityManager.lock(Object,LockModeType,Map)

; Object entity ,    LockModeType lockMode ,    Map properties ) Lock an entity ... properties . If a pessimistic lock mode type is specified and the entity contains a version attribute ... if the database locking failure causes only statement-level rollback If a vendor-specific property or

jakarta.persistence.EntityManager.refresh(Object,LockModeType,Map)

; Object entity ,    LockModeType lockMode ,    Map properties ) Refresh the state ... made to the entity, if any, and obtain the given lock mode , using the specified properties . This operation ... property or hint is not recognized, it is silently ignored. Portable applications should not rely

jakarta.persistence.EntityManager.setProperty(String,Object)

;  String propertyName ,    Object value ) Set an entity manager property or hint. If a vendor-specific property or hint is not recognized, it is silently ignored. Parameters: propertyName - name of the property or hint value - value for the property or hint Throws

jakarta.persistence.StoredProcedureQuery.setHint(String,Object)

setHint (    String hintName ,    Object value ) Set a query property or hint. The hints elements may be used to specify query properties and hints. Properties defined by ... for the property or hint hintName - name of the property or hint Returns: the same query instance

jakarta.persistence.EntityManager.find(Class,Object,Map)

entityClass ,    Object primaryKey ,    Map properties ) Find by primary key, using the specified properties . Search for an entity of the specified class and primary key ... -specific property or hint is not recognized, it is silently ignored. Parameters: entityClass - entity

jakarta.persistence.EntityManager.find(Class,Object,LockModeType,Map)

properties ) Find by primary key and lock the entity, using the specified properties . Search ... -specific property or hint is not recognized, it is silently ignored. Portable applications should not ... - lock mode properties - standard and vendor-specific properties and hints primaryKey - primary key

jakarta.persistence.Query.setHint(String,Object)

hintName ,    Object value ) Set a query property or hint. The hints elements may be used to specify query properties and hints. Properties defined by this specification must be observed by ... : value - value for the property or hint hintName - name of the property or hint Returns: the same

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

and/or create DDL scripts as determined by the supplied properties . Called when schema generation ... : persistenceUnitName - the name of the persistence unit map - properties for schema generation; these may also contain provider-specific properties . The values of these properties override any values

jakarta.persistence.Id

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Id Implemented Interfaces: Annotation Target: Method, Field Identifies the primary key of an entity. The field or property ... annotation is specified, the primary key column name is assumed to be the name of the primary key property

jakarta.persistence.Lob

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Lob Implemented Interfaces: Annotation Target: Method, Field Specifies that the annotated persistent property or field ... ) is inferred from the type of the persistent field or property . For string and character-based types

jakarta.persistence.InheritanceType

, with only the columns mapped to persistent fields and properties declared by the entity class. Each ... to inherited fields or properties , and so the state of an entity instance might be stored across multiple table

jakarta.persistence.MapKeyColumn

of the following: the name of the referencing relationship field or property ; " _ "; " KEY ". Example: @Entity ... relationship field or property ; " _ "; " KEY ". Default: "" Since: Jakarta Persistence (JPA) 1.0 boolean

jakarta.persistence.MapKeyJoinColumn

of the referencing relationship property or field of the referencing entity or embeddable class ... unique (Optional) Whether the property is a unique key. This is a shortcut for the UniqueConstraint

jakarta.persistence.FieldResult

the SELECT list of a SQL query to the properties or fields of an entity class. Example: Query q = em ... Name of the persistent field or property of the class. Since: Jakarta Persistence (JPA) 1.0 String

jakarta.persistence.Transient

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Transient Implemented Interfaces: Annotation Target: Method, Field Specifies that the annotated property or field is not persistent. May annotate a property or field of an entity class, mapped superclass, or embeddable class. Example

jakarta.persistence.AttributeOverrides

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.AttributeOverrides Implemented Interfaces: Annotation Target: Type, Method, Field Used to override mappings of multiple properties or ... property mapping overrides. Since: Jakarta Persistence (JPA) 1.0 Additional JDK methods inherited from

jakarta.persistence.AccessType

(JPA) 1.0 PROPERTY Property -based access is used, that is, state is accessed via getter and setter