ObjectDB ObjectDB

Internal Website Search

191-200 of 200 resultsRefresh

query on calendar class

String A;     @Temporal(TemporalType.TIMESTAMP) private Calendar start; I tested: Query query=em.createQuery("SELECT c FROM Cdr c where c.start.DAY_OF_WEEK = ?1",Cdr.class); query.setParameter(1 ... class but results should be objects where c.start > {t '23:00:00'} I tested: Query query=em

find() cost unreasonable time!

("===========%n");   int iSum = 0;   for (int i=0;i<3*iBlock;i++){    long start ... ", (System.currentTimeMillis()-start)/1000f);    if (null== o){     System.out.printf("%s is not Nodes %n", o);     continue;    }    em.refresh(o);    start = System.currentTimeMillis();    List<Nodes

Schema Evolution Question

the following steps: Stop old client application. Stop ObjectDB. Start ObjectDB. Start NEW client application. Or, is it necessary to do the following: Stop old client application. Start NEW client application (errors will occur due to "Field xxxx not found in type yyyy") Stop ObjectDB Start ObjectDB

Problem to use find method on an abstract Class: AbstractMethodError is thrown

1.0.2.GA 08:17:21,588 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting 08 ... .connector] (MSC service thread 1-13) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final) 08:17:22,316 INFO [org.jboss.as.naming] (MSC service thread 1-9) JBAS011802: Starting Naming

How to Use a SF with extended Persistence Context?

" starting 13:52:01,959 INFO [org.xnio] XNIO Version 3.0.3.GA 13:52:01,960 INFO [org.jboss.as.server ... :02,018 INFO [org.jboss.as.connector] (MSC service thread 1-15) JBAS010408: Starting JCA Subsystem ... INFO [org.jboss.as.naming] (MSC service thread 1-5) JBAS011802: Starting Naming Service 13:52:02,118

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

) work now correctly with Build 2.6.9_01. But, in my real-world web application it gets ... mini console test apps and with my main web app. I am getting inconsistent results so far. May I ask ... am still getting that error message. [EDIT: solved at https://www.objectdb.com/forum/1928


Method javax.jdo.PersistenceManagerFactory String getServerTimeZoneID() Gets the TimeZone ID of the server associated with this PersistenceManagerFactory. If not set, assume that the server has the same TimeZone ID as the client. Returns: the TimeZone of the server Since: JDO 2.1 See Also: setServerTimeZoneID(String)


Method javax.jdo.PersistenceManagerFactory String getTransactionType() Gets the TransactionType for this PersistenceManagerFactory. Returns: the TransactionType Since: JDO 2.1 See Also: setTransactionType(String)


Method javax.jdo.PersistenceManagerFactory boolean getReadOnly() Gets the value for read-only for this PMF. Indicates whether the datastore is read-only or writable. Returns: the readOnly setting. Since: JDO 2.2 See Also: setReadOnly(boolean)


Method javax.jdo.PersistenceManagerFactory String getPersistenceUnitName() Gets the PersistenceUnitName for this PersistenceManagerFactory. Returns: the PersistenceUnitName Since: JDO 2.1 See Also: setPersistenceUnitName(String)

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