About false

forum_thread

createQuery method error

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

 
forum_thread

objectdb.conf Information

Hello, Is it possible to get detailed information on objectdb.conf client vs server? We do have an objectdb.conf for our client and one for our server instance. Now there're several questions: - Which config entries are relevant for the client and which one for the server? I.e. what about: <cascade-persist always="true" on-persist="false" on-commit="true" /> we want to activate enhancer agent, guess this is client right? activation-code - guess this is required for server only right? ... about: <cascade-persist always="true" on-persist="false" on-commit="true" /> we want to activate enhancer agent, guess this is ...

 
api-jdo

isDirty(pc)

Tests whether the parameter instance is dirty.(Static Method of javax.jdo.JDOHelper)

 
api-jpa

disjunction()

Create a disjunction (with zero disjuncts).(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jpa

MapKeyColumn.nullable

(Optional) Whether the database column is nullable.(Annotation Element of javax.persistence.MapKeyColumn)

 
api-jpa

isMember(elem, collection)

Create a predicate that tests whether an element is a member of a collection.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jdo

retrieve(pc, useFetchPlan)

Retrieve field values of an instance from the store.(Method of javax.jdo.PersistenceManager)

 
api-jdo

setCopyOnAttach(flag)

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

 
forum_thread

Global way to set Lazy-loading fetch functionality for all the fields

Hi, for cascading persist, I have 3 choices: - Either locally (@OneToOne(cascade=CascadeType.PERSIST)) - Either at objectdb level (<cascade-persist always="auto" on-persist="false" on-commit="true" />) - Either at JPA global level (orm.xml).   For defining fetch policy, I know the local way to do it (@ManyToOne(fetch=FetchType.LAZY)). Is there any way to do it at objectdb level or JPA global level?   ... level (<cascade-persist always="auto" on-persist="false" on-commit="true" />) - Either at JPA global level (orm.xml). ...

 
forum_thread

JPA JPQL WHERE clause for IN :variable not working if variable is a list of Enums

Hi, I have a case where I have a JPQL query like: "select o from MyEntity o WHERE (enumField IN :enumFieldList)" And enum field is defined in MyEntity as: @Enumerated(EnumType.STRING) @Column(nullable = false) @Index private MyEnumType enumField; And MyEnumType is defined as: public enum MyEnumType { VALUE1, VALUE2, VALUE3, VALUE4 } and I call: ... @ Column ( nullable = false ) @ Index private MyEnumType enumField ; ...