Internal Website Search

121-130 of 200 resultsRefresh

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

see the problem in the main problem field the classes are copied after the problem description. main class line number 19 squad.setAthlets(x); my Exception: Exception in thread "main

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

="stacktrace"> Exception in thread "main" [ObjectDB 2.4.1_06] javax.persistence.PersistenceException ... .createEntityManager(EMF.java:176) at com.x.test.Test.<init>(Test.java:46) at com.x.Main.start(Main.java:79) at com.x.Main.main(Main.java:48) Caused by: com.objectdb.o.UserException

Empty query results after JAR creation

data. The main class of the test case looks like this:    ... ;"src/main/resources/TravelDB.odb"); EntityManager em = emf.createEntityManager(); String s ... ;Persistence.createEntityManagerFactory("src/main/resources/TravelDB.odb"); When you run

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

.runEmbeddedContainTest(MainCompoundKeys.java:92) at uk.co.his.test.MainCompoundKeys.main ... .TestException) Provide one main class with a runnable main method and use static inner ... have kept the Entity classes in separate files apart from the top container entity which has the main

JPA - ExceptionInInitializerError when creating EntityManager

"> public class Main { final private static Properties EMAIL_PROPS; final private static ... void Main() { } public static void main(String[] args) { new Main(); } EmailSettings.java : an Entity Main.java : Main

Bug: ClassCastException by retrieval

.Persistence; public class TestGeneric { /**   * @param args   */ public static void main ... , r, l, d, 2] Exception in thread "main" java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Ljava.lang.Character; at test.TestGeneric.main(TestGeneric.java:43) gzdillon Lai

OEM: Too many persistable types (>10) - exceeds evaluation limit (error 1011)

class="pre-java"> public static void main(String[] args){ // todo start JdoDatabase ... .moxydox.server/com.unilogical.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

Problem with distinct select, order by and equivalent alias/attribute path

.Persistence; /** * * @author Benjamin Klink, SOLVIT GmbH */ public class Main {   ... ;   public static void main(String[] args) {         ... .getResultList(JpaQuery.java:728) at de.solvit.objectdbtest.Main.main(Main.java:105) Caused by: com.objectdb

OneToMany and cascade delete problem

here :) The main purpose of this, is to have all offers for products (one Product can have many Offers ... Product: 34, product name: Product 23 Product: 94, product name: Product 83 Exception in thread "main ... .listStoresProducts(T501.java:87) at com.objectdb.test.bug.forum.T501.main(T501.java:73) I think

Schema-Update: Rename superclass and remove one subclass

class="pre-java"> public static void main(String[] args) { EntityManagerFactory emf ... with the following example: public static void main(String[] args ... message.   If we try to ecexute a Query (in the second main method):