About API

forum_thread

Class fields selection to store

In a class how do I define which are the fields to be stored? (using JDO API) It's using persistence-modifier="persistent" ? If I have a class with 40 fields and I only want to store one of the fields should I do the following? <class name="Car">    <field name="Wheels" persistence-modifier="persistent" /> </class> Which are the value used for fields that I do not want to store? ... do I define which are the fields to be stored? (using JDO API) It's using persistence-modifier="persistent" ? If ...

 
api-jpa

get(attributeName)

Create a path corresponding to the referenced attribute.(Method of javax.persistence.criteria.Path)

 
api-jpa

unwrap(cls)

Return an object of the specified type to allow access to the provider-specific API.(Method of javax.persistence.EntityManager)

 
api-jpa

setLockMode(lockMode)

Set the lock mode type to be used for the query execution.(Method of javax.persistence.TypedQuery)

 
api-jpa

SqlResultSetMapping.name

The name given to the result set mapping, and used to refer to it in the methods of the Query API.(Annotation Element of javax.persistence.SqlResultSetMapping)

 
api-jpa

javax.persistence.criteria.Selection

The Selection interface defines an item that is to be returned in a query result.(Interface of JPA)

 
api-jpa

javax.persistence.criteria.CollectionJoin

The CollectionJoin interface is the type of the result of joining to a collection over an association or element collection that has been specified as a java.util.Collection.(Interface of JPA)

 
forum_thread

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

Hello All, ... to write to mariadb or mysql using native java JPA API and in some cases JPQL or must i store to an Objectdb unique database? ...

 
api-jpa

javax.persistence.OptimisticLockException

Thrown by the persistence provider when an optimistic locking conflict occurs.(Exception of JPA)

 
forum_thread

does ObjectDB / JPA support simple password field encryption of an entity class?

We are persisting certain passwords entered by user in a form binded with an entity. Is there any direct ObjectDB support to just encrypt the password field? We would like to either encrypt or make it unreadble when object DB database file is opened. There are many standard Password based encryption (PBE) api's supported by Java. But we are looking for a simple approach as we have just have one or two passwords field of an entity to protect. Appreciate any suggestions, Thanks. ... There are many standard Password based encryption (PBE) api's supported by Java. But we are looking for a simple approach as we ...