Home » Search

About literal

31-40 of 42Refresh
Forum
1

Error using query with MAX() function

" /> <literal exp="null" type="java.lang.Object" var="0" directVar="0" ext="0
Forum
1

How to add minutes to a Date with JPA2

> period = root.get(Counter_.Period);   Expression delayPeriod = cb.literal(IConstants.DELAY
Issue
1

InternalException

database? In this case the app is starting against a clean database (literally a new file) and the error
Issue
1

Issue with TYPE expression in Criteria API

.class);         cq.select(e);         cq.where(cb.equal(e.type(), cb.literal(e.getJavaType
Forum
1

Possible issue for JPQL IN expression

Possible issue for JPQL IN expression with a set of more than one string literals values in the path expression. Error: Exception in thread "main" [ObjectDB 2.3.7_10] SELECT e FROM MyEntity e WHERE e.country IN ('US' ==> , <==  'SP', 'UK') javax.persistence.PersistenceException Unexpected query
Forum
1

Post-compilation enhancement vs Automatic Run-time enhancement

We are getting massively different results on field loading between explicit post-compile enhancement and automatic run-time enhancement. Testing exactly where and when the results are different for our demo web app is a very time consuming task, and very difficult, it means testing literally 100s
Forum
1

Problem with 'where' and date()

date literals. For example: SELECT o FROM TestObject o WHERE o.date > {d '2011-07-01'} Date
Forum
1

Sorting problem

but by using a constant expression ("br.id" is considered as a string literal value rather than as
Issue
1

Weird issue with variable naming

.multiselect(from, join2.get("name"));   cq.where(cb.equal(join2.get("name"), cb.literal("TEST")));   cq
Forum
1

Suggest link to Maven example from Enhancer tool page

The maven plugin example here is incomplete: https://www.objectdb.com/java/jpa/tool/enhancer#Maven_and_ANT_Enhancement_ Taken literally it can't work because it's missing this:                             org.codehaus.mojo                 exec-maven-plugin