Issue Details (XML | Word | Printable)

Key: NUCRDBMS-660
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

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

When we do query comparison of boolean field with literal some datastore get invalid SQL

Created: 02/Apr/13 09:20 AM   Updated: 06/Apr/13 10:00 AM   Resolved: 02/Apr/13 09:22 AM
Component/s: Queries
Affects Version/s: 2.2.4, 3.0.10, 3.1.4, 3.2.0.release
Fix Version/s: 3.2.1


 Description  « Hide
The logic for handling BooleanLiteral when the datastore has BIT_IS_REALLY_BOOLEAN set is incorrect, and some integer mapped literals are incorrectly using TRUE for the SQL when should use an integer (1, 0).

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 02/Apr/13 09:22 AM
SVN trunk fixes this