ObjectDB ObjectDB

Internal Website Search

191-200 of 200 resultsRefresh

Using the wrong class to access a database

; // imports public class Main { public static void main(String[] args) { run(); } static ... . Tried and got: Exception in thread "main" java.lang.ClassCastException The database is fine

Primary key generation problem after changing entity package

{     public static void main(String[] args) {         EntityManagerFactory emf ... test again I get error : Exception in thread "main" [ObjectDB 2.3.7_04] javax.persistence ... ) at homplex.boostrap.T719.main(T719.java:22) Caused by: com.objectdb.o.UserException: Duplicate definition

Exception when querying Map property with @embedded & Enhancer enabled

main(String[] args) {   EntityManagerFactory emf =     Persistence.createEntityManagerFactory ... + "]";   } } } Exception in thread "main" [ObjectDB 2.6.4_03] javax.persistence ... .main(TestEmbeddableMap.java:40) Caused by: com.objectdb.o.UserException: Failed to write the value

using DbUnit with ObjectDb

().getAccessor().getConnection(), "PUBLIC"); but with objectDb this gives: Exception in thread "main ... 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, doesn't it? Can you use it to load many GBs of data? If you load

Enhancement from gradle build file

Moshal The following seems to work: task enhance(type: JavaExec) {   main = 'com.objectdb.Enhancer'   classpath = sourceSets.main.runtimeClasspath   args '-cp', 'src/main/groovy', 'app.model.*', 'app

java.lang.NoClassDefFoundError: java/time/LocalDate

thread "main" [ObjectDB 2.8.6] Unexpected exception (Error 990) Generated by Java HotSpot(TM) Client ... .java:716) at com.objectdb.jpa.EMF.createEntityManager(EMF.java:149) at tutorial.Main2.main ... . public static void main(String[] args) { System.out.println(new Date()); } gzdillon

How to disable use of graphic windows by objectDB

.main(Server.java:66) Caused by: java.net.UnknownHostException: GhostRider: Name or service not known ... .run(Server.java:107) at com.objectdb.Server.main(Server.java:66) Caused by: java.net ... .runCommand(Server.java:223) at com.objectdb.Server.run(Server.java:107) at com.objectdb.Server.main

com.objectdb.o.InternalException: java.lang.NoClassDefFoundError: java/sql/Date

/com.objectdb.jpa.EMF.createEntityManager(EMF.java:149) at tutorial/tutorial.Main.main(Main.java

query.getResultList() throws ClassCastException

) at point.Main.main(Main.java:52) ryan.gustafson Ryan Gustafson Thank you for this bug report

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

loading). Darren PS: We do not want to have to fork our main web application ... and agree it works, however it does mean some significant changes in my main project (although these won't ... until the evaluation runs and is proven on our main web app, without forking them.) EAGER is definitely

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