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
Describe the bug
Cannot use UUID based tables because of createNativeQuery in CollectionFinder.php
To Reproduce
Steps to reproduce the behavior:
Just use a UUID as primary key in an index
Just use quotes in createNativeQuery to make it work
$query = $this->em->createNativeQuery('SELECT * FROM '.$tableName.' WHERE '.$primaryKeyInfos['entityAttribute'].' IN ("'.implode('", "', $ids).'") ORDER BY FIELD(id,"'.implode('", "', $ids).'")', $rsm);
The text was updated successfully, but these errors were encountered:
Describe the bug
Cannot use UUID based tables because of
createNativeQuery
inCollectionFinder.php
To Reproduce
Steps to reproduce the behavior:
Just use a UUID as primary key in an index
Just use quotes in
createNativeQuery
to make it workThe text was updated successfully, but these errors were encountered: