[
https://issues.apache.org/jira/browse/OPENJPA-3037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18133121#comment-18133121
]
ASF subversion and git services commented on OPENJPA-3037:
----------------------------------------------------------
Commit 64e878e2f704f64de3f39bb87596a880452c2902 in openjpa's branch
refs/heads/OPENJPA-3041 from Richard Zowalla
[ https://gitbox.apache.org/repos/asf?p=openjpa.git;h=64e878e2f ]
[OPENJPA-3037] Extract the ISO week on H2 whatever the JVM locale
> 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
> Priority: Major
>
> {{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)