Richard Zowalla created OPENJPA-3037:
----------------------------------------
Summary: MySQL: EXTRACT(WEEK) returns a different week
Key: OPENJPA-3037
URL: https://issues.apache.org/jira/browse/OPENJPA-3037
Project: OpenJPA
Issue Type: Sub-task
Reporter: Richard Zowalla
{{Client9.testExtractWeekFromDate}} fails with {{IndexOutOfBoundsException:
Index 0 out of bounds for length 0}}, so the query finds no row. MySQL
{{WEEK(d)}} uses mode 0 by default (weeks start on Sunday), while the expected
value is the ISO week ({{WEEK(d, 3)}}).
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)