About main

131-140 of 200Refresh
Forum
1

Schema Update: class hierarchy change

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

Start ObjectDB inside java code.

it also from your own code by calling the main method directly:     com.objectdb.Server.main ... ] ;   test[0] = "start";   com.objectdb.Server.main   (test) ; And it work, but as soon as i try ... ] = "start";   com.objectdb.Server.main   (test) ; It tell me : Invalid Server argument: Unknown
Issue
1

Unexpected Exception during commit

) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) I also get the following ... .objectdb.Server.run(Server.java:96) at com.objectdb.Server.main(Server.java:66) java.lang ... .Server.main(Server.java:66) Exception in thread "main" java.lang.NullPointerException
Issue
1

Update query bug

(); ---------------------------------------- Exception in thread "main" [ObjectDB 2.4.3] Unexpected exception (Error ... (PersonService.java:90) at ui.CmdUI.updatePerson(CmdUI.java:262) at ui.CmdUI.start(CmdUI.java:79) at main.Main.main(Main.java:22)   This UPDATE query is invalid because JPQL UPDATE queries are limited
Forum
1

Activation key causes database to not start

.Server.main(Server.java:62) [ObjectDB 2.6.5_04] Unexpected exception (Error 990)   Generated by Java ... )         at com.objectdb.Server.main(Server.java:62) Exception in thread "main" [ObjectDB 2.6.5_04] Unexpected ... .Server.run(Server.java:109)         at com.objectdb.Server.main(Server.java:62) Unfortunately
Forum
1

ClassNotFoundException messages in the log file

.moxydox.server.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
Forum
1

Enhancer failure: Failed to process class file of type

:446)         at com.objectdb.o.JEN.m(JEN.java:101)         at com.objectdb.Enhancer.main(Enhancer ... gradle works: task enhance ( type: JavaExec ) {   main = 'com.objectdb.Enhancer'   classpath = sourceSets.main.runtimeClasspath   args '-cp', 'src/main/groovy', 'app.framework.AuEntity', 'app
Forum
1

evictAll() behavior

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

exceeds evaluation limit Exception

Hi ,every body i have this exception , and i didn't know what is mean or from "Exception in thread "main" [ObjectDB 2.0.5_02] javax.persistence.PersistenceException Too many persistable types (>10 ... ) at DBManager.insertPatient(DBManager.java:29) at Main.main(Main.java:374)" does any body face this exception
Forum
1

Field not persisted in abstract class with two level of nesting

main(String[] args){         EntityManager em = Persistence.createEntityManagerFactory("$objectdb/db ... ) {         this.timezone = timezone;     }     public static void main(String[] args ... MHD1 Exception in thread "main" [ObjectDB 2.5.6] javax.persistence.PersistenceException Failed