ObjectDB Database Search
51-100 of 200 resultsOptimistic locking: prevent version increment on entity collection attribute relationship) with an optimistic locking strategy supported by a version field. Is it possible to prevent ... Farid Oudjane If it is a bidirectional relationship that is owned by the entities in the collection (i.e. the collection is defined as a mapped by ) then adding and removing entities should not change | |
Problem persisting a TreeSet field. ObjectDB doesn't enforce this rule for ordinary persistent fields - but mapped by (inverse) fields are more limited. The order of elements in a mapped by (inverse) collection field is set by ... to have a well defined traversal order when iterating through the Set. Best regards, Benjamin | |
JPA inheritance issue with ObjectDB - Field not found in type error " + " from Vtm vtm " + " where vtm.retired=:ret " + " order by vtm.name"; When I try to run ... " + " where vtm.retired=:ret " + " order by vtm.name"; System.out.println("JPQL: " + jpql); Map m ... This was an error I introduced by erroneously using @ihneritance annotation. This is the response I got in | |
javax.persistence.PersistenceException: No Persistence provider for EntityManager named in Karaf 4.0.7 and OSGi DS test the objectdb.jar file that I fixed in order to make it a valid OSGi bundle. I have attached: 1) my bundle ... Neon.1, Bndtools 3.3.0). In order to build the code, you need to have lombok in the classpath (https ... . Regards, Alex alexweirig Alex Weirig This error message is produced by JPA if it cannot find | |
Pessimistic Lock Timeouts setting to update object com.x.y.z.ProductCodeTracking:1 - locked by another owner (error 672) And finally, Caused by : com.objectdb.o._LockTimeoutException: Write lock cannot be granted for com.x.y.z ... one up if required. Thanks again. Willks William The new lock timeout support is covered by unit | |
Issue with upper? Hi, Query 1: SELECT DISTINCT $1, $2.lastName AS $O0 FROM com.lexware.vereinsverwaltung.verein.mitglied.Mitglied $1 LEFT JOIN $1.profile $2 ORDER BY UPPER($2.lastName) Correctly returns ... $O0 FROM com.lexware.vereinsverwaltung.verein.mitglied.Mitglied $1 LEFT JOIN $1.profile $2 ORDER BY | |
Possible cause for "Enhancement of type ... is old and cannot be used" build of your entire project followed by full enhancement of all the classes ... been changed since build 2.6.3_04, but of course it may still be affected indirectly by some ... /ticket/1823) You had attempted to fix it in build 2.6.6_08. I reported today on investigations by version | |
Database is erased after deploying a new web application version)? If the database is located in a directory that is cleaned by the web server on every new deployment ... to do it? Yotam Yotam Boaz The stack trace indicates an exception that is thrown not directly by ObjectDB but on: com.webapp.firstwebapp.resources.EventResource line 28 i.e. apparently by your own application | |
ClassCastException of same object type XCCompetitorCount){. ICoreObject is the interface that is implemented by all the persisted objects ... issue - ClassCastException on the same class is possible when the same class is loaded by two different ... to retrieve entity objects. This may be caused by using ObjectDB as a separate Eclipse bundle | |
Extended mapping-definitions to a relational DB, for example with Hibernate. By default every entity of the real world ... for the name of the class. Now this leads to the following problem: By default a Java object gets ... of 'Cat'? I have only the analogy to a relational DB where: 1) by default, instances of different | |
mapping file is not being loaded Hi, I am evaluating ObjectDB by using it with an in-house developed library in order to prototype ... is interpreted by ObjectDB also as a direct database path, so if the persistence unit is not found ... unit name by removing the .odb extension, and then wrote a simple unit test that created | |
Cascading makeTransient). The direct reference was added in version 2.6.2 in order to prevent garbage collecting ... the affected instances is as specified by the FetchPlan. So I assumed it should make transient ... 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.8.0_40 (on Mac OS X 10.10.2 | |
Activation Issue.SurefireBooter.main(SurefireBooter.java:980) Caused by : com.objectdb.o.UserException: Too many persistable ... Paul Edwards Please verify that your objectdb.conf file is used by the server. The activation setting ... that contains the revised configuration. To verify that the configuration is really used by the server - add | |
Jboss 6 persistence.xml startup error application: A JTA data source is ignored by ObjectDB but is required by JBoss. See the attached persistence ... , except that JPA and JTA classes are excluded. This is required in order to avoid class collision  ... .conf , the ObjectDB log directory is deploy/log , and the database is created by default at deploy/db | |
Removing objects where ManyToMany relationships exist because the non owner side (the mapped by side) is updated automatically. support Support Thank ... be EntityNotFoundException , but sometimes it could be wrapped by another exception, and there may be cases in ... the database intentionally. It depends. On retrieval - inverse (mapped by ) collections | |
jakarta.persistence.PersistenceUnitUtil or managed by entity managers for this persistence unit or on new entity instances. Since: Jakarta ... . This method may, but is not required to, load the given entity by side effect. Parameters: entity ... may, but is not required to, load the given entity by side effect. Parameters: entityClass - an entity | |
jakarta.persistence.Graph of an attribute mapped for eager fetching. The effect of this call may be overridden by subsequent ... of an attribute mapped for eager fetching. The effect of this call may be overridden by subsequent ... inclusion of attributes mapped for eager fetching. The effect of this call may be overridden by subsequent | |
jakarta.persistence.FlushModeType Enumerates flush modes recognized by the EntityManager . When queries are executed ... this by flushing updates to those entities to the database or by some other means. On the other hand | |
jakarta.persistence.JoinTable to the concatenated names of the two associated primary entity tables, separated by an underscore ... , a default foreign key strategy is selected by the persistence provider. Default: @ForeignKey ... strategy is selected by the persistence provider. Default: @ForeignKey(ConstraintMode.PROVIDER_DEFAULT | |
jakarta.persistence.NamedEntityGraph. A reference to a named entity graph may be obtained by calling EntityManager.getEntityGraph ... can still be fully specified by an attribute node referencing a subgraph. Default: false Since: Jakarta ... the entity graph. These are referenced by name from NamedAttributeNode definitions. Default | |
jakarta.persistence.TypedQuery.setHint(String,Object) may be used to specify query properties and hints. Properties defined by this specification must be observed by the provider. Vendor-specific hints that are not recognized by a provider must be silently ... on the database in use and the locking mechanisms used by the provider, this hint may or may not be observed | |
jakarta.persistence.ForeignKey. If this annotation is not specified, a default foreign key strategy is selected by the persistence ... should be generated. The syntax used in the foreignKeyDefinition element should follow the SQL syntax used by | |
jakarta.persistence.LockOption Jakarta Persistence (JPA) Interface jakarta.persistence.LockOption An option influencing the behavior of EntityManager.lock . Built-in options control scope , and timeouts . This interface may be implemented by custom provider-specific options which extend the options defined by the specification | |
jakarta.persistence.MapsId Java type as the primary key of the entity referenced by the relationship, the value attribute is not ... or OneToOne relationship declared by a dependent entity is annotated MapsId , an instance | |
jakarta.persistence.Converter mapping descriptor. The target type for a converter is determined by the actual type argument of the first ... entity in the persistence unit, except for attributes for which conversion is overridden by means | |
jakarta.persistence.Embeddable in the table or tables mapped by the owning entity. The persistent fields and properties ... annotated Id or EmbeddedId . Fields or properties of an embeddable class are persistent by default | |
jakarta.persistence.EntityNotFoundException by the persistence provider when an entity reference obtained by EntityManager.getReference | |
jakarta.persistence.FindOption . This interface may be implemented by custom provider-specific options which extend the options defined by the specification. See Also: LockModeType PessimisticLockScope CacheRetrieveMode CacheStoreMode | |
Strange Error with Criteria API and Sorting($1)=class test.MyEntity)) ORDER BY UPPER($1.name) DESC You can see that in the order by ... ] SELECT DISTINCT $1 FROM TestEntity $1 JOIN $1.other $2 ORDER BY UPPER( == $2 ... We're creating a simple selection (distinct) including an order clause. When watching the created | |
jakarta.persistence.PessimisticLockException Thrown by the persistence provider when a pessimistic locking conflict occurs. This exception | |
jakarta.persistence.GenerationType provider must assign primary keys for the entity by generating an RFC 4122 Universally Unique IDentifier | |
jakarta.persistence.GeneratedValue) The name of the primary key generator to use, as specified by the SequenceGenerator or TableGenerator | |
jakarta.persistence.LockModeType which may be obtained on an entity instance. A specific lock mode may be requested by passing an explicit LockModeType | |
jakarta.persistence.JoinColumns is selected by the persistence provider. Default: @ForeignKey(PROVIDER_DEFAULT) Since: Jakarta | |
jakarta.persistence.LockTimeoutException Jakarta Persistence (JPA) Class jakarta.persistence.LockTimeoutException java.lang.Object ∟ java.lang.Throwable ∟ java.lang.Exception ∟ java.lang.RuntimeException ∟ jakarta.persistence.PersistenceException ∟ jakarta.persistence.LockTimeoutException Implemented Interfaces: Serializable Thrown by | |
jakarta.persistence.ManyToOne of the association. By default no operations are cascaded. Default: {} Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.MapKeyJoinColumns in either location, a default foreign key strategy is selected by the persistence provider. Default | |
jakarta.persistence.MappedSuperclass Jakarta Persistence (JPA) Annotation Type jakarta.persistence.MappedSuperclass Implemented Interfaces: Annotation Target: Type Declares a class which is not itself an entity, but whose mappings are inherited by the entities which extend it. A mapped superclass is not a persistent type, and is not | |
jakarta.persistence.Convert defined autoApply=true , or overriding the use of a converter specified by a field or property | |
jakarta.persistence.Embedded may be used to override mappings declared or defaulted by the embeddable class. Example: @Embedded | |
jakarta.persistence.ElementCollection Jakarta Persistence (JPA) Annotation Type jakarta.persistence.ElementCollection Implemented Interfaces: Annotation Target: Method, Field Declares a collection of instances of a basic type or embeddable class . Must be specified if the collection is to be mapped by means of a collection table | |
jakarta.persistence.EntityExistsException Jakarta Persistence (JPA) Class jakarta.persistence.EntityExistsException java.lang.Object ∟ java.lang.Throwable ∟ java.lang.Exception ∟ java.lang.RuntimeException ∟ jakarta.persistence.PersistenceException ∟ jakarta.persistence.EntityExistsException Implemented Interfaces: Serializable Thrown by | |
jakarta.persistence.Enumerated the available options. The mapping may be explicitly specified by this annotation. If a persistent field or | |
javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getPropertyName Enhancer modifies the names of persistent property get and set methods by adding __odbHidden_ prefix - in order to add new proxy methods with the original method names. Apparently, this violates ... is not anywhere in the classpath. You are not using classes that have been enhanced by an older | |
jakarta.persistence.PersistenceConfiguration.validationMode() Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceConfiguration ValidationMode validationMode() The validation mode, ValidationMode.AUTO by default. Returns: the validation mode. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.PersistenceConfiguration.transactionType() Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceConfiguration PersistenceUnitTransactionType transactionType() The transaction type . If PersistenceUnitTransactionType.JTA , a JTA data source must be provided via PersistenceConfiguration.jtaDataSource , or by the container | |
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.PersistenceContext.name Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceContext String name (Optional) The name by which the entity manager is to be accessed in the environment referencing context; not needed when dependency injection is used. Default: "" Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.ManagedType.getDeclaredSingularAttribute(String) Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType SingularAttribute getDeclaredSingularAttribute ( String name ) Return the single-valued attribute declared by the managed type that corresponds to the specified name. Parameters: name - the name | |
jakarta.persistence.metamodel.ManagedType.getDeclaredCollection(String) Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType CollectionAttribute getDeclaredCollection ( String name ) Return the Collection-valued attribute declared by the managed type that corresponds to the specified name. Parameters: name - the name |