Issue Details (XML | Word | Printable)

Key: CORE-3043
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JPOX Core (ARCHIVED)

SQL Queries : when selecting fields that have no datastore columns, can result in stupid error message

Created: 24/Oct/06 06:04 AM   Updated: 18/Dec/06 03:34 PM   Resolved: 24/Oct/06 06:08 AM
Component/s: Queries
Affects Version/s: 1.1.0, 1.1.1, 1.1.2, 1.1.3
Fix Version/s: 1.1.4, 1.2.0-beta-1


 Description  « Hide
When we run an SQL query SELECT * FROM MYTABLE etc and the class has for example a Collection field, then this field could be the first processed in the compile and this can result in a message like "View class has no persistent fields" whatever that is supposed to mean. The check has been in the wrong place since version 1.25 of SQLQuery, and the message is total bollocks. Should be a check where no field has a datastore column, and is nothing to do with views

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 24/Oct/06 06:08 AM
Fixed in CVS for 1.1 and HEAD branches