About activation code

61-70 of 200Refresh
Manual
4

Obtaining a JPA Database Connection

database content, such as store, update, and delete should only be performed within an active ... EntityTransaction instances that the getTransaction method returns. When a transaction is active
Manual
4

Updating JPA Entity Objects

from inside an active transaction: Employee employee = em.find(Employee.class, 1); em ... entity object from within an active transaction. No EntityManager's method is invoked to report
Result
4

Apache License, Version 2.0, January 2004

to software source code, documentation source, and configuration files. "Object" form shall mean any form ... to compiled object code, generated documentation, and conversions to other media types. "Work" shall ... , including but not limited to communication on electronic mailing lists, source code control systems
Manual
4

FROM clause (JPQL / Criteria API)

the following code: CriteriaQuery q = cb.createQuery(Country.class); Root c1 = q.from ... .capital p can be built as a criteria query using the following code: CriteriaQuery q ... query using the following code: CriteriaQuery q = cb.createQuery(Country.class); Root
Manual
4

Online Backup

, backing up a test.odb database file using the code above could generate a backup whose full path ... (); The code above, for instance, could create a backup at c:\backup\201012312359\test.odb regardless ... client-server mode the code above could create the backup file on the server side at backup
Manual
4

JPA Named Queries

named queries instead of dynamic queries may improve code organization by separating the JPQL query strings from the Java code. It also enforces the use of query parameters rather than embedding literals ... interface. For example: em.getMetamodel().managedType(MyEntity.class); Following the above code
JDO Doc
3

javax.jdo.PersistenceManager

if a transaction is not active. If a datastore transaction is active, this method verifies ... if flush were called, but it is not required to do so. If an optimistic transaction is active ... the persistent instance from the data store. This method must be called in an active transaction
JDO Doc
3

javax.jdo.FetchPlan

javax.jdo Interface FetchPlan Fetch groups are activated using methods on this interface ... the fetch group to the set of active fetch groups. Add the fetch group to the set of active fetch groups ... all active groups leaving no active fetch group. Remove all active groups leaving no active fetch
JDO Doc
3

javax.jdo.Transaction

environment, or if the transaction is already active. Since: JDO 1.0 See Also: setOptimistic getOptimistic ... is not active. Since: JDO 1.0 String getIsolationLevel() Get the value for transaction isolation level ... getNontransactionalRead() If true, allows persistent instances to be read without a transaction active
FAQ
3

What are the main benefits of using ObjectDB?

. The ability to store ordinary objects in the database directly can simplify the code significantly. Less (and more simple) code to write, debug and test, as well as a much easier learning curve leads