About main

91-100 of 200Refresh
Forum
3

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 ... java.util.*; public class Main { private static boolean WRITE_DATA_TO_DATABASE = false; public static void main(String[] args) {   EntityManagerFactory emf = null;   EntityManager em = null
Forum
3

ObectDb 2.3.6 in OSGi environment

.junit.runtime.RemotePluginTestRunner.main(RemotePluginTestRunner.java:62) at org.eclipse.pde ... (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.equinox.launcher.Main.run(Main.java:1438
Forum
2

Updating Entities

() { //Error Checking - 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
Issue
2

ClassCastException in Tuple.get

. 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.java:43) Cheers!   PS. it seems that there is a problem with post editor on MS Edge, as
Forum
2

Eclipse plugin problem (using ObjectDB as a separate bundle)

.invoke(Unknown Source) at org.eclipse.equinox.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
Issue
2

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

/GreensoftObjectdbTestNoweb.2016-08-15.GS4230.tgz com.greensoft.objectdb.test.console.Main ... and persisted in Main in protected void createProject(EntityManagerFactory emf): protected void ... Project and Element model ... ****** Persist project.. Exception in thread "main" [ObjectDB 2
Forum
2

500Mb ObjectDb database opening issue

/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 Application start ... thread:main): main(): Java version used:1.8.0_66x32 1/23/2016 15:42:35.4235: INFO : (AppMain.java:35
Forum
2

Error 363 - Failed to read value of inverse relationship

.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) Caused by: com.objectdb.o ... . Could you please attach a project that contains in addition to these two classes also a main with the failed query and a database (or code in the main that populates the database)? I faced a similar problem
Forum
2

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

.Method.invoke(Unknown Source) at org.eclipse.equinox.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
Forum
2

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

) { SiAuto.main.logException( "com.epimss.lab.db.Connection.store(instance)", e ... (Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575