ObjectDB Database Search

51-100 of 197 results

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check" system property ... to set numeric value of field property Element.id using reflection -  Possible cause ... .no-enhancement-crc-check" system property   From ObjectDB support from 2016-08-19 : 'Using generic entity

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

JOD problems regarding detachCopy()

, setters) } ... Boat b=null; Boat b_copy=null; try { Properties properties = new Properties (); properties .setProperty("javax.jdo.PersistenceManagerFactoryClass", "com.objectdb.jdo.PMF"); properties ... =JDOHelper.getPersistenceManagerFactory( properties ); PersistenceManager pm = pmf.getPersistenceManager

Help with 'not like/lower' query

the following (an excerpt of my visitor class for handling String properties in entities): ParameterExpression stringProp = criteriaBuilder.parameter(String.class); Path path = root.get( property .getFieldName()); Predicate predicate; if( property .getOperator().equals(Operator.LIKE)){ predicate

Problem upgrading

.springframework.orm.jpa.JpaSystemException: Failed to set reference value of field property at.co.pjm.tracker ... ._PersistenceException: Failed to set reference value of field property at.co.pjm.tracker.persistence.Unit ... value of field property at.co.pjm.tracker.persistence.Unit.channelConfigurationSets using reflection

Setting temp directory location in ObjectDB

.conf file. I am using JDO and setting the persistenceManager as follow properties .setProperty("javax.jdo.PersistenceManagerFactoryClass","com.objectdb.jdo.PMF"); properties .setProperty("javax.jdo.option.ConnectionURL", fileName.odb); pmf = JDOHelper.getPersistenceManagerFactory( properties ), JDOHelper

jakarta.persistence.AttributeOverride.name

Jakarta Persistence (JPA) Method in jakarta.persistence.AttributeOverride String name (Required) The name of the property whose mapping is being overridden if property -based access is being used, or the name of the field if field-based access is used. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceConfiguration.transactionType()

. If PersistenceUnitTransactionType.RESOURCE_LOCAL , database connection properties may be specified via PersistenceConfiguration. properties , or a non-JTA datasource may be provided

jakarta.persistence.JoinColumn.name

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

jakarta.persistence.IdClass.value

Jakarta Persistence (JPA) Method in jakarta.persistence.IdClass Class value The primary key class, which must declare fields or properties with names and types that match the Id fields and properties of the annotated entity class. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityManagerFactory.createEntityManager(Map)

Map specifying property settings. This method returns a new EntityManager instance each time ... - properties for entity manager Returns: entity manager instance. Throws: IllegalStateException

jakarta.persistence.EntityManagerFactory.createEntityManager(SynchronizationType,Map)

of properties . This method returns a new EntityManager instance each time it is invoked. The EntityManager ... - how and when the entity manager should be synchronized with the current JTA transaction map - properties

jakarta.persistence.EntityManagerFactory.getProperties()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManagerFactory Map getProperties() Get the properties and associated values that are in effect for the entity manager factory. Changing the contents of the map does not change the configuration in effect. Returns: properties . Throws

jakarta.persistence.EntityManager.getProperties()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager Map getProperties() The properties and hints and their associated values which are in effect for this entity manager. Modifying ... of properties and hints currently in effect. Since: Jakarta Persistence (JPA) 2.0

jakarta.persistence.InheritanceType.JOINED

and properties declared by the entity class. Each class in the hierarchy has its own table, but that table does not contain columns mapped to inherited fields or properties , and so the state of an entity

jakarta.persistence.GeneratedValue

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.GeneratedValue Implemented Interfaces: Annotation Target: Method, Field Specifies a generation strategy for generated primary keys. The GeneratedValue annotation may be applied to a primary key property or field of an entity or mapped

jakarta.persistence.JoinTable

", referencedColumnName = "ID")) This annotation may not be applied to a persistent field or property not annotated

jakarta.persistence.MappedSuperclass

mapped to a database table. The persistent fields and properties of a mapped superclass are declared

jakarta.persistence.Embedded

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Embedded Implemented Interfaces: Annotation Target: Method, Field Declares a persistent field or property of an entity whose value is an instance of an embeddable class. The embeddable class must be annotated as Embeddable

jakarta.persistence.ElementCollection

of the collection. This element is optional only if the collection field or property is defined using Java

jakarta.persistence.EntityResult

[] fields Maps the columns specified in the SELECT list of the query to the properties or fields

jakarta.persistence.metamodel.SingularAttribute

-valued properties or fields. Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods Class

Can I Disable the Creation of the "log" Directory?

.Path; import java.nio.file.Paths; import java.util. Properties ; public class Test{ public static void ... ()); Properties properties = new Properties (); properties .setProperty("javax.jdo.PersistenceManagerFactoryClass", "com.objectdb.jdo.PMF"); properties .setProperty("javax.jdo.option.ConnectionURL

Performance issues on aggregate query

) from ObjectNode o INNER JOIN o. properties p1 INNER JOIN o. properties p2  INNER JOIN o. properties p3 INNER JOIN o. properties p4 INNER JOIN o. properties p5 INNER JOIN o. properties p6 INNER JOIN o. properties p7 join o.linkedObjects c1 where o.classIdentifier = '(OP)' and (o.linkedObjects

ObjectDb.conf Defaults

java.nio.file.Paths; import java.util. Properties ; public class Test{ public static void main(String ... ()); Properties properties = new Properties (); properties .setProperty("javax.jdo.PersistenceManagerFactoryClass", "com.objectdb.jdo.PMF"); properties .setProperty("javax.jdo.option.ConnectionURL", "$objectdb

General Performance Issues Illustrated with a Specific Method

; private String comments; /* Create Properties */ @ManyToOne(fetch = FetchType.LAZY) private WebUser ... ; /* Last Edit Properties */ @ManyToOne(fetch = FetchType.LAZY) private WebUser lastEditBy; @Temporal(javax.persistence.TemporalType.TIMESTAMP) private Date lastEditeAt; /* Retire Reversal Properties

Optimistic Locking

a new database: Properties properties = new Properties (); properties .setProperty( "javax.jdo.PersistenceManagerFactoryClass", "com.objectdb.jdo.PMF"); properties .setProperty("javax.jdo.option.ConnectionURL", "db.odb"); PersistenceManagerFactory pmf = JDOHelper.getPersistenceManagerFactory( properties

Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne)

; @Basic @Id private String cachedKey @Version private int version; @Basic private Integer property ... startCnt) { property = startCnt; } public void setUUID() { //Do nothing we do not have a separate ID ... String getCachedKey() { return cachedKey; } public void setProperty(Integer newValue) { property

PersistenceException UserException: Failed to validate persistence.xml

initialized when app starts. public DaoService() { Map properties = new HashMap (); properties .put("javax.persistence.jdbc.user", "admin"); properties .put("javax.persistence.jdbc.password", "admin"); factory = Persistence.createEntityManagerFactory("$objectdb/db/points.odb", properties ); //exception

Cannot save or update entity on Spring App

LocalContainerEntityManagerFactoryBean(); entityManagerFactoryBean.setPackagesToScan(environment.getRequiredProperty( PROPERTY _NAME ... .Provider(); } @Override public Map getJpaPropertyMap() { Map map = new HashMap (); map.put( PROPERTY _NAME_JDBC_URL, environment.getRequiredProperty("objectdb.url")); map.put( PROPERTY _NAME_JDBC_USER

jakarta.persistence.AttributeOverrides.value

Jakarta Persistence (JPA) Method in jakarta.persistence.AttributeOverrides AttributeOverride[] value (Required) One or more field or property mapping overrides. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Basic.fetch

Jakarta Persistence (JPA) Method in jakarta.persistence.Basic FetchType fetch (Optional) Whether the value of the field or property should be lazily loaded or must be eagerly fetched. The EAGER strategy is a requirement on the persistence provider runtime that the associated entity must be eagerly

jakarta.persistence.PersistenceProperty.name

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceProperty String name The name of the property Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceProperty.value

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceProperty String value The value of the property Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PessimisticLockScope.EXTENDED

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.PessimisticLockScope EXTENDED In addition to the locking behavior specified for PessimisticLockScope.NORMAL , element collections and relationships owned by the entity that are contained in join tables are locked if the property

jakarta.persistence.EntityResult.fields

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityResult FieldResult[] fields Maps the columns specified in the SELECT list of the query to the properties or fields of the entity class. Default: {} Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.FieldResult.name

Jakarta Persistence (JPA) Method in jakarta.persistence.FieldResult String name Name of the persistent field or property of the class. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.OneToOne.targetEntity

Jakarta Persistence (JPA) Method in jakarta.persistence.OneToOne Class targetEntity (Optional) The entity class that is the target of the association. Defaults to the type of the field or property that stores the association. Default: void/class Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.OneToMany.targetEntity

Jakarta Persistence (JPA) Method in jakarta.persistence.OneToMany Class targetEntity (Optional) The entity class that is the target of the association. Optional only if the collection property is defined using Java generics. Must be specified otherwise. Defaults to the parameterized type

jakarta.persistence.OrderBy.value

Jakarta Persistence (JPA) Method in jakarta.persistence.OrderBy String value An orderby_list . Specified as follows: orderby_list::= orderby_item [,orderby_item]* orderby_item::= [ property _or_field_name] [ASC | DESC] If ASC or DESC is not specified, ASC (ascending order) is assumed

jakarta.persistence.OrderColumn.name

Jakarta Persistence (JPA) Method in jakarta.persistence.OrderColumn String name (Optional) The name of the ordering column. Defaults to the concatenation of the name of the referencing property or field; " _ "; " ORDER ". Default: "" Since: Jakarta Persistence (JPA) 1.0

combined index not used

. properties .doubleValue FROM Action a WHERE a.type = 0 and a.subType = 3 and a.state = 3 and a.endDate = ?1 ... . properties .name = 'scheduledSlot') GROUP BY a.endDate, a.objectsInCharge.nodePath, a.objectsInCharge. properties .doubleValue In the class Action we have a combined index (see attachment) but in the query plan

InternalException when using MEMBER OF on a large list in a query

propertyClassName = propertyClass.getName(); String query = "SELECT DISTINCT property .uid FROM " + propertyClassName + " AS property , " + recordClassName + " AS record " + "WHERE property .uid MEMBER OF record. properties AND property .scopeID MEMBER OF ?1"; TypedQuery q = em.createQuery(query, String.class); q

each 1-2 days objects on some objectdb level lock/block each other

:   select o from ObjectNode o join o. properties p1 join o.linkedObjects c1 where o ... .objectNameUpper = 'STRIEGEL.MARKUS' )) and (o. properties .name = 'roughPlanning' and o. properties ... ObjectNode o join o. properties p1 join o. properties p2 where (o.classIdentifier = "(OP)" and o.linkedObjects

queries under 2.7.6_4 significantly slower than under 2.7.6

. properties p1 where o.classIdentifier = "(OP)" and ((o.linkedObjects.classIdentifier = "(TC)" and o ... )" and o.linkedObjects.objectNameUpper = "SENKEN-GROSS")) and (o. properties .name = "feedbackState" and o. properties .doubleValue != 13) and ((p1.name = "plannedState" and p1.doubleValue = 4 and p1.state = 4

missing merger

with a similar exception. support Support You may also try setting a system property (using ... -Georg Zwicker we also have, from the very past, set this property :   System.setProperty("objectdb ... Are there additional errors in the log since the lines in #15? no, we also added the property mentioned in