About page

forum_thread

Help with 'not like/lower' query

Hi again,   Honestly, I'm fairly new with JPA2 Criteria queries - but as far as code effort goes, it has saved me a bit of pain. I'm writing a dynamic query builder (only 1 level deep for basic entities) - but  even though I get most queries to work, I am getting the following error. This is using Criteria with a combination of LOWER/UPPER - NOT LIKE: ... I'm trying to do a count (with a subsequent fetch of a page of 20 results per table view on the UI) where a user belongs to a company, ...

 
tutorial

Step 5: Design a BIRT Report Chart

... Click Finish to add the chart to the report page: You may click Preview  now to see ...

 
api-jpa

EnumType.ORDINAL

Persist enumerated type property or field as an integer.(Enum Constant of javax.persistence.EnumType)

 
api-jdo

JDO Annotations for Index Definition

The following annotations are used to define indexes on persistent fields: javax.jdo.annotations.Index javax.jdo.annotations.Indices javax.jdo.annotations.Unique javax.jdo.annotations.Uniques The Index Defi ...

 
api-jpa

getPersistenceType()

Return the persistence type.(Method of javax.persistence.metamodel.Type)

 
api-jpa

trim(t, x)

Create expression to trim character from both ends of a string.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jpa

lessThan(x, y)

Create a predicate for testing whether the first argument is less than the second.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jpa

substring(x, from, len)

Create an expression for substring extraction.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jpa

isNotMember(elem, collection)

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

 
forum_thread

OutOfMemoryError on search after update on DB created with DB Doctor

It looks like there may be an issue with the DB files created with DB Doctor in recovery mode. This is the scenario that results in the OutOfMemory exception problem (using Object DB 2.5.4_04): 1. We instruct Object DB to create a 1Gb DB file on initial start-up using: <database> <size initial="1024mb" resize="256mb" page="2kb" /> This happens as expected. ... <size initial = "1024mb" resize = "256mb" page = "2kb" / > This happens as expected. 2. We ...