Internal Website Search

51-100 of 200 results

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

= oldValue; } Result: on persistence an error occurs: Persist project.. Exception in thread " main ... .console. Main .createProject( Main .java:129) at com.greensoft.objectdb.test.console. Main .run( Main .java:250) at com.greensoft.objectdb.test.console. Main . main ( Main .java:274) Caused by: javax.persistence

Optimistic locking failure

Thread[Thread-2,5, main ] READ  A1 version=1 value=0 Thread[Thread-2,5, main ] READ  B2 version=1 value=0 Thread[Thread-2,5, main ] WRITE A1 version=2 value=10 Thread[Thread-3,5, main ] READ  A1 version=2 value=10 Thread[Thread-3,5, main ] READ  B2 version=1 value=0 Thread[Thread-3,5, main

ObectDb 2.3.6 in OSGi environment

(RemoteTestRunner.java:390) at org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner. main ... ) at java.lang.reflect.Method.invoke(Method.java:601) at org.eclipse.equinox.launcher. Main .invokeFramework( Main .java:629) at org.eclipse.equinox.launcher. Main .basicRun( Main .java:584) at org.eclipse

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

.EMF.createEntityManager(EMF.java:253) at tutorial. Main . main ( Main .java:22) Caused by: com.objectdb.o ... .util.*; public class Main { private static boolean WRITE_DATA_TO_DATABASE = false; public static void main (String[] args) {   EntityManagerFactory emf = null;   EntityManager em = null

Updating Entities

- All have been verified to be passed   Main .paygradeDB.getTransaction().begin();   this.rate = rate;   Main .paygradeDB.getTransaction().commit();   return true; } } Each of these Entities are managed in Main public class Main extends Application { private static EntityManagerFactory emf

Eclipse plugin problem (using ObjectDB as a separate bundle)

.launcher. Main .invokeFramework( Main .java:620) at org.eclipse.equinox.launcher. Main .basicRun( Main .java:575) at org.eclipse.equinox.launcher. Main .run( Main .java:1408) at org.eclipse.equinox.launcher. Main . main ( Main .java:1384) In an attempt to isoloate the problem I cleaned by project, and enhanced

Type ... is not defined as an entity (@Entity is missing) (error 302)

.launcher. Main .invokeFramework( Main .java:620) at org.eclipse.equinox.launcher. Main .basicRun( Main .java:575) at org.eclipse.equinox.launcher. Main .run( Main .java:1408) at org.eclipse.equinox.launcher. Main . main ( Main .java:1384)   The CultureRqst is shown below: package com.epimss.lab.data.bacti import

Error 363 - Failed to read value of inverse relationship

. main (RemoteTestRunner.java:197) Caused by: com.objectdb.o.UserException: Failed to read the value ... to these two classes also a main with the failed query and a database (or code in the main ... and GlassFish 3.1. I have attached my NetBeans 7.0 project to this email. It is a test project and not the main

ClassCastException: cannot be cast to com.objectdb.spi.TrackableUserType

. main .logException( "com.epimss.lab.db.Connection.store(instance)", e ) } finally { if( transaction ... .launcher. Main .invokeFramework( Main .java:620) at org.eclipse.equinox.launcher. Main .basicRun( Main .java:575) at org.eclipse.equinox.launcher. Main .run( Main .java:1408) at org.eclipse.equinox.launcher. Main

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

Remove not working

exception: import java.util.*; import javax.persistence.*; public class T1772 { public static void main ... PersistenceManager persistenceManager; public static void main (String[] args) throws Exception ... is: Running Test ... ignoreCache is true. Exception in thread " main " java.lang.Exception: ignoreCache

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

Fantom

{ Void main () { Persistence .createEntityManagerFactory ("./db1.odb") .createEntityManager ... .EMImpl.commit (EMImpl.java:279) FodbTest::OdbTest. main (OdbTest.fan:12) fan.sys.FanObj.with (FanObj.java:159) FodbTest::OdbTest. main (OdbTest.fan:9) java.lang.reflect.Method.invoke (Method.java:597) fan

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

Unable to persist TreeMap

;//----------------     public static void main (String[] args) {    ... ;} // main //---------------- } //Test Produces console output: Created memberships: {Bar Association ... ; Person Created key: Bar Association value: President Exception in thread " main " java.lang

Embedded Entity in EmbeddedId not persisted. Error 631 at select.

;public static void main (String[] args) {         String dbName ... + "]";         }     } } --- 19:05:31.423 [ main ] DEBUG org.jboss.logging - Logging Provider: org.jboss.logging.Log4j2LoggerProvider 19:05:31.463 [ main

BeanCreationException in spring data JPA with objectDB

.java:213) at org.apache.maven.cli.MavenCli. main (MavenCli.java:157) at sun.reflect ... :415) at org.codehaus.plexus.classworlds.launcher.Launcher. main (Launcher.java:356) [WARNING] Failed ... /rajasekhar/Downloads/guestbook-spring/src/ main /webapp} javax.servlet.ServletException: org.springframework

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

Connection is closed (error 526)

. Exception in thread " main " [ObjectDB 2.2.7_08] javax.persistence.PersistenceException Connection is closed ... .java:54) at src.run.testNodes.getSonsAll(testNodes.java:191) at src.run.testNodes. main (testNodes ... the c/s model to local DB, then I get: Exception in thread " main " java.lang.OutOfMemoryError: Java heap

Error 613 - i cant put a list into a Squad object

to get this straight till end of week. i uploaded also all classes but if u see the problem in the main problem ... the Athletes into a squad it brings up an exception. so the problematic line would u find int the main class line number 19 squad.setAthlets(x); my Exception: Exception in thread " main " [ObjectDB 2.2.0

Intermittent Exception "Attempt to update types in read only mode"

I have a master/slave(s) setup and I am finding on the slaves that the slave client will get this message when trying to establish an EntityManager to the slave: Exception in thread " main " [ObjectDB ... ) at com.x. Main .start( Main .java:79) at com.x. Main . main ( Main .java:48) Caused by: com.objectdb.o

Empty query results after JAR creation

some data. The main class of the test case looks like this:      ... (             "src/ main /resources/TravelDB.odb ... =         Persistence.createEntityManagerFactory("src/ main

Should derived fields of an EmbeddedId be manually maintained by app code?

.MainCompoundKeys. main (MainCompoundKeys.java:148) Unexpetced error com.objectdb.o.InternalException ... one main class with a runnable main method and use static inner classes for the persistable types ... classes in separate files apart from the top container entity which has the main method

JPA - ExceptionInInitializerError when creating EntityManager

Please see my code of fragment from my project.   public class Main { final private static Properties ... .getValue(); emTemp.close(); emf.close(); } //Empty Constructor public void Main () { } public static void main (String[] args) { new Main (); } My project was was running successfully but All of sudden

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

"Attempt to lock a non entity object" error

Exception in thread " main " [ObjectDB 2.4.7_15] java.lang.IllegalArgumentException Attempt to lock a non ... .lock(EMImpl.java:753) at Test. main (Test.java:34) at Enhance. main (Enhance.java:7) import javax ... ;  public static void main (String[] args) {        

Schema Update: class hierarchy change

.EntityManagerFactory; import javax.persistence.Persistence; public final class Test { public static void main (String ... to BaseEntity: [Please note the changes in the Main method] package profileMigration.classhierachychange ... final class Test { public static void main (String[] args) {   System.out.println("start");  

500Mb ObjectDb database opening issue

of log4j completed. 1/23/2016 15:38:42.3842: INFO : (AppMain.java:34 thread:main): main (): Java version used:1.8.0_66x32 1/23/2016 15:38:42.3842: INFO : (AppMain.java:35 thread:main): main (): PA3 ... thread:main): main (): Java version used:1.8.0_66x32 1/23/2016 15:42:35.4235: INFO : (AppMain.java:35

@Unique member combination not working

;    }     } } Main public static void main (String[] args) {   ... ; public static void main (String[] args) {         Person p1 ... , as expected, is: Exception in thread " main " [ObjectDB 2.x] javax.persistence.RollbackException Failed

Start ObjectDB inside java code.

, you should be able to run it also from your own code by calling the main method directly:     com.objectdb.Server. main (...); See also an option to use an embedded-server mode ... .Server. main   (test) ; And it work, but as soon as i try something like :   String [] test

Remove an entity which attributes were changed - OptimisticLockException

created an OSGi example for eclipse mars, with plugins com.btc.ep.base.dal.tests.it and main ... .RemoteTestRunner. main (RemoteTestRunner.java:192) support Support Please execute the unit test ... void main (String[] args) {         EntityManagerFactory emf =  

EM close causes an exception

parallel until: flush: 250000 flush: 260000 flush: 270000 Exception in thread " main " java.lang ... : 40000 flush: 50000 flush: 60000 flush: 70000 flush: 80000 Exception in thread " main " [ObjectDB 2.8.7_07 ... /pages0.dat' (error 117) at smallTests.PersistManyEntitiesInOwnDatabase. main

Enhancement Check

void main (String[] args) {         EntityManagerFactory emf = Persistence ... ; is set in the correct configuration file? support Support Exception in thread " main " com.objectdb.o ... .EMImpl.persist(EMImpl.java:415)     at smallTests.F2412. main (F2412.java:29) btc_es

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

which failed to start: service jboss.module.service."deployment.guestbook.war". main : org.jboss.msc.service.StartException in service jboss.module.service."deployment.guestbook.war". main : Failed to load module ... .guestbook.war\". main " = "org.jboss.msc.service.StartException in service jboss.module.service

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

ClassCastException in Tuple.get

with ClassCastException . Exception in thread " main " java.lang.ClassCastException: com.objectdb.jpa.criteria.PathImpl cannot be cast to com.objectdb.o.TPE at com.objectdb.o.TPL.get(TPL.java:91) at Main . main ( Main ... . Thus, getting tuple element by its Join results in ClassCastException : Exception in thread " main

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

/objectdb/GreensoftObjectdbTestNoweb.2016-08-15.GS4230.tgz com.greensoft.objectdb.test.console. Main ... within entity packages): The entity model is built and persisted in Main in protected void ... .. ****** Create Project and Element model ... ****** Persist project.. Exception in thread " main

[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

Inverse OneToMany Mapping and EmbeddedId

main ( String [] args ) {          String dbName ... ;       }      } }   --- 13:32:52.428 [ main ] DEBUG org.jboss.logging - Logging Provider: org.jboss.logging.Log4j2LoggerProvider 13:32:52.558 [ main ] INFO org

ObjectDB BIRT Driver Update

(Unknown Source) at org.eclipse.equinox.launcher. Main .invokeFramework( Main .java:669) at org.eclipse.equinox.launcher. Main .basicRun( Main .java:608) at org.eclipse.equinox.launcher. Main .run( Main .java:1515) at org.eclipse.equinox.launcher. Main . main ( Main .java:1488) CAPdev CAP Dev This stack trace doesn't

Getting an error when adding activation code to conf file

.createEntityManagerFactory(Persistence.java:55) at pgtester.ObjectDBPopulator. main (ObjectDBPopulator.java:20) Exception in thread " main " java.lang.ExceptionInInitializerError at com.objectdb.o.UNM$f. (UNM.java:167 ... .ObjectDBPopulator. main (ObjectDBPopulator.java:20) Caused by: com.objectdb.o.InternalException at com

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

Update query bug

(); ---------------------------------------- Exception in thread " main " [ObjectDB 2.4.3] Unexpected exception (Error 990) Generated by Java ... .java:262) at ui.CmdUI.start(CmdUI.java:79) at main . Main . main ( Main .java:22)   Martynas Martynas

Unexpected Exception during commit

:295) at org.apache.catalina.startup.Bootstrap. main (Bootstrap.java:433) I also get the following ... ) at com.objectdb.Server. main (Server.java:66) java.lang.NullPointerException at com.objectdb.o.CFG.t(CFG ... .objectdb.Server. main (Server.java:66) Exception in thread " main " java.lang.NullPointerException at com

Unexpected exception during query, if entity is not enhanced

is active. And we got an unexpected exception in our main thread. Do you know why? We had expected ... unintentionally in a parallel thread as entity structure in our main database by persist a TCVector whose transaction was rollback. Only the entity model structure of TCVector remains in the main database

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