ObjectDB Database Search
151-200 of 200 resultsUnable to convert 1.x odb file to 2.x Hi, my company is just about to switch from ObjectDB 1.04.2487 (SE) to ObjectDB 2 . So I downloaded the objectdb- 2 .5.5_02, activated it with our licence, enhancing went ... - 2 .0 file conversion Exception in thread "main" java.lang.RuntimeException: Internal Exception | |
JPA 2.0 Criteria API: (When) Fully supported ? An excerpt from the website of a 3rd party vendor which tries to support JPA 2 .0: "The primary difference between JPA 1.0 and JPA 2 .0 implementations is how data is fetched: the JPA 1.0 implementation creates a JPQL query string for fetching while the JPA 2 .0 implementation uses Criteria | |
Annotate a Map field with @ElementCollection or @Basic Hello, we have an entity with a field whose type is a Map . Once we annotate the field with @ElementCollection, in the other case with @Basic. Is @Basic also a valid annotation for a Map field ... { @ElementCollection private Map values = new HashMap (); @Basic private Map values = new HashMap (); } best regards | |
Post-compile enhancement fails when static Log4j 2.5 based logger used in Entity a non-static logging variable holder can be used in an @Entity. ObjectDB 2 .6.3_04 Apache Log4j2 - 2 .5 Mac OS X   ... ExtendedLoggerWrapper { private static final Map loggerWrappers = new HashMap (); static public LoggerWrapper | |
Numbers in JPQL and Criteria Queries. For example: MOD(11, 3) evaluates to 2 . MOD(8, 4) evaluates to 0 . The MOD function takes two integer ... function returns the square root of a specified argument. For example: SQRT(9) is evaluated to 3 SQRT( 2 ... (+) Expression sum1 = cb. sum (path, param); // 2 expressions Expression sum2 = cb. sum (path, 1000 | |
SELECT clause (JPQL / Criteria API) only single-valued path expressions in the SELECT clause. Collection and map fields cannot be included | |
JPA Named Queries Annotations). It is defined on an entity or mapped superclass and assigned a unique name for retrieval | |
Index Definition is an ordered map data structure that ObjectDB maintains in the file system, not in memory. The B | |
What are the main benefits of using ObjectDB? the execution time of object oriented applications significantly. For instance, collection and map | |
JPA Runtime Tuning & Configuration): Defaults passed in a property map to the factory builder or defined in persistence.xml . EntityManager | |
Can I use ObjectDB to access a relational database? To access relational databases using the Java Persistence API (JPA) you will need an Object Relational Mapping (ORM) tool, such as Hibernate, TopLink, EclipseLink, Open JPA or DataNucleus. The DataNucleus ORM implementation supports also the Java Data Objects (JDO) API. ObjectDB is a full featured | |
Deleting JPA Entities, non-shared dependent objects. You can also set orphan removal for collection and map fields | |
JPA Exceptions does not match the expected entity mapping structure during validation. | |
jakarta.persistence.metamodel.Metamodel to the metamodel of persistent entities in the persistence unit. Since: Jakarta Persistence (JPA) 2 .0 ... .persistence.Entity.name Since: Jakarta Persistence (JPA) 3. 2 EntityType entity ( Class cls ) Return ... managedType ( Class cls ) Return the metamodel managed type representing the entity, mapped superclass | |
ObjectDB 2.6.2 a synchronization bug ( issue #1643 ). Fixed a regression of build 2 .6.1_03 in supporting interfaces in ... ). Fixed a bug in queries on map fields . Fixed a bug in updating an embedded object after GC of the containing entity ( issue #1620 ). Fixed a bug in cascading detach through unloaded inverse ( mapped by) collection. | |
jakarta.persistence.EntityManagerFactory.getNamedQueries(Class) meaning all queries Returns: a map keyed by query name. Since: Jakarta Persistence (JPA) 3. 2 ... Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManagerFactory Map getNamedQueries ... types A map keyed by query name , containing references to every named query whose result type | |
jakarta.persistence.EntityManagerFactory.getNamedEntityGraphs(Class) all entity graphs Returns: a map keyed by graph name. Since: Jakarta Persistence (JPA) 3. 2 ... Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManagerFactory Map ... graph types A map keyed by graph name , containing every named entity graph whose entity type | |
jakarta.persistence.EntityManager.getProperties() Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager Map getProperties ... the contents of the returned map does not change the configuration in effect. Returns: a map of properties and hints currently in effect. Since: Jakarta Persistence (JPA) 2 .0 | |
jakarta.persistence.AssociationOverride.joinTable The join table that maps the relationship. The joinTable element must be specified if a join table is used in the overriding of the mapping of the relationship. The joinTable element must not be specified if a foreign key mapping is used in the overriding of the relationship. Default: @JoinTable Since: Jakarta Persistence (JPA) 2 .0 | |
ObjectDB 2.4.2 Fixed a bug in handling mapped super class with no primary key ( issue #864 ). Fixed a bug in handling enum in the primary key ( issue #852 ). Fixed an initialization of inverse ( mapped by) fields by JOIN FETCH ( issue #854 ). Fixed type checking of query parameters. Changed merge implementation | |
ObjectDB License . You are encouraged to test ObjectDB before purchasing a license. Server License ObjectDB 2 .x Server License costs £500 and includes all version 2 .x updates. A server license covers one installation ... a Server License Site License ObjectDB 2 .x Site License costs £2,500 and includes all version 2 .x | |
ObjectDB 2.2.8 Fixed a critical bug in extensive removal operations of large objects. Improved the performance of navigation through an inverse ( mapped by) field if the owner field is indexed. Fixed a LEFT OUTER JOIN bug . Fixed a bug in parsing queries with parenthesis followed by NOT . Fixed a bug in running | |
ObjectDB 2.7.2 Added initial support for Java 9 . Attempt to fix (currently a workaround) and log the nested section key bug ( issue #2127 ). Fixed a bug in queries of the form "SELECT o FROM ... WHERE o == :arg" Fixed a bug in displaying inverse ( mapped by) relations in the Explorer. Fixed a bug in reusing | |
jakarta.persistence.GeneratedValue. The GeneratedValue annotation may be applied to a primary key property or field of an entity or mapped ... ") @Column(name = "CUST_ID") public Long getId() { return id; } Example 2 : @Id @GeneratedValue | |
jakarta.persistence.Lob the Lob annotation when mapping to a database Lob type. The Lob annotation may be used in ... ) @Column(name = "REPORT") protected String report; Example 2 : @Lob @Basic(fetch = LAZY) @Column(name | |
jakarta.persistence.Converts be applied to the same basic attribute. See Also: Convert Since: Jakarta Persistence (JPA) 2 .1 Annotation Elements Convert[] value The Convert mappings that are to be applied. Since: Jakarta | |
jakarta.persistence.EnumeratedValue of database column values for an enumerated mapping . The annotated field must be declared final ... (JPA) 3. 2 Annotation Elements This is a marker annotation with no members/elements. Additional JDK | |
jakarta.persistence.metamodel.Attribute an attribute of a Java type. Since: Jakarta Persistence (JPA) 2 .0 Public Instance Methods ManagedType ... (represents a Collection , Set , List , or Map ). Returns: boolean indicating whether the attribute is collection-valued. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.ListAttribute java.util.List -valued attributes. Since: Jakarta Persistence (JPA) 2 .0 Public Instance Methods Class ... () Is the attribute collection-valued (represents a Collection , Set , List , or Map ). Inherited from | |
jakarta.persistence.metamodel.CollectionAttribute CollectionAttribute represent persistent java.util.Collection -valued attributes. Since: Jakarta Persistence (JPA) 2 .0 ... , or Map ). Inherited from Attribute Returns: boolean indicating whether the attribute is collection-valued. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.SetAttribute.util.Set -valued attributes. Since: Jakarta Persistence (JPA) 2 .0 Public Instance Methods Class ... () Is the attribute collection-valued (represents a Collection , Set , List , or Map ). Inherited from | |
jakarta.persistence.metamodel.StaticMetamodel is a metamodel class that represents the entity, mapped superclass, or embeddable class designated by the value element. Since: Jakarta Persistence (JPA) 2 .0 Annotation Elements Class value Class | |
jakarta.persistence.metamodel.SingularAttribute-valued properties or fields. Since: Jakarta Persistence (JPA) 2 .0 Public Instance Methods Class ... () Is the attribute collection-valued (represents a Collection , Set , List , or Map ). Inherited from | |
jakarta.persistence.metamodel.PluralAttribute) 2 .0 Public Instance Methods Class getBindableJavaType () Return the Java type of the represented ... -valued (represents a Collection , Set , List , or Map ). Inherited from Attribute Returns: boolean | |
jakarta.persistence.criteria.CriteriaUpdate API. Criteria API bulk update operations map directly to database update operations, bypassing any ... . A CriteriaUpdate object must have a single root. Since: Jakarta Persistence (JPA) 2 .1 Public Instance | |
jakarta.persistence.criteria.CriteriaDelete API Criteria API bulk delete operations map directly to database delete operations. The persistence ... must have a single root. Since: Jakarta Persistence (JPA) 2 .1 Public Instance Methods Root from ( Class | |
jakarta.persistence.Access, mapped superclass, or embeddable class, or to a specific attribute of such a class. Since: Jakarta Persistence (JPA) 2 .0 Annotation Elements AccessType value (Required) Specification of field- or | |
jakarta.persistence.AccessType with the Access annotation to specify an access type to be applied to an entity class, mapped ... Persistence (JPA) 2 .0 Enum Constants FIELD Field-based access is used. Since: Jakarta Persistence | |
jakarta.persistence.PrimaryKeyJoinColumns to map composite foreign keys. Example: ValuedCustomer subclass @Entity @Table(name = "VCUST ... _DEFAULT) Since: Jakarta Persistence (JPA) 2 .1 Additional JDK methods inherited from java.lang | |
jakarta.persistence.NamedStoredProcedureQueries to an entity or mapped superclass. See Also: NamedStoredProcedureQuery Since: Jakarta Persistence (JPA) 2 .1 Annotation Elements NamedStoredProcedureQuery[] value (Required) Array | |
jakarta.persistence.NamedQuery can be applied to an entity class or mapped superclass. Since: Jakarta Persistence (JPA) 1.0 The JPA Named ... and the persistence context joined to the transaction. Default: LockModeType.NONE Since: Jakarta Persistence (JPA) 2 | |
Eclipse Public License - v 1.0. "Recipient" means anyone who receives the Program under this Agreement, including all Contributors. 2 ... such Recipient's patent(s), then such Recipient's rights granted under Section 2 (b) shall terminate as ... its Contributions) under the new version. Except as expressly stated in Sections 2 (a) and 2 (b | |
jakarta.persistence.MapKeyJoinColumn.table) The name of the table that contains the foreign key column. If the join is for a map key for an element collection, the foreign key column is in the collection table for the map value. If the join is for a map key for a ManyToMany entity relationship or for a OneToMany entity relationship using | |
jakarta.persistence.EntityManagerFactory.getProperties() Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManagerFactory Map getProperties ... the contents of the map does not change the configuration in effect. Returns: properties. Throws: IllegalStateException - if the entity manager factory has been closed. Since: Jakarta Persistence (JPA) 2 .0 | |
jakarta.persistence.ColumnResult.type Jakarta Persistence (JPA) Method in jakarta.persistence.ColumnResult Class type (Optional) The Java type to which the column type is to be mapped . If the type element is not specified, the default JDBC type mapping for the column is used. Default: void/class Since: Jakarta Persistence (JPA) 2 .1 | |
ObjectDB 2.5.1 error message when using mapped by (inverse) collections and maps of invalid types. Changed JOIN ... on Schema Update during Multithreading activity ( issue #1139 ). Fixed a bug in loading mapped (inverse) to-many relationship into an array field ([]) ( issue #1131 ). Fixed a bug in loading mapped (inverse | |
Eager Fetch of Map with Entities as Keys Loading eagerly a map that uses entity objects as keys is currently unsupported, if the equals ... is unavailable during instantiation of the map . The following test case demonstrates the problem ... .persist(key); entity. map .put(key, "value");   | |
Step 1: Create a Maven Web Project.objectdb.com com.objectdb objectdb 2 .8.1 org.eclipse.persistence javax.persistence 2 .1.0 javax.transaction jta 1.1 javax.servlet servlet-api 2 .5 provided javax.servlet.jsp jsp-api 2 .1 provided org ... .springframework spring-orm 3.0.5.RELEASE aopalliance aopalliance 1.0 cglib cglib 2 . 2 org.aspectj aspectjweaver | |
Step 1: Create a Maven Web Project; com.objectdb objectdb 2 .8.1 org.eclipse.persistence javax.persistence 2 .1.0   ... ; javax.servlet servlet-api 2 .5 provided   | |
[ODB1] Chapter 6 - Persistent Objects of persistent types is available at section 3. 2 ). ObjectDB provides an additional storing method ... (an embedded object can only be retrieved using a reference from its containing object). 6. 2   ... of the first object in the database is always 1, the ID of the second object is 2 |