Home » Search

About variable

51-60 of 110Refresh
Forum
2

An InternalException occurs when gets an result list

about the query? The stack trace indicates an unexpected query variable. Are there non entity variables in the query or an entity class with no instances in the database yet? it is actually a simple ... -fetch", "LAZY"); The exception is thrown during query compilation in checking the variable type
Forum
2

how to query by properties of onetomany relations? (Error 990)

JOIN to define a variable that will iterate over the collection elements. This specific query ... defining an implicit JOIN variable. Particularly the following query: SELECT f FROM Foo f WHERE f ... navigation defines a separate JOIN variable, so this should be taken into consideration
Forum
2

Issue with Casting / Joins

to define a variable for iteration over map values and currently this is not supported (issue #13 ... ? About the variable for iterating map values.. Yes I am aware that this isn't supported in JPQL ... JPQL from the criteria query. Fix the query string by wrapping the variable with casting (replace
Issue
2

JPQL support for Maps (JPA 2.0)

JPQL 2.0 introduces the ability define FROM variables for map keys and values. Currently ObjectDB supports FROM variables for collection elements. FROM variables for map keys and values are expected to be supported in future versions. Any updates on this issue ? Actually map values are now
Forum
2

Multiple joins did not return expected result

an error? The event variable is defined twice. You should use a unique name for every query variable ... which must be doubled if I use 2 variables. Thanks Markus Running two different separate queries and merging
Forum
2

Post-compile enhancement fails when static Log4j 2.5 based logger used in Entity

a non-static logging variable holder can be used in an @Entity.     ObjectDB 2.6.3_04     Apache Log4j2 ... use that in an @Entity for a static logger variable: @Entity public class Element extends ... -web-2.5.jar If I comment out that static LOGGER variable init line, the error vanishes and post
Issue
2

Strange Error with Criteria API and Sorting

sense, there might not be any "$2" variable. More strangely, when debugging through the error doesn't ... . Therefore the ORDER BY cannot include $2, which is another variable. You can fix this specific query by using Path (which is not a separate variable) instead of Join: //final Join otherJoin = root
Result
1

ObjectDB version 2.4.0

Version 2.4.0 Added support of entity collections as query parameters. Added support of running ObjectDB within Eclipse 3.7 wrapper jar. Added support of sharing an identifier name for a variable ... composite indexes. Improved processing of queries with a large number of variables (issue #607
Issue
1

@Enumerated(EnumType.STRING) annotation inhibits proper execution of IN expressions.

When the following annotation is present on an enum type entity field: @Enumerated(EnumType.STRING) Queries using JPQL IN expressions on this field won't work correctly anymore. This issue has been described in forum post 681 (JPA JPQL WHERE clause for IN :variable not working if variable is a list
Forum
1

Can a Set<E> be a foreign key?

I have two classes, Cell and Character.  Basically, the cell is like a room, and contains a variable (private Set cellHeldCharacters;) which holds the IDs of the characters within the cell (The IDs are Primary Keys).  Can I use the Foreign Key annotation for the variable, or is it illegal