ObjectDB Database Search

101-150 of 200 results

NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1

.Method.invoke(Method. java :601) org.jboss.as. ee .component.ManagedReferenceMethodInterceptorFactory ... .Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor. java :135) org.jboss.as. ee .component ... .processInvocation(WeavedInterceptor. java :53) org.jboss.as. ee .component.interceptors

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

.processInvocation(ManagedReferenceMethodInterceptorFactory. java :72) [jboss-as- ee -7.1.1.Final.jar:7.1.1 ... (WeavedInterceptor. java :53) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final] at org.jboss.as. ee .component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory. java :36) [jboss-as- ee -7.1

Glassfish 4 AbstractMethodError: com.objectdb.jpa.EMF.createEntityManager

Hi! I've been trying to get Glassfish 4 ( Java EE 7) work with ObjectDB the whole day. It seems to be an error. The same code (adapted to Java EE 6) works perfect in Glassfish 3.1.2.2. I attached ... , method: public void com.mirq.controller.UserC.findUser( java .lang.Long) WARNING:   javax.ejb

system exception occurred during an invocation on EJB GuestDao

" Java EE 6 JPA Tutorial - Maven Project" and imported it into eclipse: same problem ... version that implements JPA 2.0 with JPA 2.1 (in a newer Java EE ). support Support ... occurred during an invocation on EJB GuestDao, method: public java .util.List guest.GuestDao.getAllGuests

Cannot cast com.objectdb.jpa.Provider to PersistenceProvider

Hi! I'm trying to get ObjectDB 2.5.1_1 work with stable Glassfish 4 in a Java EE 7 NetBeans ... .jpa.JPADeployer prepare method SEVERE:   java .lang.ClassCastException: Cannot cast com.objectdb.jpa.Provider to javax.persistence.spi.PersistenceProvider at java .lang.Class.cast(Class. java

JBoss 7 startup fails

together, and build 2.3.0_02 of ObjectDB should work with JBoss 7. You should use, however, only the Java EE ... guest and within the classes: Guest. java , GuestListener. java and GuestServlet. java The WebContent/META-INF dir contains: context.xml persistence.xml com.objectdb.jpa.Provider java :/DefaultDS

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

exception thrown when try to run explorer again?

_02/bin KadirBASOL:bin apple$ java -jar explorer.jar Exception in thread "AWT-EventQueue-0" java .lang.NoClassDefFoundError: javax/jdo/JDODataStoreException at com.objectdb.Explorer$1.run(Explorer. java :56) at java .awt.event.InvocationEvent.dispatch(InvocationEvent. java :251) at java .awt.EventQueue

Should I be able to persist a JFrame (or gui components in general)?

of Netbeans (and not having any separate Java EE stuff installed). What happened is I couldn't import ... Netbeans: go to top level project properties (my case GUIFormExamples) and add libraries. Add Java EE 6 ... trying this without paying attention... The exception was due to having chosen " Java EE 6 API Library

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)       

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

Online Backup

;backupQuery.setParameter("target", new java .io.File("c:\\backup"));     backupQuery ... argument is specified as a java .io.File instance and em represents a client-server connection

Date and Time in JPQL and Criteria Queries

- is evaluated to the current date (a java .sql.Date instance). CURRENT_TIME - is evaluated to the current time (a java .sql.Time instance). CURRENT_TIMESTAMP - is evaluated to the current timestamp, i.e

ObjectDB Overview

Features 100% pure Java Object-Oriented Database Management System (ODBMS). No proprietary API - managed only by standard Java APIs (JPA 2 / JDO 2). Extremely fast - faster than any other JPA / JDO

Is ObjectDB better than competing object databases?

support for the Java Persistence API (JPA). It also supports a more recent and advanced version of the Java Data Objects (JDO) API than competing object databases. By using a standard API such as JPA

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

.entity.Project com.greensoft.objectdb.test.mini.ejb.ExtProjectBuilder.buildProject( java .lang.String ... . java :2004) at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler. java :210) at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke

Database Schema Evolution

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

Database Explorer

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

Storing JPA Entity Objects

(). commit (); The Employee instance is constructed as an ordinary Java object and its initial state

Is ObjectDB better than Object Relational Mapping (ORM)?

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

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

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

JPA Query API

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

JPA Reference (JavaDoc)

This reference contains the API documentation (similar to JavaDoc) of the Java Persistence API (JPA) 2.0. The content is derived from the original JPA documentation (in the EclipseLink JPA 2 RI) with some additions and notes. The JPA types are organized into the following sections: The purpose

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

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:

SELECT clause (JPQL / Criteria API)

results more precisely can improve performance and in some cases can also reduce the amount of Java

Running JPA Queries

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

JPA Named Queries

A named query is a statically defined query with a predefined unchangeable query string. Using named queries instead of dynamic queries may improve code organization by separating the JPQL query strings from the Java code. It also enforces the use of query  parameters

Database Management Settings

are generated by running the Activator utility: $ java -cp objectdb.jar com.objectdb.Activator from

JPA Criteria API Queries

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

DELETE Queries in JPA/JPQL

the java .lang.Object  class in queries (as an extension to JPA), so the following query

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

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

Spring MVC JPA Tutorial - Maven Project

The  Spring MVC JPA tutorial provides step by step instructions on how to build a simple Java /JPA Spring MVC database driven web application in  Eclipse or  NetBeans . Building a new ... and install ObjectDB or a Java web server - Maven will download the ObjectDB jar and the Jetty

JPA Web App Tutorial - Maven Project

The  JPA Web Application tutorial provides step by step instructions on how to build a simple Java /JPA database driven web application (for Tomcat / Jetty) in  Eclipse or  NetBeans ... and install ObjectDB or a Java web server - Maven will download the ObjectDB jar and the Jetty

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

Step 3: Add a Context Listener Class

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

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 3: Add a Context Listener Class

Other... Web Listener and clicking Next . The Java package name should be guest. Enter GuestListener

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 .

Step 4: Add a Controller Class

In this step we will add a Spring Controller to manage guestbook web requests: Open the [New Java Class] dialog box by right clicking the guest package node (in the [Package Explorer] window) and selecting  New Class . The package name should be  guest . Enter  GuestController as

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

Spring MVC and JPA Tutorial

This tutorial demonstrates how to create and run a full Java Spring MVC (Model View Controller) web application using Tomcat (or GlassFish), JPA, ObjectDB and Maven. The demo web application manages a basic guestbook page. Every visitor can sign the guestbook by filling a simple form. All visitors

Step 1: Create a Maven Web Project

.2 enhance process-classes java com.objectdb.Enhancer guest.Guest org.mortbay.jetty maven-jetty

Getting Started with JPA - Eclipse Project

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