ObjectDB Database Search

101-150 of 200 results

com.objectdb.o.InternalException: java.lang.NoClassDefFoundError: java/sql/Date

). Please report this error on http://www.objectdb.com/issue/new com.objectdb.o.InternalException: java .lang.NoClassDefFoundError: java /sql/Date java .lang.NoClassDefFoundError: java /sql/Date at objectdb/com.objectdb.o.VUT. (VUT. java :68) at objectdb/com.objectdb.o.RAT.l(RAT. java :106) at objectdb/com.objectdb.o.RTT

java.lang.NoClassDefFoundError: java/time/LocalDate

thread "main" [ObjectDB 2.8.6] Unexpected exception (Error 990) Generated by Java HotSpot(TM) Client ... .objectdb.o.InternalException: java .lang.NoClassDefFoundError: java /time/LocalDate java .lang.NoClassDefFoundError: java /time/LocalDate at com.objectdb.o.VUT. (VUT. java :71) at com.objectdb.o.RAT.l(RAT

Guessbook tutorial: Java EE 6 JPA Tutorial - Maven Project

.EJBException at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer. java :5215) at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer. java :5113) at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer. java :4901) at com.sun.ejb.containers.BaseContainer

Failed to generate dynamic type objectdb.java.util.ArrayList

_06] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) Server VM 1.6.0_26 ... . java .util.ArrayList com.objectdb.o.UserException: Failed to generate dynamic type objectdb. java .util.ArrayList at com.objectdb.o.MSG.d(MSG. java :74) at com.objectdb.o.ACL.e(ACL. java :185) at com.objectdb

java.lang.NullPointerException when using ORDER BY

: Caused by: java .lang.IllegalStateException: com.objectdb.o.InternalException: Unexpected internal ... .RecordingMetaDataDAO.getResultList(RecordingMetaDataDAO. java :925)          ... .services.RecordingService.getResultList(RecordingService. java :373)       

java.lang.ClassCastException: CriteriaQueryImpl cannot be cast to java.util.List

java.lang.ClassCastException: CriteriaQueryImpl cannot be cast to java.util.List

ObjectDB Enhancer Tool in Java 9

I am migrating to Java 9 and have encountered some issues, which I am sure will eventually be addressed by a Java 9 compatible ObjectDB future release, but while waiting for that release ... at its objectdb.jar location, which is not valid in a Java module environment. Example command: java

Java FX tableview fill with an aggregated query

an error in filling the tableview:     Exception in thread "JavaFX Application Thread" java .lang.RuntimeException: java .lang.reflect.InvocationTargetException at javafx.fxml/javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader. java :1862) at javafx.fxml/javafx.fxml.FXMLLoader

2.5.3_02: java.lang.UnsupportedOperationException

get an exception: java .lang.UnsupportedOperationException at com.objectdb.jpa.EMF.createEntityManager(EMF. java :517) at com.sun.enterprise.container.common.impl.EntityManagerWrapper._getDelegate(EntityManagerWrapper. java :197) at com.sun.enterprise.container.common.impl.EntityManagerWrapper.createQuery

javax.transaction.Synchronization with Java SE 10.0.1

Greetings, I am trying to get my app running on  Java 10 (up to now it runs on Java 8 ... to instantiate the PersistenceManager, it gives me the following error java .lang.NoClassDefFoundError: javax/transaction/Synchronization     at java .base/ java .lang.ClassLoader.defineClass1

SQL Queries Annotations

Jakarta Persistence (JPA) provides a set of annotations to define and map native SQL queries when the standard Java Persistence Query Language (JPQL) is insufficient. While ObjectDB focuses on JPQL and ignores these annotations, they remain essential for applications interacting with relational

Where can I learn how to use ObjectDB?

The best source for learning ObjectDB is the ObjectDB Manual , which contains all the necessary information for using ObjectDB. The only required background is a good understanding of the Java language. Reading the manual and getting started with ObjectDB could be easier for developers with prior

Is ObjectDB better than Object Relational Mapping (ORM)?

is developed for an existing old relational database). By using the Java Persistence API (JPA

JPA Query API

Criteria API provides an alternative way to build dynamic queries. It uses Java objects that represent

JPA Metamodel and Graphs

to retrieve entity and attribute information by class or name, similar to the reflection API in Java

Database Schema Evolution

other conversion that is a valid casting operation in Java . Renaming (package, class, and Field

JPA Connections and Transactions

Working with the Java Persistence API (JPA) consists of using the following interfaces: Overview A connection to a database is represented by an EntityManager instance, which also provides methods for performing database operations. Many applications require multiple database connections

Running JPA Queries

like any other Java collection. For example, you can iterate over a result collection

BIRT/ODA ObjectDB Driver

and JPA tutorial. Driver installation The driver is available as an Eclipse for Java EE Developers

JPA Relationships Annotations

Relationships define associations between entities. They are represented In Java code by attributes (persistent fields or properties) in persistent classes that hold a reference or a collection of references to other entities. Jakarta Persistence (JPA) provides annotations to configure

JPA ORM Mapping Annotations

java .util.Map when the type cannot be determined via generics. Specifies the mapping for the key column

JPA Criteria API Queries

Java objects that represent query elements. A major advantage of the Criteria API is that it enables

JPA Persistence Unit

;file to define a persistence unit. You can now define a persistence unit entirely in Java code

Database Explorer

line as follows: $ java -jar explorer.jar If explorer.jar is not in the current directory

jakarta.persistence.StoredProcedureQuery

to retrieve. Returns Integer. java .lang.Integer/MAX_VALUE if Query.setMaxResults was not applied ... . Deprecated: Newly-written code should use the date/time types defined in java .time . Since: Jakarta ... to a parameter of the query. Deprecated: Newly-written code should use the date/time types defined in java

jakarta.persistence.Basic

is any one of the following: a Java primitive type, or wrapper of a primitive type, String ... , or Year Date or Calendar , java .sql.Date , java .sql.Time , or java .sql.Timestamp , byte[] or Byte[] , char[] or Character[] , a Java enum type, or any other serializable type. The use of the Basic

jakarta.persistence.TemporalType

Jakarta Persistence (JPA) Enum jakarta.persistence.TemporalType java .lang.Object ∟ java .lang.Enum ... should use the date/time types defined in java .time . Since: Jakarta Persistence (JPA) 1.0 The JPA Persistable Types article explains how to use TemporalType . Enum Constants DATE Map as java .sql.Date

jakarta.persistence.EntityNotFoundException

Jakarta Persistence (JPA) Class jakarta.persistence.EntityNotFoundException java .lang.Object ∟ java .lang.Throwable ∟ java .lang.Exception ∟ java .lang.RuntimeException ∟ jakarta.persistence ... ) EntityManager.refresh(Object, java .util.Map) EntityManager.refresh(Object, LockModeType, java .util.Map

jakarta.persistence.EnumType

Jakarta Persistence (JPA) Enum jakarta.persistence.EnumType java .lang.Object ∟ java .lang.Enum ... how a persistent property or field whose type is a Java enum type should be persisted. See Also: Enumerated ... . The ordinal value of an enum instance with no EnumeratedValue field is the value of its Enum. java .lang.Enum

com.objectdb.o.InternalException: java.lang.NoClassDefFoundError: java/sql/Date

: java .lang.NoClassDefFoundError: java /sql/Date java .lang.NoClassDefFoundError: java /sql/Date at objectdb/com.objectdb.o.VUT. (VUT. java :68) at objectdb/com.objectdb.o.RAT.l(RAT. java :106) at objectdb/com.objectdb.o.RTT.g(RTT. java :136) at objectdb/com.objectdb.o.TSK.b(TSK. java :146) at objectdb/com

jakarta.persistence.metamodel.MapAttribute

) 2.0 Public Instance Methods Class getBindableJavaType () Return the Java type of the represented object. If the bindable type of the object is PLURAL_ATTRIBUTE , the Java element type is returned. If the bindable type is SINGULAR_ATTRIBUTE or ENTITY_TYPE , the Java type of the represented entity

jakarta.persistence.OptimisticLockException

Jakarta Persistence (JPA) Class jakarta.persistence.OptimisticLockException java .lang.Object ∟ java .lang.Throwable ∟ java .lang.Exception ∟ java .lang.RuntimeException ∟ jakarta.persistence ... .find(Class, Object, LockModeType, java .util.Map) EntityManager.lock(Object, LockModeType) EntityManager

jakarta.persistence.TypedQuery

. Returns Integer. java .lang.Integer/MAX_VALUE if Query.setMaxResults was not applied to the query object ... to a parameter of the query. Deprecated: Newly-written code should use the date/time types defined in java ... defined in java .time . Since: Jakarta Persistence (JPA) 1.0 TypedQuery setParameter ( String name , Object

jakarta.persistence.Query

Integer. java .lang.Integer/MAX_VALUE if setMaxResults was not applied to the query object. Returns ... . Deprecated: Newly-written code should use the date/time types defined in java .time . Since: Jakarta ... -written code should use the date/time types defined in java .time . Since: Jakarta Persistence (JPA) 2.0

Page cache File handling produced an java.io.IOException: Negative seek offset

_541100773067300498\pages11.dat' (error 117)     at com.objectdb.jpa.EMImpl.find(EMImpl. java :630)     at com.objectdb.jpa.EMImpl.find(EMImpl. java :545)     at com.btc.ep.base.dal.internal.services.PersistenceUtilityServiceImpl.find(PersistenceUtilityServiceImpl. java

jakarta.persistence.PessimisticLockException

Jakarta Persistence (JPA) Class jakarta.persistence.PessimisticLockException java .lang.Object ∟ java .lang.Throwable ∟ java .lang.Exception ∟ java .lang.RuntimeException ∟ jakarta.persistence ... .. Since: Jakarta Persistence (JPA) 1.0 Additional JDK methods inherited from java .lang.Throwable

jakarta.persistence.PersistenceUnitTransactionType

Jakarta Persistence (JPA) Enum jakarta.persistence.PersistenceUnitTransactionType java .lang.Object ∟ java .lang.Enum ∟ jakarta.persistence.PersistenceUnitTransactionType Implemented Interfaces ... (), valueOf(String) Additional JDK methods inherited from java .lang.Enum clone(), compareTo(E

jakarta.persistence.FlushModeType

Jakarta Persistence (JPA) Enum jakarta.persistence.FlushModeType java .lang.Object ∟ java .lang.Enum ... ) Additional JDK methods inherited from java .lang.Enum clone(), compareTo(E), describeConstable ... from java .lang.Object clone(), equals(Object), finalize(), getClass(), hashCode(), notify(), notifyAll

jakarta.persistence.GenerationType

Jakarta Persistence (JPA) Enum jakarta.persistence.GenerationType java .lang.Object ∟ java .lang ... Public Static Methods: values(), valueOf(String) Additional JDK methods inherited from java .lang ... (Class,String) Additional JDK methods inherited from java .lang.Object clone(), equals(Object), finalize

jakarta.persistence.LockModeType

Jakarta Persistence (JPA) Enum jakarta.persistence.LockModeType java .lang.Object ∟ java .lang.Enum ... from java .lang.Enum clone(), compareTo(E), describeConstable(), equals(Object), finalize ... (), toString(), valueOf(Class,String) Additional JDK methods inherited from java .lang.Object clone(), equals

jakarta.persistence.InheritanceType

Jakarta Persistence (JPA) Enum jakarta.persistence.InheritanceType java .lang.Object ∟ java .lang ... (), valueOf(String) Additional JDK methods inherited from java .lang.Enum clone(), compareTo(E ... inherited from java .lang.Object clone(), equals(Object), finalize(), getClass(), hashCode(), notify

jakarta.persistence.LockTimeoutException

Jakarta Persistence (JPA) Class jakarta.persistence.LockTimeoutException java .lang.Object ∟ java .lang.Throwable ∟ java .lang.Exception ∟ java .lang.RuntimeException ∟ jakarta.persistence ... . Since: Jakarta Persistence (JPA) 1.0 Additional JDK methods inherited from java .lang.Throwable

jakarta.persistence.ConstraintMode

Jakarta Persistence (JPA) Enum jakarta.persistence.ConstraintMode java .lang.Object ∟ java .lang ... (String) Additional JDK methods inherited from java .lang.Enum clone(), compareTo(E ... inherited from java .lang.Object clone(), equals(Object), finalize(), getClass(), hashCode(), notify

Step 3: Add a Main Class

tutorial; import javax.persistence.*; import java .util.*; public class Main { public static void main

Step 3: Add a Main Class

.persistence.*; import java .util.*; public class Main { public static void main(String[] args) { // Open

JPA Web Application Tutorial

This tutorial demonstrates how to create and run a database driven Java web application using Tomcat 6, ObjectDB and JPA. The demo web application manages a basic guestbook page. Every visitor can sign the guestbook by filling a simple form. The visitors that have already signed are listed

Step 3: Add a Context Listener Class

exactly that case sensitive class name. The Java package name should be guest. Click Finish

Getting Started with JPA - Eclipse Project

Eclipse: Right click the project node and select Run As Java Application . Select Main - point and click OK .

Step 1: Create a Web Project

We start by creating a new NetBeans Web Application Project: Open the [New Project] dialog box, e.g. by using File New Project... Select Java Web Web Application and click Next . Choose a Project Name (e.g. Guestbook ) and click Next . Select Apache Tomcat 6 as the Server. Note

Step 7: Run the Spring Web App

enabled without specifying a Java agent. This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual .