You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
do not work properly, where bar is a field of Foo that is annotated with @joincolumn(name = "bar_id") and Bar is a class with a field named id.
The table is built correctly within the keyspace, however it appears that Kundera doesn't use the information available in the @joincolumn to resolve the proper column name when preparing a query that Cassandra can understand natively.
As a result of this, to get this functionality, we're having to resort to using datastore-dependent CQL queries when Cassandra is detected as the datastore in use (SELECT * From foo WHERE bar_id = ?).
The text was updated successfully, but these errors were encountered:
The only interesting aspect of the entities is that they're related via the JoinColumn annotation. It seems like it fails to resolve the proper column name from the annotation when parsing the query, but that's anecdotal.
JPQL queries structured similar to
do not work properly, where bar is a field of Foo that is annotated with @joincolumn(name = "bar_id") and Bar is a class with a field named id.
The table is built correctly within the keyspace, however it appears that Kundera doesn't use the information available in the @joincolumn to resolve the proper column name when preparing a query that Cassandra can understand natively.
As a result of this, to get this functionality, we're having to resort to using datastore-dependent CQL queries when Cassandra is detected as the datastore in use (
SELECT * From foo WHERE bar_id = ?
).The text was updated successfully, but these errors were encountered: