Issue Details (XML | Word | Printable)

Key: NUCRDBMS-790
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Kaarel Kann
Votes: 0
Watchers: 0
Operations

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

Boolean fields are left as null when selecting objects using SQL query

Created: 22/Apr/14 09:26 AM   Updated: 22/Apr/14 09:28 AM
Component/s: ORM
Affects Version/s: 3.2.12
Fix Version/s: None

File Attachments: 1. Java Source File SimpleTest.java (3 kB)
2. Zip Archive sql_boolean_select.zip (9 kB)

Environment: Any

Severity: Development


 Description  « Hide
Boolean fields are not mapped correctly when selecting with SQL query. They work fine with JDOQL queries.

Kaarel Kann added a comment - 22/Apr/14 09:27 AM
Attached testcases (including entire testcase project)

Kaarel Kann made changes - 22/Apr/14 09:27 AM
Field Original Value New Value
Attachment SimpleTest.java [ 12060 ]
Attachment sql_boolean_select.zip [ 12061 ]
Kaarel Kann added a comment - 22/Apr/14 09:28 AM
Problematic for databases that don't have BOOLEAN data type (e.g Oracle).