ObjectDB Database Search
151-200 of 200 resultsobjectdb-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 | |
Remove not working.jdo.PersistenceManagerFactory; import java.util. Properties ; public class Test{ private static ... (){ Properties properties = new Properties (); properties .setProperty("javax.jdo.PersistenceManagerFactoryClass", "com.objectdb.jdo.PMF"); properties .setProperty("javax.jdo.option.Optimistic", "true | |
query hint: SELECT DISTINCT o from ObjectNode o join o. properties p1 join o. properties p2 join o. properties p3 join o. properties p4 where o.classIdentifier = '(OP)' and o.linkedObjects.classIdentifier = '(TC ... .type = 1 and o. properties .name = 'roughPlanning' and o. properties .doubleValue = 1 and p1.name | |
Should derived fields of an EmbeddedId be manually maintained by app code? getSingleton() { return container; } @Version private int version; @Basic private Integer property ... ) { id = new ECompoundKeyMapItemId(); property = startCnt; } public void setUUID ... setProperty(Integer newValue) { property = newValue; } public Integer getProperty() { return property | |
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 | |
Unable to persist fields in subclass: package miscTests; import javafx.beans. property .SimpleStringProperty; import javafx.beans. property ... .persistence.MappedSuperclass; /** * @author david * */ @MappedSuperclass @Access(AccessType. PROPERTY ... ; // Use Properties to allow integration with JavaFX protected StringProperty lastName = new | |
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 | |
Pre-detach loading: retrieval by navigation not working in if statement;LightingZone is a subclass of entity Block - A Block has a property 'present' which is a "deep ... entity wraps a simple Boolean property 'value'. - A LightingZone has a property 'v_NLA ... . - A FloatQuantity entity wraps a simple Float property 'value'. - (Also, the getL_LightingZone | |
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 | |
Different behavior with persist() and queried instances? Hi, We have a simple class that by itself contains (among others) a property pointing ... ) and afterwards modify the metaAttributes property within a transaction, however this is not reflected in the db. Reason is simply that the metaAttributes property is still a regular ArrayList instance | |
Configuration and Activation Code in ObjectDB 2.x.conf file, we are just using setProperty method to set the different property e.g. properties .setProperty("javax.jdo.PersistenceManagerFactoryClass","com.objectdb.jdo.PMF"); properties .setProperty ... ( properties ), JDOHelper.class.getClassLoader()); Can you please let me where should i use the activation code | |
Error 363 - Failed to read value of inverse relationship: [ObjectDB 2.2.8_01] javax.persistence.PersistenceException Failed to write the value of field property edu ... : Failed to write the value of field property edu.um.fcsit.jpa.entity.Guest.phoneList using enhanced ... ; Map properties = new HashMap ();   | |
Upgrade to 2.4.1_01.AddressTest$Address instance - property com.contextspace.AddressTest$ContactDetails.addresses - property com.contextspace.AddressTest$CDI.contactDetails (error 637) at com.objectdb.jpa.EMImpl.merge ... .contextspace.AddressTest$Address instance - property com.contextspace.AddressTest$ContactDetails.addresses | |
Source not found error after downloading ObjectDB 2.3.7_04 Code snippet: Properties prop = new Properties (); prop.setProperty("javax.jdo ... . I debugged following code import java.util. Properties ; import javax.jdo.JDOHelper; import javax.jdo ... ; Properties prop = new Properties (); prop.setProperty("javax | |
openejb jpa jaas module; this.sharedState = sharedState; this.options = options; final Properties properties = new Properties (); properties .put("javax.persistence.jdbc.user",options.get("user")); properties .put("javax.persistence.jdbc | |
How force always recreate database on redeployment.. Is there a system property , persistence.xml property , or config file property I can use to set ... on the Properties map of an EntityManagerFactory does not work: 'http://docs.oracle.com/javaee/6/api/javax/persistence/EntityManagerFactory.html#getProperties() java.util.Map getProperties() Get the properties | |
How to enable and disable auto schema update?. Thank you Manoj Manoj Kumar Maharana There are 2 undocumented system properties ... ): System.setProperty("objectdb.temp.no-schema-downgrade", "true"); Set the relevant property before ... ")) can you please explain how can i demonstrate it. Set the relevant property before accessing ObjectDB, or as | |
Optimization of Map Queries system that allows to extend existing entities with new properties etc. at runtime. To realize this, we do have a Map property on our main entities. To request the property of an extension ... _Of_ExtensionType_')). Property _Of_Extension_Type. Most properties we query for are located in | |
jakarta.persistence.EnumType.ORDINAL Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.EnumType ORDINAL Persist enumerated type property or field as an integer. The ordinal value of an enum instance with no EnumeratedValue field is the value of its Enum#ordinal() member. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.EnumType.STRING Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.EnumType STRING Persist enumerated type property or field as a string. The string value of an enum instance with no EnumeratedValue field is the value of its Enum#name() member. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.NamedStoredProcedureQuery.hints Jakarta Persistence (JPA) Method in jakarta.persistence.NamedStoredProcedureQuery QueryHint[] hints Query properties and hints. (May include vendor-specific query hints.) Default: {} Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.MapKeyColumn.name relationship field or property ; " _ "; " KEY ". Default: "" Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.MapKey.name Jakarta Persistence (JPA) Method in jakarta.persistence.MapKey String name (Optional) The name of the persistent field or property of the associated entity that is used as the map key. Default: If the name element is not specified, the primary key of the associated entity is used as the map key | |
jakarta.persistence.MapKeyJoinColumn.name of the referencing relationship property or field of the referencing entity or embeddable class; " _ "; " KEY ". Default: "" Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.MapKeyJoinColumn.unique Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyJoinColumn boolean unique (Optional) Whether the property is a unique key. This is a shortcut for the UniqueConstraint annotation at the table level and is useful for when the unique key constraint is only a single field. Default: false Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.JoinColumn.unique Jakarta Persistence (JPA) Method in jakarta.persistence.JoinColumn boolean unique (Optional) Whether the property is a unique key. This is a shortcut for the UniqueConstraint annotation at the table level and is useful for when the unique key constraint is only a single field. It is not necessary | |
jakarta.persistence.ManyToOne.targetEntity Jakarta Persistence (JPA) Method in jakarta.persistence.ManyToOne 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.ManyToMany.targetEntity Jakarta Persistence (JPA) Method in jakarta.persistence.ManyToMany Class targetEntity (Optional) The entity class that is the target of the association. Optional only if the collection-valued relationship property is defined using Java generics. Must be specified otherwise. Defaults | |
jakarta.persistence.ElementCollection.targetClass Jakarta Persistence (JPA) Method in jakarta.persistence.ElementCollection Class targetClass (Optional) The basic or embeddable class that is the element type of the collection. This element is optional only if the collection field or property is defined using Java generics, and must be specified | |
jakarta.persistence.Column.name Jakarta Persistence (JPA) Method in jakarta.persistence.Column String name (Optional) The name of the column. Defaults to the property or field name. Default: "" Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.Access.value Jakarta Persistence (JPA) Method in jakarta.persistence.Access AccessType value (Required) Specification of field- or property -based access. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.AssociationOverrides.value Jakarta Persistence (JPA) Method in jakarta.persistence.AssociationOverrides AssociationOverride[] value (Required) The association override mappings that are to be applied to the relationship field or property . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.Basic.optional Jakarta Persistence (JPA) Method in jakarta.persistence.Basic boolean optional (Optional) Specifies whether the value of the field or property may be null. This is a hint and is disregarded for primitive types; it may be used in schema generation to infer that the mapped column is not null | |
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 | |
queries more than 10 times slower using 2.8.1 versus 2.7.6) AND (o.parentNode. properties .name = "confirmed" AND o.parentNode. properties .doubleValue = 0) and o ... join o. properties p1 join o. properties p2 join o. properties p10 join o. properties p20 join o. properties p21 where o.classIdentifier = '(OP)' and (o.linkedObjects.classIdentifier = '(TC)' and o | |
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 | |
javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getPropertyName the h:forms anyway, and they both perform a full submit. There is nothing wrong with the property name ... Enhancer modifies the names of persistent property get and set methods by adding __odbHidden ... property methods that are being hidden by the Enhancer. This could cause future problems | |
ObjectDB 2.7.0 Extended maximum supported entity object size to nearly 2GB. Added a temporary system property ... PersistenceManager . Fixed an "Enhancement ... is old" bug on overriding persistent properties with a different return type. Fixed a bug in using java.lang.Enum as a field/ property type (and not |