Issue Details (XML | Word | Printable)

Key: OPENJPA-274
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Patrick Linskey
Reporter: Patrick Linskey
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenJPA

JPQL queries cannot access version fields, including bulk updates

Created: 01/Jul/07 08:25 PM   Updated: 06/Jul/07 02:51 PM
Return to search
Component/s: jdbc, query
Affects Version/s: 0.9.0, 0.9.6, 0.9.7
Fix Version/s: 1.0.0

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works bulk-updates.patch 2007-07-01 09:24 PM Patrick Linskey 15 kB

Resolution Date: 06/Jul/07 02:51 PM


 Description  « Hide
OpenJPA throws an exception if a query uses a field mapped as a @Version. This happens because FieldMappings for fields that are @Version do not have any columns, since the columns are managed separately by the owning ClassMapping's version indicator.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.