ObjectDB Database Search

1-50 of 151 results

Database Transaction Replayer

to it. The tool's main class is com.objectdb.Replayer . The required argument is the path to the database

Exception in thread "main" java.lang.NoSuchFieldError: __odbTracker

filed is initialised i got an exception   Exception in thread " main " java.lang.NoSuchFieldError ... . (Network.java:95) at com.package.EnhancementTest. main (EnhancementTest.java:14)   Network class

Unable to convert 1.x odb file to 2.x

- 2.0 file conversion Exception in thread " main " java.lang.RuntimeException: Internal Exception ... .ConvertManager. main (ConvertManager.java:161) at com.objectdb.Converter. main (Converter.java:26 ... ). The interesting exception in it was this: Exception in thread " main " com.objectdb.o.TEX: Type [Ljava

Filename.odb$ Persisting Issue

and have a main function that looks like this... public static void main (String[] args) { launch(args ... (below) public static void main (String[] args) {   launch(args);   departmentDB.close ... simple as I can make it. public class Main extends Application { private static EntityManagerFactory

Step 6: Set the Spring XML

another xml configuration file. Open the  web.xml file (under src/ main /webapp/WEB-INF) in a text ... XML File and click  Next . The parent folder should be Guestbook/src/ main /webapp/WEB-INF. Enter

Step 1: Create a Java Project

We start by creating a new NetBeans Project: Open the [New Project] dialog box, e.g. by using File New Project... Select Java Java Application and click Next . Choose a Project Name (e.g. Tutorial ). The name of the Main class should be tutorial. Main . Verify that exactly this case sensitive fully

Database size is much larger than expected (x2)

_599028.jpg Exception in thread " main " [ObjectDB 2.2.9_03] javax.persistence.RollbackExcepti on Failed ... .URIReader.read(URIReader.java:84)         at image.URIReader. main ... _22a1404.jpg Exception in thread " main " [ObjectDB 2.2.9_03] javax.persistence.RollbackException Failed

Schema-Update: Rename superclass and remove one subclass

: Generate Database public static void main (String[] args) { EntityManagerFactory emf = Persistence ... example: public static void main (String[] args) { // no drop - reuse the existing file ... ; If we try to ecexute a Query (in the second main method): TypedQuery q = em.createQuery("SELECT c

OEM: Too many persistable types (>10) - exceeds evaluation limit (error 1011)

static void main (String[] args){ // todo start JdoDatabase jdoDatabase = new JdoDatabase(JdoEntity ... .moxydox.server. Main .startOffloadJavaFx( Main .java:522) at com.unilogical.moxydox.server/com.unilogical.moxydox.server. Main .lambda$start$3( Main .java:337) at com.unilogical.moxydox.server/com.unilogical

Problem with distinct select, order by and equivalent alias/attribute path

class Main {     private static final List locations = Arrays.asList(    ... static void main (String[] args) {         EntityManagerFactory emf ... ) at de.solvit.objectdbtest. Main . main ( Main .java:105) Caused by: com.objectdb.o.UserException: Invalid order

OneToMany and cascade delete problem

contains URL of product that I can parse for price. But this is not important here :) The main ... " main " [ObjectDB 2.x] javax.persistence.EntityNotFoundException Entity is not found: com.objectdb.test ... .listStoresProducts(T501.java:87) at com.objectdb.test.bug.forum.T501. main (T501.java:73) I think that the Offer class

Broken @ManyToOne reference

. Please run the main () in the testobjectdb. Main class. In this method: # in a transaction ... should be adjusted:     // Child child = em.find(Child.class, Main .CHILD_ID);   ... ).getSingleResult(); because  Main .CHILD_ID is only part of the primary key now. support Support Hi support

Tutorial issue

the project in Step 1; Here's the output; Exception in thread " main " [ObjectDB 2.5.4_04] javax.persistence ... ) at com.objectdb.jpa.JpaQuery.getSingleResult(JpaQuery.java:754) at tutorial. Main . main ( Main .java:29

Enhancer failure: Failed to process class file of type

; at com.objectdb.Enhancer. main (Enhancer.java:33) Caused by: com.objectdb.o.UserException: Failed ... ; main = 'com.objectdb.Enhancer'   classpath = sourceSets. main .runtimeClasspath   args '-cp', 'src/ main /groovy', 'app.framework.AuEntity', 'app.model.*' } compileGroovy.finalizedBy ( enhance

Server connection management

.java:107) at com.objectdb.Server. main (Server.java:66) It would be useful to have a configuration ... replicated servers that can be connected automatically by the client (in read only mode) in case the main ... .objectdb.Server. main (Server.java:66) felixobjectdb Richard Szurgot I just ran a quick test

PersistenceManager.getObjectsById(Collection,boolean) throwing JDOException

is expected: Exception in thread " main " [ObjectDB 2.2] javax.jdo.JDOUserException Failed to find ... .jdo.PMImpl.getObjectsById(PMImpl.java:535) at com.objectdb.test.bug.T296. main (T296.java:21 ... .java:535) at com.objectdb.test.bug.T296. main (T296.java:21) [ObjectDB 2.2] javax.jdo

ClassNotFoundException messages in the log file

. Main .startOffloadJavaFx( Main .java:511) at com.unilogical.moxydox.server/com.unilogical.moxydox.server. Main .lambda$start$3( Main .java:326) at com.unilogical.moxydox.server/com.unilogical.moxydox.server

Step 4: Run the Application

You can run the application now by right clicking the Main node (in the [Projects] window) and selecting Run File . The expected output in the [Output] window, is: Total Points: 1000 Average X: 499.5 (0,0) (1,1) (2,2) (3,3) : : (998,998) (999,999) When you run the application for the first time

Step 2: Define a JPA Entity Class

 a Main class that stores and retrieves instances of the Point entity class.

Step 2: Define a JPA Entity Class

. The next step is adding a Main class that stores and retrieves instances of the Point entity class.

JPA Web App Tutorial - NetBeans Project

Project . Run the project: Select Run Run Main Project... (or F6 ). Choose or define the server and click

Step 1: Create a Maven Web Project

of the new created project is contained in a  pom.xml file that was created in the project main

Step 6: Set the Spring XML

-servlet as the File Name. The Folder should be src\ main \webapp\WEB-INF. Click Next and then Finish

ClassCastException of same object type

and retrieving objects ok in the main project. However, when I make a plugin for the project, the new ... relating to objectdb from the supplementary plugin to the main plugin plus a few fixes allowed ... on who uses the application. So the classes cannot be in the main plugin. The next option

Possible cause for "Enhancement of type ... is old and cannot be used"

: Failed to set numeric value of field property Element.id using reflection However, in my main real-world ... .9 I have just very carefully checked it with my main (real-world) very large web app ... am NOT using currently at all in my main real-world web app).           webel

Problem with byte arrays in JDO - internal exception

ObjectdbTest { /** * @param args the command line arguments */ public static void main (String[] args ... */ public void setData(byte[] data) { this.data = data; } } Exception in thread " main " [ObjectDB 2 ... .ObjectdbTest. main (ObjectdbTest.java:42) sjzlondon Steve Zara There was a bug in handling JDO delete

zip file or JAR manifest missing

thread " main " [ObjectDB 2.2.5] javax.persistence.PersistenceException Type ItemList is not found ... (txt2db.java:82) at src.run.txt2db. main (txt2db.java:57) Caused by: com.objectdb.o.TEX: Type ItemList ... ; SingleManager.close(); } public static void main (String[] args) {   SingleManager.clearDB("Page

Does ObjectDB support lazy loading?

void main (String[] args)   { String path = "test.odb"; EntityManagerFactory emf = Persistence ... Thanks for your quick response. Your example works, but then I change the main method as follow ... )]. Why it fails after the DB is re-opened? public static void main (String[] args)  {    

Problem with byte arrays in JDO - ClassCastException

of a Query: Exception in thread " main " java.lang.ClassCastException: java.lang.Boolean cannot be cast to [B at spiffy.test.ObjectdbTest. main (ObjectdbTest.java:44) package spiffy.test; import java.util ... line arguments      */     public static void main (String[] args

Internal exception when updating date filed (TemporalType.DATE)

. main (OdbDateBugTestCase.java:27) Caused by: com.objectdb.o.InternalException at com.objectdb.o ... .updatePersonsBirthday(DataManager.java:42) at odbdatebugtestcase.OdbDateBugTestCase. main (OdbDateBugTestCase.java ... ;   public static void main (String[] args) {        

Source not found error after downloading ObjectDB 2.3.7_04

.PersistenceManager; import javax.jdo.PersistenceManagerFactory; public class Main {    ... ; public static void main (String[] args) {         Employee

persisting object with long[][] arrays of array

;   return ret;     }     public static void main (String[] args ... ; return ret;     }     public static void main (String[] args) {  

EntityManager.merge gives EntityNotFoundException

for your assistance. Full error output is: Exception in thread " main " [ObjectDB 2.3.4] javax.persistence ... (EMImpl.java:456) at classdb.Test. main (Test.java:32) thepigs Matt Pepar You are right, merging non

Missing Data on Retrieval (0, null values)

support of polymorphism, type checking, etc.) is one of the main benefits of using JPA and by generating ... available you will still get an object that you can explore using reflection. The main idea of an object

Connection is closed Caused by: java.io.EOFException

:107) at com.objectdb.Server. main (Server.java:66) So the maximum of 100 connections has been exceeded ... ;  public static void main (String[] args) {        

Need help to make this test work and define proper annotations for entities Lists

void main (String[] args) {         Tester t = new Tester();   ... message: order.name: customer name Exception in thread " main " [ObjectDB 2.x] SELECT ord FROM  == OrderF

Storing objects problem

that you have described. support Support Main class:      EntityManagerFactory emf ... .persistence.*; public class Test { public static void main (String[] args) {   DeviceT router

EntityManager getMetamodel() causes crash

(" EntityType: " +e.getName())); : ObjectDB returns with: Exception in thread " main " com.objectdb.o ... */ public class MyTestCase { public static void main (String[] args) { EntityManagerFactory emf

[ObjectDB 2.6.0_04] Unexpected exception (Error 990) com.objectdb.jpa.JpaQuery.getResultList

. Main .invokeFramework( Main .java:648) at org.eclipse.equinox.launcher. Main .basicRun( Main .java:603) at org.eclipse.equinox.launcher. Main .run( Main .java:1465) at org.eclipse.equinox.launcher. Main . main ( Main

new database error

Exception in thread " main " [ObjectDB 2.7.3] Unexpected exception (Error 990) Generated by Java HotSpot(TM) Client VM 1.8.0_31 (on Windows 8.1 6.3). Please report this error on http://www.objectdb ... . (AddAgentSkill.java:29) at org.radius.app. Main . main ( Main .java:30) Caused by: java.io

NullPointer when accessing persistent field

.runner.RemoteTestRunner. main (RemoteTestRunner.java:197) If the stack trace is no use I can send a zip ... class T544 {         public static void main (String[] args) {   ... .RemoteTestRunner. main (RemoteTestRunner.java:197)   As before a Map structure was being accessed. @OneToMany

"is not null" queries not working with index

; import javax.persistence.Persistence; public class Main {     public static void main (String

Strange Error with Criteria API and Sorting

.Join; import javax.persistence.criteria.Root; public class Test_OrderBy { public static void main ... ; this.other = other;   } } } And here's the output: Exception in thread " main " [ObjectDB 2.4.4_08

Unexpected exception (Error 990) com.objectdb.o.InternalException

main (String[] args) {         EntityManagerFactory emf =   ... .*; public final class T1620 {     public static void main (String[] args) {   

combined index not used

. Currently this is done by running a special query:     public static void main ... { public static void main (String[] args) throws Exception { System.setProperty("objectdb.temp

Remove of an entry from a @OneToMany collection is not possible if the enhancer is disabled

final class ChildEntityRemoveProblem { public static void main (String[] args) {   ... {     public static void main (String[] args) {        

docker documentation

Activation { static void main (String[] args) { PipedOutputStream piped = new PipedOutputStream() System.setIn(new PipedInputStream(piped)) Thread.start { Activator. main (args) } sleep(100) piped.println

Can not have unique index on Byte Array

== iWbldTBdz3etGCqHspWw3Q== Exception in thread " main " [ObjectDB 2.7.4_05] javax.persistence.RollbackException Failed ... .objectdb.ObjectDbTest. main (ObjectDbTest.java:19) Caused by: javax.persistence.PersistenceException: com

Eager Fetch of Map with Entities as Keys

main (String[] args) {         EntityManagerFactory emf =   ... .EMImpl.find(EMImpl.java:474) at T618. main (T618.java:26)   support Support

[ObjectDB 2.2.6_02] Unexpected exception (Error 990) at com.objectdb.o.OBC.aJ(OBC.java:961)

.ReproduceTest.performTest(ReproduceTest.java:61) at com.reproduce.error.ReproduceTest. main (ReproduceTest ... static void main (String[] args) { // initialise ReproduceTest test = new ReproduceTest(); TimePeriod