DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
Issue Details (XML | Word | Printable)

Key: NUCRDBMS-314
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus Store RDBMS

JDOQL2 : Support Collection.contains on embedded collection fields

Created: 01/Mar/10 03:53 PM   Updated: 17/Mar/10 08:52 PM   Resolved: 02/Mar/10 05:19 PM
Component/s: Queries
Affects Version/s: None
Fix Version/s: 2.0.2


 Description  « Hide
See EmbeddedTest


Persistent class "org.jpox.samples.annotations.embedded.Device" has no table in the database, but the operation requires it. Please check the specification of the MetaData for this class.
org.datanucleus.store.exceptions.NoTableManagedException: Persistent class "org.jpox.samples.annotations.embedded.Device" has no table in the database, but the operation requires it. Please check the specification of the MetaData for this class.
        at org.datanucleus.store.mapped.MappedStoreManager.getDatastoreClass(MappedStoreManager.java:374)
        at org.datanucleus.store.rdbms.sql.method.CollectionContainsMethod.containsAsInnerJoin(CollectionContainsMethod.java:184)
        at org.datanucleus.store.rdbms.sql.method.CollectionContainsMethod.getExpression(CollectionContainsMethod.java:99)
        at org.datanucleus.store.rdbms.sql.expression.SQLExpressionFactory.invokeMethod(SQLExpressionFactory.java:320)
        at org.datanucleus.store.rdbms.sql.expression.CollectionExpression.invoke(CollectionExpression.java:54)
        at org.datanucleus.store.rdbms.query.QueryToSQLMapper.processInvokeExpression(QueryToSQLMapper.java:2105)
        at org.datanucleus.query.evaluator.AbstractExpressionEvaluator.compilePrimaryExpression(AbstractExpressionEvaluator.java:190)
        at org.datanucleus.query.evaluator.AbstractExpressionEvaluator.compileUnaryExpression(AbstractExpressionEvaluator.java:159)
        at org.datanucleus.query.evaluator.AbstractExpressionEvaluator.compileAdditiveMultiplicativeExpression(AbstractExpressionEvaluator.java:138)
        at org.datanucleus.query.evaluator.AbstractExpressionEvaluator.compileRelationalExpression(AbstractExpressionEvaluator.java:113)
        at org.datanucleus.query.evaluator.AbstractExpressionEvaluator.compileOrAndExpression(AbstractExpressionEvaluator.java:63)
        at org.datanucleus.query.evaluator.AbstractExpressionEvaluator.evaluate(AbstractExpressionEvaluator.java:44)
        at org.datanucleus.query.expression.Expression.evaluate(Expression.java:298)
        at org.datanucleus.query.expression.DyadicExpression.evaluate(DyadicExpression.java:67)
        at org.datanucleus.store.rdbms.query.QueryToSQLMapper.compileFilter(QueryToSQLMapper.java:396)
        at org.datanucleus.store.rdbms.query.QueryToSQLMapper.compile(QueryToSQLMapper.java:304)
        at org.datanucleus.store.rdbms.query.JDOQLQuery.compileQueryFull(JDOQLQuery.java:732)
        at org.datanucleus.store.rdbms.query.JDOQLQuery.compileInternal(JDOQLQuery.java:225)
        at org.datanucleus.store.query.Query.executeQuery(Query.java:1628)
        at org.datanucleus.store.query.Query.executeWithArray(Query.java:1499)
        at org.datanucleus.store.query.Query.execute(Query.java:1472)
        at org.datanucleus.jdo.JDOQuery.execute(JDOQuery.java:221)
        at org.datanucleus.tests.metadata.AnnotationsEmbeddedTest.testEmbeddedCollectionQuery(AnnotationsEmbeddedTest.java:1547)

Andy Jefferson added a comment - 02/Mar/10 05:19 PM
SVN trunk now passes

Andy Jefferson made changes - 02/Mar/10 05:19 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 2.0.2 [ 10870 ]
Fix Version/s 2.1.0.release [ 10832 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 17/Mar/10 08:52 PM
Status Resolved [ 5 ] Closed [ 6 ]