ObjectDB Database Search

101-150 of 200 results

Query on Embedded Primary Key?

;     public static void main (String[] args){         ... ; Exception in thread " main " java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to DBbug.OBJ2$Primkey2 at DBbug.OBJ2. main (OBJ2.java:37) Java Result: 1       EKK Emmanuel

Calendar in Criteria Querys

.criteria.*; public final class T615 {     public static void main (String[] args) {   ... get the folling error: Exception in thread " main " [ObjectDB 2.3.4] Unexpected exception (Error 990)   ... ) at TestCase. main (TestCase.java:35) suez Tobias You are right. The parameter value

Strange behaviour with ORDER BY and IN

; }     } This main class demonstrates the described behaviour: package de.solvit ... .persistence.EntityManagerFactory; import javax.persistence.Persistence; public class Main {     ... ;   public static void main (String[] args) {        

Using the wrong class to access a database

; // imports public class Main { public static void main (String[] args) { run(); } static void run ... , but the third ruins the database. Tried and got: Exception in thread " main " java.lang

evictAll() behavior

) and there is a result OBJECTDB OUTPUT: main --testDbProvisioning Cache size before COMMIT/BEGIN= 1 transient transient ... ; VERSANT OUTPUT: main --testDbProvisioning Cache size before COMMIT/BEGIN = 280 persistent-new hollow ... and objects states are correct now, but evict still does not work   main --testDbProvisioning Cache

Primary key generation problem after changing entity package

.forum; import javax.persistence.*; public class T719 {     public static void main ... objectdb.jar - lib/). Now when I try to run test again I get error : Exception in thread " main " [ObjectDB ... .persist(EMImpl.java:378) at homplex.boostrap.T719. main (T719.java:22) Caused by: com.objectdb.o

Exception when querying Map property with @embedded & Enhancer enabled

.EntityManagerFactory; import javax.persistence.Persistence; public class TestEmbeddableMap { public static void main ... ; Exception in thread " main " [ObjectDB 2.6.4_03] javax.persistence.PersistenceException Failed to write ... .objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:725) at TestEmbeddableMap. main (TestEmbeddableMap

using DbUnit with ObjectDb

().getAccessor().getConnection(), "PUBLIC"); but with objectDb this gives: Exception in thread " main ... think that the main limitation of this approach is that it is limited to small data sets that can fit into the main memory, doesn't it? Can you use it to load many GBs of data? If you load the data

Enhancement from gradle build file

David Moshal The following seems to work: task enhance(type: JavaExec) {   main = 'com.objectdb.Enhancer'   classpath = sourceSets. main .runtimeClasspath   args '-cp', 'src/ main /groovy

java.lang.NoClassDefFoundError: java/time/LocalDate

thread " main " [ObjectDB 2.8.6] Unexpected exception (Error 990) Generated by Java HotSpot(TM) Client ... .Main2. main (Main2.java:12) Caused by: java.lang.ClassNotFoundException: java.time.LocalDate at java ... .java:358) ... 15 more by the way, the following codes runs OK. public static void main (String[] args

How to disable use of graphic windows by objectDB

:223) at com.objectdb.Server.run(Server.java:107) at com.objectdb.Server. main (Server.java:66) Caused by ... .objectdb.Server. main (Server.java:66) Caused by: java.net.UnknownHostException: GhostRider: Name or ... .objectdb.Server.run(Server.java:107) at com.objectdb.Server. main (Server.java:66) Caused by: java.net

EntityTransaction.commit() does not release a pessimistic lock

+= a; } } // Main .java package icke; import javax.persistence.*; import java.io.File; import java.util ... ; import java.util.concurrent.TimeUnit; public class Main { public static void main (String[] args

Request clarification of changes to accessor enhancement policy (non-getter prefix instead of getter suffix) AND annotations

, I prefer the new policy, however this has major consequences for my main web app development (broke ... a substantial migration in my main web app because of this change (as a side-effect of that fact that the old ... and it definitely used the old policy. The main point of this posting is to emphasise that annotations

PersistenceException: Failed to locate field

the problem. Exception in thread " main " java.lang.ExceptionInInitializerError Caused by: com ... . support Support ok, so problem resolves if I add programmatic enhancement: static void main ( args ... there first or have a proxy class which calls the main class, if I recall that was the recommended

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

Distinct Error

. 11:30:49.764 [ main ] ERROR c.c.handlers.SearchRequestHandler - Exception thrown during search request ... (RemoteTestRunner.java:390) [.cp/:na] at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner. main

Join performance in Objectdb

")     public static void main (String[] args) {        ... ;  public static void main (String[] args) {        

Issue with compile time enhancement

.AbstractMethodError: com.paceap.eden.jpa. main .Terms.__odbGetTracker()Lcom/objectdb/spi/Tracker; at com.objectdb.o ... .BootstrapTerms.loadDefaultTerms(BootstrapTerms.java:85) at com.paceap.migrator.eden.Migrator. main

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

I've seen this error in another thread, but there was no explanation for fixing the problem. I am using objectdb-2.8.7. Here is the stack trace. Exception in thread " main " [ObjectDB 2.8.7 ... .JavaObjectDBApp. main (JavaObjectDBApp.java:14) Caused by: java.lang.ClassNotFoundException: java.sql.Date

Starting Explorer programmatically

;   dmoshal David Moshal The Explorer is a Java program, so you can simply call its main method from your program:     com.objectdb.Explorer. main (new String[0]); support Support

"Unexpected query expression" using CriteriaQuery FetchParent Interface

with a test case. support Support public class App { public static void main (String[] args) {   ... thread " main " [ObjectDB 2.5.6_05] javax.persistence.PersistenceException Unexpected query expression

How to package orm.xml when using EJB in WAR?

;     both persistence.xml and orm.xml are located in src/ main /resources/META-INF ... -around seems to be to add a copy of orm.xml into src/ main /resources/META-INF of the web project that depends on the EJB

Size of recording directory keeps growing

, a hundred times bigger that the main database file (*.odb .. 182 MB). My question: How to limit ... ; Below are sizes of our database files: Main database: nef@l1:~/objectdb$ ls -lah db/cloudai/genose.odb -rw-r

Date field Index is corrupted due to time change

;      public static void main (String[] args)  {      

Standalone server needs dependencies?

.createEntityManager(); and it threw the exception  Exception in thread " main " [ObjectDB 2.8.3] javax.persistence ... . main (ODBService.java:119) Caused by: com.objectdb.o.UserException: Failed to locate set method

Query all objects that implements a given interface - is that possible?

thread " main " [ObjectDB 2.5.1_05] javax.persistence.PersistenceException Attempt to define unbound ... .Signal_Base. main (Signal_Base.java:176) Caused by: com.objectdb.o.UserException: Attempt to define

Issue with TYPE expression in Criteria API

.test.virtual.model.MyCustomer $1 WHERE TYPE($1)=class com.test.model.Customer Exception in thread " main ... :675) at com.test.TestRun.test01(TestRun.java:68) at com.test.TestRun. main (TestRun.java:28) Caused ... .persistence.criteria.Root; public class T605 {     public static void main (String[] args

Tracking changes to new collections (in enhancement mode) after flush

;  public static void main (String[] args) {             ... Support We have an example:   public class MappingTest { public static void main (String[] args ... ;public static void main (String[] args) {              

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

:715) at objectdb/com.objectdb.jpa.EMF.createEntityManager(EMF.java:149) at tutorial/tutorial. Main . main ( Main .java:19) Caused by: java.lang.ClassNotFoundException: java.sql.Date at java.base/jdk

query.getResultList() throws ClassCastException

.getResultList(JpaQuery.java:665) at point. Main . main ( Main .java:52) ryan.gustafson Ryan Gustafson

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

). Darren PS: We do not want to have to fork our main web application to go through it and tediously ... changes in my main project (although these won't hurt switching between ObjectDB and EclipseLink, we want to keep that option open if possible until the evaluation runs and is proven on our main web app

"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

Navigation through lazy loading from Detached Objects

A main limitation of detached objects (as explained on the Detached Entities manual page) is: Retrieval by navigation from detached objects is not supported, so only persistent fields ... {     public static void main (String[] args) {       

unexpected exception

I received the following exception while trying to process a query: Exception in thread " main " [ObjectDB 2.0.4_01] Unexpected exception (Error 990) Generated by Java HotSpot(TM) Server VM 1.6.0_22 ... .MessageDB. main (MessageDB.java:68) zepinto Jose Pinto Closed as duplicate of Issue #107 . support Support

[ObjectDB 2.3.7_25] Unexpected exception (Error 990)

:163) at com.objectdb.Doctor. main (Doctor.java:22) [ObjectDB 2.3.7_25] null lorenz2304 Benjamin Lorenz ... .o.DMR.D(DMR.java:286) at com.objectdb.o.DMR.B(DMR.java:163) at com.objectdb.Doctor. main (Doctor.java