ObjectDB ObjectDB

Internal Website Search

131-140 of 200 resultsRefresh

Updating Entities

EntityManagerFactory emf = Persistence.createEntityManagerFactory("$objectdb/db/payrollDB.odb ... EntityManagerFactory and EntityManagers Provides a mechanism to change JavaFX Stages, Scenes, and other elements

Update more than 10000 entities by an update query fails

) { EntityManagerFactory emf; emf = Persistence.createEntityManagerFactory("objectdb:./db.tmp;drop ... */ @Test public void unexpectedExeption() { EntityManagerFactory emf

Strange behaviour with ORDER BY and IN

.EntityManagerFactory; import javax.persistence.Persistence; public class Main {     private static ... ) {         EntityManagerFactory emf =             Persistence.createEntityManagerFactory("$objectdb

How to use JOIN FETCH?

javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax ... ())   {    file.delete();   }   file.createNewFile();   EntityManagerFactory emf = Persistence

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

(unitName = "guest-pu" ) private EntityManager em; but it is working when the EntityManagerFactory gets ... { @PersistenceUnit(unitName = "guest-pu" ) private EntityManagerFactory emf; public EntityManager

Attempt to begin a new transaction when a transaction is active

The code I have a RecordDao stateless java bean : @Stateless public class RecordDao { private EntityManagerFactory emf; private EntityManager em; public RecordDao() { } @PostConstruct ... the EntityManagerFactory and the EntityManager explicitly, but let the application server

Merge with Parent/Child entities not possible

.EntityManagerFactory; import javax.persistence.FetchType; import javax.persistence.FlushModeType; import ... , boolean delete) {   EntityManagerFactory emf = null;   if (delete) {    new File(dbFileName).delete

Cast exception?

the exception: /* */ public static EntityManagerFactory createEntityManagerFactory(String paramString, Map paramMap) /* */ { /* 73 */ EntityManagerFactory localEntityManagerFactory

Database absolute filepath

Is there a line of code that can be used to print out my databases absolute path? I have set it as follows: EntityManagerFactory emf = Persistence.createEntityManagerFactory("$objectdb/database ... class T1523 { public static void main(String[] args) { EntityManagerFactory emf

"is not null" queries not working with index

.persistence.EntityManagerFactory; import javax.persistence.GeneratedValue; import javax.persistence ... (String[] args) {         EntityManagerFactory emf = Persistence.createEntityManagerFactory("test.odb

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