ObjectDB ObjectDB

Internal Website Search

61-70 of 200 resultsRefresh
13

best practice for DB recovery

and add them to my persistence unit but being able to read and not write is a condition that can't last ... have two(or more) entity managers in my DAO layer and write all changes to both instances(may have IDs synchronization issues), if one of the instances is not available, I'll keep writing to the instance
12

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

="." mode="write" />                 <locking version-check="true" />                 <processing cache ... .util.*; public class Main { private static boolean WRITE_DATA_TO_DATABASE = false; public ... ) {   if (WRITE_DATA_TO_DATABASE) {    em.getTransaction().begin();    for (int i = 0; i < 1000; i
12

Setting temp directory location in ObjectDB

ObjectDB 1.x. Try running ObjectDB in a process with no permission to write to the parent directory ... with no permission to write to the parent directory". I did not undertand this. How can we achieve this as ... can do anything. Can you please let me know how to do this. And if write permission permission is blocked
2

LockModeType.PESSIMISTIC_FORCE_INCREMENT

Enum Constant javax.persistence.LockModeType PESSIMISTIC_FORCE_INCREMENT Pessimistic write lock, with version update. Since: JPA 2.0
2

Server out of memory exceptions

read/write operation is done via a new EntityManager which is closed straight ... reader threads (1 for each database). Each thread should read or write 10 msgs and then exit ... ... The attached test (testObjectDbPipe) has 10 threads which write msgs to database "test1" and 5 threads
2

cannot delete objects after crash (see issue 2283)

consideration (e.g. if synchronized writing by ObjectDB to the disk returns before the physical writing is completed and the data is still buffered by the OS / disk). Therefore, if you will be able ... after writing and flushing the transaction updates to the recovery file (the database file
2

Best practise loading big data

would to write something like MyValue v : s.values.get(1); So I suspended my test program directly ... with profiler (and on enhanced classes). Break point after writing loop with commit and directly ... includes also writing to the database. For further discussion about memory usage when writing
0

PersistenceCapable.LOAD_REQUIRED

Static Field javax.jdo.spi.PersistenceCapable byte LOAD_REQUIRED If jdoFlags is set to LOAD_REQUIRED, then the fields in the default fetch group cannot be accessed for read or write without notifying the StateManager. Since: JDO 1.0
0

jdoReplaceStateManager(sm)

, then the jdoFlags field will be reset to READ_WRITE_OK. If the parameter is not null, and the security
0

writeExternal(out)

Method javax.jdo.identity.SingleFieldIdentity void writeExternal( ObjectOutput out ) Write to the output stream. Parameters: out - the stream Since: JDO 1.0

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