About sequence

forum_thread

composite index not used in query

we defined a composite index for class Action: @Index(name="ssst",members={"startDate","state","subType","type"}) and an index for the OneToMany @OneToMany(fetch=FetchType.LAZY) @Index  public List<ObjectNode> objectsInCharge = new ArrayList<ObjectNode>(); on running a query like ... 2016-04-21 08:38 the sequence of the index members is the key, thanks ...

 
forum_thread

Trouble bug on explorer

Hello having trouble when i try to push new objects from class. I got exception from explorer.     ... ( strategy = GenerationType . SEQUENCE , generator = "seq" ) private int ...

 
forum_thread

openejb jpa jaas module

    hello , i've finished jpa jaas module. Here it is :   package com.bayner.auth; import com.bayner.jpa.Principals; import com.bayner.jpa.UserInfo; import com.bayner.jpa.UserPrincipal; ... ( strategy = GenerationType . SEQUENCE , generator = "gen" ) @ Id ...

 
release

2.7.3_01

... key field of an abstract type. Fixed JDO sequence names to be fully qualified names (issue #186 ). Fixed accessing a package level JDO sequence using getSequence ( issue #186 ). Fixed false ...

 
release

2.7.3

... key field of an abstract type. Fixed JDO sequence names to be fully qualified names (issue #186 ). Fixed accessing a package level JDO sequence using getSequence ( issue #186 ). Fixed false ...

 
release

2.7.2

... key field of an abstract type. Fixed JDO sequence names to be fully qualified names (issue #186 ). Fixed accessing a package level JDO sequence using getSequence ( issue #186 ). Fixed false ...

 
api-jpa

javax.persistence.criteria.CriteriaQuery

The CriteriaQuery interface defines functionality that is specific to top-level queries.(Interface of JPA)

 
forum_thread

problem with lazy loading - unittest project attached

hi, i'm still testing objectdb together with spring-data-jpa. i made a test which should simulate 4 requests 1. save entity 2. read an existing entity, add onetomany relation 3. read an existing entity, add another onetomany relation 4. read entity, get relations. i have the feeling this is not the optional way to test this, because of the differnt transaction behavior. the test is not transactional, but the spring repository methods are. ... 's strategy  (in ObjectDB the SEQUENCE  and TABLE strategies generate automatic values as soon as ...

 
forum_thread

Null enums and IS (NOT) NULL: NullPointerException

Hello. I'm getting NullPointerException when adding %enum field% IS (NOT) NULL or == (!=) NULL in WHERE clause. The same exception using CriteriaQuery. ... ( strategy = GenerationType . SEQUENCE , generator = "asd" ) private int id ...

 
forum_thread

Wrong data stored in time only fields

This may be related to the fix for the problem described in this thread: Wrong data stored in date only fields. The object and its date and time fields are the same as in the referenced thread. Except we are using ObjectDB 2.6.4_08, the system time zone is set to EST and both the OS and JVM are using the 2015g time zone data. ... ( name = "DateTime_sequence" , sequenceName = "DateTime_sequence" , allocationSize = 1 ) public ... ( strategy = GenerationType . SEQUENCE , generator = "DateTime_sequence" ) public ...