About true

forum_thread

SSL Problem

Hello, I have a problem to use the server with ssl. I have created the certificate using this command: keytool-genkeypair-dname "cn = Mark Jones, ou = JavaSoft, o = Sun, c = U.S."-alias business-keypass kpi135-keystore-storepass mykeystore ab987c-validity 180 Then I put in the configuration file objectdb: ... file objectdb: <ssl enabled = "true" > <server-keystore path = ...

 
forum_thread

createQuery method error

Hello, I am learning ObjectDB now. I create a simple Dao method as below:   ... ) . getSingleResult ( ) >0 ? true : false ; } Once I compile it, Error: ...

 
forum_thread

Package name for persisted entities

Hi, I have a question about package name and searching for entities. As for now we were using two different databases for two different parts of our system. But we want to make a 'common' model for both systems. After merging entities from two different projects, we get single jar with all entities. Unfortunately some of the names are the same for entities: - homplex.model.dbobject.Inspiration - pl.hplxtool.model.Inspiration ... in persistence.xml and set "exclude-unlisted-classes" for true, ODB is looking for first occurrence of 'Inspiration' class in ...

 
api-jpa

isOpen()

Determine whether the entity manager is open.(Method of javax.persistence.EntityManager)

 
api-jdo

Join.generateForeignKey

Generate or assume a foreign key constraint exists on the column or columns associated with this join.(Annotation Element of javax.jdo.annotations.Join)

 
api-jdo

getNontransactionalRead()

If true, allows persistent instances to be read without a transaction active.(Method of javax.jdo.Transaction)

 
forum_thread

Is there an update on running ObjectDB purely in-memory?

Hi, I know that this has been asked, but the last time seems to be two years ago, so I'd like to know whether there is a change or an outlook regarding the topic: Is it possible, or planned, to run ObjectDB purely in-memory, without a any file on disk? Note that "file on RAM disk", which was proposed in the past, is not an option for the application I have in mind. It would need to be true in-memory mode, as supported by SQL databases like H2 or SQLite. Thanks, David ... for the application I have in mind. It would need to be true in-memory mode, as supported by SQL databases like H2 or SQLite. ...

 
api-jdo

setRestoreValues(restoreValues)

If true, at rollback, fields of newly persistent instances are restored to their values as of the beginning of the transaction, and the instances revert to transient.(Method of javax.jdo.Transaction)

 
api-jpa

javax.persistence.metamodel.SingularAttribute

Instances of the type SingularAttribute represents persistent single-valued properties or fields.(Interface of JPA)

 
api-jdo

setCopyOnAttach(flag)

Sets the default copyOnAttach setting for all PersistenceManager instances obtained from this factory.(Method of javax.jdo.PersistenceManagerFactory)