ObjectDB ObjectDB

Internal Website Search

121-130 of 200 resultsRefresh

Error 613 - i cant put a list<Athlete> into a Squad object

to get this straight till end of week. i uploaded also all classes but if u see the problem in the main problem field ... a squad it brings up an exception. so the problematic line would u find int the main class line number 19 squad.setAthlets(x); my Exception: Exception in thread "main" [ObjectDB 2.2.0] javax.persistence

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

I have a master/slave(s) setup and I am finding on the slaves that the slave client will get this message when trying to establish an EntityManager to the slave: Exception in thread "main ... .<init>(Test.java:46) at com.x.Main.start(Main.java:79) at com.x.Main.main(Main

Empty query results after JAR creation

. The main class of the test case looks like this:     EntityManagerFactory emf =         Persistence.createEntityManagerFactory(             "src/main/resources/TravelDB.odb"); EntityManager em ... ("src/main/resources/TravelDB.odb"); When you run the jar the current directory is probably different

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

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

JPA - ExceptionInInitializerError when creating EntityManager

Please see my code of fragment from my project. public class Main { final private static Properties ... (); } //Empty Constructor public void Main() { } public static void main(String[] args) { new Main(); } My project was was running successfully but All of sudden, it is showing

Bug: ClassCastException by retrieval

args   */ public static void main(String[] args) {   EntityManagerFactory emf = Persistence ... ] 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 Yang Hi, I believe

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

has indeed been performed. I have this at the entry to my application: public static void main ... .unilogical.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

; /** * * @author Benjamin Klink, SOLVIT GmbH */ public class Main {     private static final ... main(String[] args) {         EntityManagerFactory emf =             Persistence ... .java:728) at de.solvit.objectdbtest.Main.main(Main.java:105) Caused by: com.objectdb.o.UserException

OneToMany and cascade delete problem

. But this is not important here :) The main purpose of this, is to have all offers for products ... Product: 94, product name: Product 83 Exception in thread "main" [ObjectDB 2.x] javax.persistence ... .test.bug.forum.T501.main(T501.java:73) I think that the Offer class and cascading delete from Product

Schema-Update: Rename superclass and remove one subclass

Database public static void main(String[] args) { EntityManagerFactory emf = Persistence ... () { } } And then we access the prevous create Database with the following example: public static void main ... error message. If we try to ecexute a Query (in the second main method): TypedQuery

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support