ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
131

using objectdb.jar in writing data to mariadb or mysql db

and reduce the use of regular sql patterns. Can my application use the objectdb.jar to write ... . You cannot use to write to MySQL or MariaDB (as you cannot use PostgreSQL to write to MySQL). You can use Hibernate or EclipseLink as JPA implementations to write to MySQL, etc. as an alternative to using
77

LockModeType.PESSIMISTIC_WRITE

Enum Constant javax.persistence.LockModeType PESSIMISTIC_WRITE Pessimistic write lock. Since: JPA 2.0
76

LockModeType.WRITE

Enum Constant javax.persistence.LockModeType WRITE Synonymous with OPTIMISTIC_FORCE_INCREMENT. OPTIMISTIC_FORCE_IMCREMENT is to be preferred for new applications. Since: JPA 1.0
34

Locking in JPA

supported pessimistic lock modes are: PESSIMISTIC_READ - which represents a shared lock. PESSIMISTIC_WRITE ... explicitly by the lock method: em.lock(employee, LockModeType.PESSIMISTIC_WRITE); The first ... another EntityManager instance) currently holds a PESSIMISTIC_WRITE lock on that database object. A PESSIMISTIC
7

PersistenceCapable.CHECK_WRITE

Static Field javax.jdo.spi.PersistenceCapable byte CHECK_WRITE If jdoFieldFlags for a field includes CHECK_WRITE, then the field has been enhanced to call the jdoStateManager on write if the jdoFlags setting is not READ_WRITE_OK;. Since: JDO 1.0
7

PersistenceCapable.MEDIATE_WRITE

Static Field javax.jdo.spi.PersistenceCapable byte MEDIATE_WRITE If jdoFieldFlags for a field includes MEDIATE_WRITE, then the field has been enhanced to always call the jdoStateManager on all writes. Since: JDO 1.0
7

PersistenceCapable.READ_WRITE_OK

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

Constants.PMF_ATTRIBUTE_NONTRANSACTIONAL_WRITE

Static Field javax.jdo.Constants String PMF_ATTRIBUTE_NONTRANSACTIONAL_WRITE The name of the persistence manager factory element's "nontransactional-write" attribute. Since: JDO 2.1
7

Constants.PROPERTY_NONTRANSACTIONAL_WRITE

Static Field javax.jdo.Constants String PROPERTY_NONTRANSACTIONAL_WRITE "javax.jdo.option.NontransactionalWrite" Since: JDO 2.1 See Also: PersistenceManagerFactory.getNontransactionalWrite()
7

Constants.OPTION_NONTRANSACTIONAL_WRITE

Static Field javax.jdo.Constants String OPTION_NONTRANSACTIONAL_WRITE "javax.jdo.option.NontransactionalWrite" Since: JDO 2.1 See Also: PersistenceManagerFactory.supportedOptions()

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