Internal Website Search
191-200 of 200 resultsRefreshUsing the wrong class to access a database: package com.objectdb.tutorial; // imports public class Main { public static void main(String[] args) { run(); } static void run() { System.out.println ... class="stacktrace pre-shell"> Exception in thread "main" java.lang.ClassCastException | |
Primary key generation problem after changing entity package; public static void main(String[] args) {   ... again I get error : Exception in thread "main" [ObjectDB 2.3.7_04 ... (EMImpl.java:378) at homplex.boostrap.T719.main(T719.java:22) Caused by: com.objectdb.o.UserException | |
Exception when querying Map property with @embedded & Enhancer enabled javax.persistence.Persistence; public class TestEmbeddableMap { public static void main(String ... "main" [ObjectDB 2.6.4_03] javax.persistence.PersistenceException Failed to write the value ... .JpaQuery.getResultList(JpaQuery.java:725) at TestEmbeddableMap.main(TestEmbeddableMap.java:40 | |
using DbUnit with ObjectDb"); but with objectDb this gives: Exception in thread "main ... > Using JAXB is a nice idea and I am glad it works for you. But I think that the main limitation of this approach is that it is limited to small data sets that can fit into the main memory | |
Enhancement from gradle build file 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>get the message: Exception in thread "main" [ObjectDB 2.8.6] Unexpected ... .jpa.EMF.createEntityManager(EMF.java:149) at tutorial.Main2.main(Main2.java:12) Caused by ... -java"> public static void main(String[] args) { System.out.println(new Date | |
Tracking changes to new collections (in enhancement mode) after flush.*; import javax.persistence.*; public class F2640 { public static void main ... { public static void main(String[] args) { EntityManagerFactory emf = Persistence ... main(String[] args) {   | |
com.objectdb.o.InternalException: java.lang.NoClassDefFoundError: java/sql/Date) at tutorial/tutorial.Main.main(Main.java:19) Caused by: java.lang.ClassNotFoundException | |
query.getResultList() throws ClassCastException.java:151) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:665) at point.Main.main(Main | |
Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct) to have to fork our main web application to go through it and tediously change hundreds or even thousands ... it works, however it does mean some significant changes in my main project (although these won't hurt ... until the evaluation runs and is proven on our main web app, without forking them.) EAGER |