About main

161-170 of 200Refresh
Forum
1

ObjectDB Enhancer Tool in Java 9

.main(Enhancer.java:32) Exception in thread "main" java.lang.ExceptionInInitializerError at com.objectdb/com.objectdb.o.JEN.(JEN.java:67) at com.objectdb/com.objectdb.Enhancer.main(Enhancer.java ... .o.JEN.m(JEN.java:101) at com.objectdb.Enhancer.main(Enhancer.java:33) Caused by: com.objectdb.o
Forum
1

ODB tries to create log files inside its own jar on Win7

.Persistence; public class Test { public static void main(String[] args) { try ... \Desktop>java -jar odb-test.jar Exception in thread "main" java.lang.reflect.InvocationTargetException ... .eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoa der.java:58) Caused by: java.lang
Forum
1

Persist error @ManyToMany how to define correct entities relationships

; public class TestODB_C { public static void main(String[] args) { Test t = new ... .persistence.Persistence; public class TestODB_C { public static void main(String[] args ... class TestODB_C { public static void main(String[] args) { Test t = new Test
Forum
1

PersistenceManager.getObjectsById(Collection,boolean) throwing JDOException

in the following format is expected: Exception in thread "main" [ObjectDB 2.2] javax.jdo ... .bug.T296.main(T296.java:21) NestedThrowablesStackTrace: [ObjectDB 2.2] javax.jdo ... ) at com.objectdb.jdo.PMImpl.getObjectsById(PMImpl.java:535) at com.objectdb.test.bug.T296.main(T296
Forum
1

Project runs in Eclipse but not when exported to runnable jar

on understanding the basics before working out how to effeciently commit and retrieve the main data. I'm ... .createEntityManagerFactory(Unknown Source)         at DataAccess.Main.SchoolsList(Main.java:147)         at gui ... (on Windows XP with JDK 1.6.0_26). The application starts and the main windows is displayed
Issue
1

Schema-Update: Deactivation of automatic entity class removing and introduction of a new class remove in the schema config

an exception in a use case in which we removed an entity. Exception in thread "main" java.lang ... ) at removedSubClass.UpdateDB.main(UpdateDB.java:27) We tried to reproduce the issue and find ... only with enhanced entities. Otherwise we get an exception: Exception in thread "main" java.lang
Forum
1

Server connection management

.objectdb.Server.main(Server.java:66) It would be useful ... that can be connected automatically by the client (in read only mode) in case the main (master ... .objectdb.Server.main(Server.java:66) I just ran a quick test and couldn't reproduce the problem: package
Forum
1

Stalling on "run File" in Netbeans when using -javaagent:lib/objectdb.jar

: -javaagent:lib/objectdb.jar where there is a lib folder under the main project folder. This works ... am having problems with a console-based Netbeans Java Application with a nominated Main class to run, and with executing Run File on a selected file with a main method, when -javaagent:lib/objectdb
Forum
1

Subquery error

thread "main" [ObjectDB 2.6.6_04] SELECT p FROM Station p WHERE rid = ( ==> SELECT <==  p FROM ... :728) at Main.main(Main.java:37) Caused by: com.objectdb.o.UserException: Unexpected query token
Forum
1

the tutorial netbeans and javaee6 dont work,

and select Stop. Rebuild the project - Run > Clean And Build Main Project from the main menu. Run the project again - Run > Run Main Project Project from the main menu. tank you . IT work!!!!!!!!!!!!   mauro_objectDB