ObjectDB Database Search
101-150 of 200 resultsExplorer in 2.3 servers, it may be faster for local files. 3 . On the Query page, please add a checkbox to request ... to enter a Java expression into a field. For example, suppose you have a User entity with a password ... evaluation. For me, #1, #2 and # 3 would be the most important. Also, I've found some small bugs: 1 | |
Annotations not supported in -source1.3 (use -source 5 or higher ..) supported in -source1. 3 (use -source 5 or higher ..) (Note that the version of Java I ran Maven as ... objectdb-2.2.5_03 Netbeans IDE6.9.1 java version "1.6.0_24": as user running Netbeans java version ... to build the points example from Maven, but on opening it in Netbeans 6.9.1 I got an error in Points. java | |
GlassFish 3.1.2.2/JBoss 7.1.1 problem (http://www. java .net/forum/topic/glassfish/glassfish/cant-return-entity-ejbs-remote-ejb ... there are also issues with GlassFish 3 .1.2 (GlassFish 3 .1.1 may work better with ObjectDB ... for me since it lacks Java EE 6 full profile support. n0mad Zakaria Yussuf Hopefully JBoss AS 7 | |
javax.transaction-api-1.3.jar and javax.persistence-api.2.2.jar this library at all? b) If I do need it, do I use jakarta.transaction-api 1. 3 or 2.0.1? Similarly java ... Hi, I notice that objectdb zip file has: javax.transaction-api-1. 3 .jar However that library ... on version 3 .2 I'm guessing that in both cases I switch from javax to jakarta, but keep the same version as | |
ObjectDB version 2.3 has been released ObjectDB 2. 3 has been released and it includes important additions and fixes: Added the ability ... (issue # 3 ). Other small Explorer improvements. Added support of IN operator in JPQL queries. Added support of ";drop" database url parameter. Adjusted the Enhancer to the new Java 7 class file format | |
Source not found error after downloading ObjectDB 2.3.7_04. Basically the PMF.class is compiled from PMF. java and in the source file I am not able to find any PMF. java class. For setup I downloaded the ObjectDB zip file. Placed it in source code ... . I debugged following code import java .util.Properties; import javax.jdo.JDOHelper; import javax.jdo | |
jakarta.persistence.criteria.CriteriaBuilder.Case Persistence (JPA) 3 .2 Predicate equalTo ( Expression value ) Create a predicate to test ... against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3 .2 Predicate ... for equality. Since: Jakarta Persistence (JPA) 3 .2 String getAlias () Return the alias assigned | |
jakarta.persistence.criteria.CriteriaBuilder.In type. Since: Jakarta Persistence (JPA) 3 .2 Predicate equalTo ( Expression value ) Create a predicate ... Persistence (JPA) 3 .2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression ... against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3 .2 String getAlias () Return | |
jakarta.persistence.criteria.CriteriaBuilder.Coalesce Persistence (JPA) 3 .2 Predicate equalTo ( Expression value ) Create a predicate to test ... against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3 .2 Predicate ... for equality. Since: Jakarta Persistence (JPA) 3 .2 String getAlias () Return the alias assigned | |
jakarta.persistence.criteria.Expression (JPA) 3 .2 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression ... for equality. Since: Jakarta Persistence (JPA) 3 .2 Predicate equalTo ( Object value ) Create ... to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3 .2 String | |
jakarta.persistence.criteria.CriteriaBuilder.SimpleCase Persistence (JPA) 3 .2 Predicate equalTo ( Expression value ) Create a predicate to test ... to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3 .2 Predicate ... testing for equality. Since: Jakarta Persistence (JPA) 3 .2 String getAlias () Return the alias assigned | |
ClassCastException after upgrade to 2.3.5_03) at java .lang.Thread.run(Thread. java :662) Caused by: com.objectdb.o.InternalException: Unexpected internal exception at com.objectdb.o.JPE.h(JPE. java :163) at com.objectdb.o.ERR.f(ERR. java :69) at com.objectdb.o.OBC.onObjectDBError(OBC. java :1487) at com.objectdb.jpa.EMImpl.find(EMImpl. java :559 | |
Regression bug in using version 2.4.5 with GlassFish 3.1.2 Can't deploy objectDB ver 2.4.5 or later using GlassFish 3 .1.2, NetBeans 7.2.1 Win 7 & 8. ObjectDB ... .enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=44;_ThreadName=Thread-2;| java .lang.NullPointerException at com.objectdb.jpa.EMImpl. (EMImpl. java :72) at com.objectdb.jdo.PMImpl. (PMImpl. java :109 | |
[ObjectDB 2.3.7_25] Unexpected exception (Error 990) java -cp objectdb.jar com.objectdb.Doctor ~/athene.odb.old ~/new.old [...] Creating a database copy... [ObjectDB 2. 3 .7_25] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64 ... :163) at com.objectdb.Doctor.main(Doctor. java :22) [ObjectDB 2. 3 .7_25] null lorenz2304 Benjamin Lorenz | |
Index Definition , long , float , double Equivalent wrapper classes from the java .lang package: Byte , Short , Character , Integer , Long , Float , Double java .math.BigInteger , java .math.BigDecimal java .lang.String java .util.Date , java .sql.Date , java .sql.Time , java .sql.Timestamp Any enum type A reference | |
[ObjectDB 2.4.3_07] Unexpected exception (Error 990) [2012-10-05 13:14:18 #7 store] Database '/home/glassfish/objectdb-2.4. 3 _07/db/test.odb' is opened by 7042@edi-gui-sbr-devel [2012-10-05 13:14:18 #8 server] [ObjectDB 2.4. 3 _07] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.6.0_35 (on Linux 2.6.32-300.10.1 | |
jakarta.persistence.Embeddable must: be a non- abstract , non- final top-level class or static inner class, or a Java record type ... . The Transient annotation or the Java transient keyword must be used to explicitly declare any field ... EmploymentPeriod { @Temporal(DATE) java .util.Date startDate; @Temporal(DATE) java .util.Date endDate | |
jakarta.persistence.MapKeyJoinColumn; ... } Example 3 : @Entity public class Student { @Id int studentId; ... @ManyToMany // students and courses ... . Default: "" Since: Jakarta Persistence (JPA) 3 .2 String table (Optional) The name of the table ... methods inherited from java .lang.annotation.Annotation java .lang.annotation.Annotation/annotationType | |
jakarta.persistence.CheckConstraint) 3 .2 Additional JDK methods inherited from java .lang.annotation.Annotation java .lang.annotation.Annotation/annotationType(), java .lang.annotation.Annotation/equals(Object), java .lang.annotation ... is in effect. See Also: Table.check() Column.check() Since: Jakarta Persistence (JPA) 3 .2 Annotation | |
Dynamic Metadata (JDO 3.0) JDO 3 introduces the ability to specify and query metadata of persistable types dynamically. ObjectDB 2 supports specifying metadata by: JPA XML Mapping Metadata JPA Annotations JDO XML Metadata (e ... generated classes. In addition, the metadata of classes can be queried at runtime (similarly to reflection in Java ). support Support | |
ObjectDB 2.3.0 Added the ability to edit databases in the Explorer ( issue #2 ). Added the ability to execute queries in the Explorer (issue # 3 ). Other small Explorer improvements. Added support of IN operator in ... Java 7 class file format. Improved error message for invalid mapped by (inverse) fields ( issue #473 | |
jakarta.persistence.OneToMany field or property of the entity that is the owner of the relationship. When the collection is a java ... customer; } Example 3 : Unidirectional One-to-Many association using a foreign key mapping // In ... . Optional only if the collection property is defined using Java generics. Must be specified | |
ObjectDB 2.8.3 Added support of Java 8 date and time types (issues #1495 , #2564 ). Added information in the Explorer on consumed database space ( feature request #2540 ). Fixed handling enum types that implement interfaces in the Explorer ( Issue #2542 ). Improved memory cleaning when entity objects | |
jakarta.persistence.MapKeyClass: Annotation Target: Method, Field Specifies the type of the map key for associations of type java ... using Java generics, the MapKeyClass annotation and associated type need not be specified ... ; ... } Example 3 : @Entity public class Company { @Id int id; ... @OneToMany(targetEntity = com | |
jakarta.persistence.ManyToMany, mappedBy = "phones") public Set getCustomers() { return customers; } Example 3 : // In Customer class ... of the association. Optional only if the collection-valued relationship property is defined using Java ... collection is a java .util.Map , the cascade element applies to the map value. Defaults to no operations | |
jakarta.persistence.Convert may be applied to: a basic attribute, or a collection attribute of any type other than java .util.Map , in ... collection attribute, that is, a collection attribute of type java .util.Map , in which case ... ; } Example 3 : Disable conversion in the presence of an autoapply converter @Convert | |
JPA Attributes Annotations to perform optimistic locking checks. Enum mapping Configure how Java enumerated types are persisted and used ... and calendar types to specific SQL temporal formats (modern java .time types are mapped automatically): Specifies the database SQL type for a persistent field or property of type java .util.Date or java .util | |
JPA Criteria Query Date/Time Extraction (such as java .time.LocalDate , and java .sql.Date ), including YEAR , MONTH , DAY , DAY_OF_WEEK , and DAY_OF_YEAR . Defines the component types of Time values (such as java .time.LocalTime , and java .sql.Time ), including HOUR , MINUTE , and SECOND . Defines component types applicable | |
jakarta.persistence.EnumeratedValue Interfaces: Annotation Target: Field Specifies that an annotated field of a Java enum type is the source ... (JPA) 3 .2 Annotation Elements This is a marker annotation with no members/elements. Additional JDK methods inherited from java .lang.annotation.Annotation java .lang.annotation.Annotation/annotationType | |
jakarta.persistence.Index: "" Since: Jakarta Persistence (JPA) 3 .2 Additional JDK methods inherited from java .lang.annotation.Annotation java .lang.annotation.Annotation/annotationType(), java .lang.annotation.Annotation/equals(Object), java .lang.annotation.Annotation/hashCode(), java .lang.annotation.Annotation/toString() | |
jakarta.persistence.ForeignKey Persistence (JPA) 3 .2 Additional JDK methods inherited from java .lang.annotation.Annotation java .lang.annotation.Annotation/annotationType(), java .lang.annotation.Annotation/equals(Object), java .lang.annotation.Annotation/hashCode(), java .lang.annotation.Annotation/toString() | |
jakarta.persistence.MapKeyColumn. May not be used in conjunction with columnDefinition . Default: "" Since: Jakarta Persistence (JPA) 3 .2 ... Persistence (JPA) 1.0 Additional JDK methods inherited from java .lang.annotation.Annotation java .lang.annotation.Annotation/annotationType(), java .lang.annotation.Annotation/equals(Object), java .lang | |
jakarta.persistence.DiscriminatorColumn with columnDefinition . Default: "" Since: Jakarta Persistence (JPA) 3 .2 int length (Optional) The column length ... Persistence (JPA) 1.0 Additional JDK methods inherited from java .lang.annotation.Annotation java .lang.annotation.Annotation/annotationType(), java .lang.annotation.Annotation/equals(Object), java .lang | |
jakarta.persistence.EntityResult by the SQL query. Default: LockModeType.OPTIMISTIC Since: Jakarta Persistence (JPA) 3 .2 FieldResult ... inherited from java .lang.annotation.Annotation java .lang.annotation.Annotation/annotationType(), java .lang.annotation.Annotation/equals(Object), java .lang.annotation.Annotation/hashCode(), java .lang.annotation.Annotation/toString() | |
jakarta.persistence.UniqueConstraint. Default: "" Since: Jakarta Persistence (JPA) 3 .2 Additional JDK methods inherited from java .lang.annotation.Annotation java .lang.annotation.Annotation/annotationType(), java .lang.annotation.Annotation/equals(Object), java .lang.annotation.Annotation/hashCode(), java .lang.annotation.Annotation/toString() | |
jakarta.persistence.AttributeOverride protected Address address; ... } Example 3 : @Entity public class PropertyRecord { @EmbeddedId protected ... Additional JDK methods inherited from java .lang.annotation.Annotation java .lang.annotation.Annotation/annotationType(), java .lang.annotation.Annotation/equals(Object), java .lang.annotation.Annotation/hashCode(), java .lang.annotation.Annotation/toString() | |
jakarta.persistence.CollectionTable effect. Default: "" Since: Jakarta Persistence (JPA) 3 .2 Additional JDK methods inherited from java .lang.annotation.Annotation java .lang.annotation.Annotation/annotationType(), java .lang.annotation.Annotation/equals(Object), java .lang.annotation.Annotation/hashCode(), java .lang.annotation.Annotation/toString() | |
jakarta.persistence.PrimaryKeyJoinColumn with columnDefinition . Default: "" Since: Jakarta Persistence (JPA) 3 .2 ForeignKey foreignKey (Optional) Used ... (JPA) 2.1 Additional JDK methods inherited from java .lang.annotation.Annotation java .lang.annotation.Annotation/annotationType(), java .lang.annotation.Annotation/equals(Object), java .lang.annotation | |
jakarta.persistence.SequenceGenerator to the generated DDL statement which creates this sequence. Default: "" Since: Jakarta Persistence (JPA) 3 .2 Additional JDK methods inherited from java .lang.annotation.Annotation java .lang.annotation.Annotation/annotationType(), java .lang.annotation.Annotation/equals(Object), java .lang.annotation.Annotation/hashCode(), java .lang.annotation.Annotation/toString() | |
jakarta.persistence.TableGenerator to the generated DDL statement which creates this table. Default: "" Since: Jakarta Persistence (JPA) 3 .2 Additional JDK methods inherited from java .lang.annotation.Annotation java .lang.annotation.Annotation/annotationType(), java .lang.annotation.Annotation/equals(Object), java .lang.annotation | |
jakarta.persistence.OrderColumn . Default: "" Since: Jakarta Persistence (JPA) 3 .2 Additional JDK methods inherited from java .lang.annotation.Annotation java .lang.annotation.Annotation/annotationType(), java .lang.annotation.Annotation/equals(Object), java .lang.annotation.Annotation/hashCode(), java .lang.annotation.Annotation/toString() | |
jakarta.persistence.OneToOne Integer id; ... } Example 3 : One-to-one association from an embeddable class to another entity. @Entity ... methods inherited from java .lang.annotation.Annotation java .lang.annotation.Annotation/annotationType(), java .lang.annotation.Annotation/equals(Object), java .lang.annotation.Annotation/hashCode(), java .lang.annotation.Annotation/toString() | |
jakarta.persistence.OrderBy = "students") @OrderBy // ordering by primary key is assumed public List getCourses() { ... } ... } Example 3 ... : "" Since: Jakarta Persistence (JPA) 1.0 Additional JDK methods inherited from java .lang.annotation.Annotation java .lang.annotation.Annotation/annotationType(), java .lang.annotation.Annotation/equals(Object), java | |
Logical Operators in JPQL and Criteria API the following table: Set 1: JPQL / SQL Set 2: Java / JDO AND && OR || NOT ! JPQL uses SQL notation, while Java uses its own notation, which is also used by the JDO Query Language (JDOQL). ObjectDB ... . As part of its JDO support, ObjectDB also supports the Java /JDO && operator as a synonym | |
What are the system requirements for using ObjectDB? ObjectDB requires Java 8 or later. As a pure Java application, ObjectDB should be able to run on any platform that supports the Java Standard Edition. Either the Java Development Kit (JDK) or the Java Runtime Environment (JRE) can be used. A version of ObjectDB for .NET is currently under development. | |
Defining a JPA Entity Class class is a POJO (Plain Old Java Object), an ordinary Java class that is marked (annotated) to indicate ... class is an ordinary Java class. The only JPA-specific addition is the @Entity annotation ... to the NotSerializableException that Java throws when you try to serialize a non-serializable object. However, all JPA | |
JPA Metamodel API about managed classes, persistent fields, and properties, similar to how Java reflection provides this capability for general Java types. The Metamodel interface The main interface of the JPA Metamodel ... is a thin wrapper for Class and provides only two methods: // Get the underlying Java representation of the type | |
Comparison in JPQL and Criteria API/SQL Set 2: Java /JDO Less Than Less Than or Equal To = Equal To = == Not Equal To != The main ... . != ) operators. JPQL follows SQL notation, while Java uses its own notation, which is also used by JDOQL ... standard Java logic. For example, null == null evaluates to true . All other operators | |
Step 2: Entity Class and Persistence Unit , enter src/main/ java as Folder Name and click Finish . Open the [New Java Class] dialog box, e.g. by ... the database was created in the project (under Java Resources: src/main/ java guest). Use copy ... java .io.Serializable; import java .sql.Date; import javax.persistence.Entity; import javax.persistence | |
Step 2: Define a JPA Entity Class the [New Java Class] dialog box, e.g. by right clicking the project node (in the [Projects] window) and selecting New Java Class ... Enter Guest as the class name - use exactly that case sensitive class name ... code: package guest; import java .io.Serializable; import java .sql.Date; import javax.persistence.Entity |