Issue Details (XML | Word | Printable)

Key: JDO-176
Type: Bug Bug
Status: Closed Closed
Resolution: Invalid
Priority: Major Major
Assignee: Erik Bengtson
Reporter: Michael Watzek
Votes: 0
Watchers: 0
Operations

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

JPOX fails when a query calls String.matches

Created: 07/Oct/05 12:55 AM   Updated: 19/Oct/05 07:35 PM
Return to search
Component/s: tck2
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Resolution Date: 19/Oct/05 07:35 PM


 Description  « Hide
JPOX fails when a query calls String.matches. This bug may be reproduced applying patch JDO-159. The SQL generation of the following query is incorrect:

SELECT FROM org.apache.jdo.tck.pc.company.Person WHERE firstname.matches('*First')

The LIKE clause of the generated SQL statement contains '*First'. This is a bug. It should contain '%First'.


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Michael Watzek made changes - 17/Oct/05 05:46 PM
Field Original Value New Value
Component/s tck20 [ 11652 ]
Michael Watzek made changes - 19/Oct/05 07:35 PM
Status Open [ 1 ] Closed [ 6 ]
Resolution Invalid [ 6 ]