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.ClassCastException: CriteriaQueryImpl cannot be cast to java.util.List

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

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)       

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

Upgrade to Java 8 won't run

I've been using ObjectDB with Groovy 2.1 and Java 7 for nearly a year.  Today, I updated everything to the latest revs (Groovy 2.3.6, Java 1.8.0_25, and ObjectDB 2.5.7_05), and now ... .em = em   Exception in thread "main" java .lang.ExceptionInInitializerError at sun.reflect

ClassCastException on SELECT NEW ... after UPDATE over Java RMI

a Java RMI interface which allows remote RMI clients to run JPQL queries on the DB. The application ... 'NEW com.arunta.base.db.FileNameDTO(r.id, r.fileName)' (error 783) at java .awt.AWTEventMulticaster.mouseMoved(AWTEventMulticaster. java :330) at java .awt.Component.processMouseMotionEvent(Component

BTree 8 is not found at com.objectdb.o.JPE.d(JPE.java:91)

.objectdb.o.JPE.d(JPE. java :91) at com.objectdb.o.ERR.h(ERR. java :56) at com.objectdb.o.OBC.onObjectDBError(OBC. java :1582) at com.objectdb.jpa.EMImpl.commit(EMImpl. java :289) at server.database.AuDatabase ... .reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java :62) at sun.reflect

Error when using Object DB Java Agent

Hello! We are using the Java Agent while developing our application because it's not possible ... to instantiate [ch.qos.logback.classic.LoggerContext] Reported exception: java .lang.LinkageError: loader ... (AbstractSAXParser. java :1207) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser

Cannot initialize db after inserting a java.util.List

, but whenever I access the db through a servlet container I get this error:  objectdb. java .util.ArrayList ... .objectdb.o.InternalException: Unexpected internal exception at com.objectdb.o.TYM.au(TYM. java :976) at com.objectdb.o.MUT. (MUT. java :101) at com.objectdb.o.CLT. (CLT. java :38) at com.objectdb.o.MUT.w(MUT

type.loader java.lang.ClassNotFoundException

all) encountered classes: [2011-05-31 09:16:24 #5 type.loader] java .lang.ClassNotFoundException: com.greensoft.entity.Element at java .net.URLClassLoader$1.run(URLClassLoader. java :200) at java .security.AccessController.doPrivileged(Native Method) at java .net.URLClassLoader.findClass(URLClassLoader. java :188) at java

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

queries,  based on Java objects that represent query elements (replacing string based JPQL). JPA

JPA Metamodel API

The JPA Metamodel API, which is introduced in JPA 2.0, enables examining the classes, fields and properties of the persistent object model, similarly to the Java reflection API. The main interface of the JPA Metamodel API is: Types (mainly classes) and attributes (persistent field and properties

Database Schema Evolution

). Any other conversion that is a valid casting operation in Java . Renaming (Package, Class and Field

Chapter 3 - Using JPA

This chapter explains how to manage ObjectDB databases using the Java Persistence API (JPA). The first two pages introduce basic JPA interfaces and concepts: The next section explains how to use JPA for database CRUD operations: More advanced topics (e.g. locking and events) are discussed in the last section:

Database Connection using JPA

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 functionality for performing operations on a database. Many applications require multiple database

Running JPA Queries

and the warning is avoided. The query result collection functions as any other ordinary Java collection

BIRT/ODA ObjectDB Driver

with BIRT and JPA tutorial. Driver Installation The driver is available as an Eclipse for Java EE

JPA Annotations

JPA defines dozens of annotations that can be divided into the following groups: Annotations for JPA aware classes: Annotations for fields in JPA persistable classes: Annotations for additional JPA configuration: Annotations for JPA lifecycle event callbacks: Java EE container annotations: Many

JPA Criteria API Queries

, are defined by the instantiation of Java objects that represent query elements. A major advantage

Database Explorer

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

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 ... 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

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.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

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

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

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.TypedQuery

. Returns Integer. java .lang.Integer/MAX_VALUE if Query.setMaxResults was not applied to the query object ... java .time . Since: Jakarta Persistence (JPA) 1.0 TypedQuery setParameter ( Parameter param , Date value ... defined in java .time . Since: Jakarta Persistence (JPA) 1.0 TypedQuery setParameter ( String name

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 ... -written code should use the date/time types defined in java .time . Since: Jakarta Persistence (JPA) 2.0

java.lang.NullPointerException during access a field, only if the classes enhanced

exception at com.objectdb.o.JPE.h(JPE. java :168) at com.objectdb.o.ERR.f(ERR. java :66) at com.objectdb.o.IVP.m(IVP. java :155) at com.objectdb.o.IVP.l(IVP. java :137) at com.objectdb.o.ISP.size(ISP. java :174) at java .util.HashSet. (Unknown Source) at com.btc.ep.profilemigration.migrators.architecture

Unexpected Exception (java.lang.NullPointerException: Cannot invoke "com.objectdb.o.ORS.Z9())

.ORS.Z9()" because " " is null at com.objectdb.o.MSG.a(MSG. java :77) at com.objectdb.jpa.EMImpl.commit(EMImpl. java :297) at de.advolux.jpa.network.rmi.session.StandAloneDatabaseConnector.EndTransaction(StandAloneDatabaseConnector. java :803) at de.advolux.jpa.network.rmi.session.StandAlonePM

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 ... (String) Additional JDK methods inherited from java .lang.Enum clone(), compareTo(E), describeConstable ... 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

- use 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 .