[
https://issues.apache.org/jira/browse/OPENJPA-3034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18141048#comment-18141048
]
ASF subversion and git services commented on OPENJPA-3034:
----------------------------------------------------------
Commit 38ba2efcc61608724b42d4ef020338b9e7bc0e09 in openjpa's branch
refs/heads/OPENJPA-3028-tck-mariadb from Richard Zowalla
[ https://gitbox.apache.org/repos/asf?p=openjpa.git;h=38ba2efcc ]
[OPENJPA-3034] Honour allocationSize of native sequences on SQL Server (#286)
The SQL Server driver returns -1 as update count of ALTER SEQUENCE, which
NativeJDBCSeq took as failure: it logged a permission warning and fetched
one value per id. The ALTER now counts as successful when it does not throw,
and it is committed.
> Tests failing on several databases: sequence generator, timestamp, scalar
> expressions, mixed access
> ---------------------------------------------------------------------------------------------------
>
> Key: OPENJPA-3034
> URL: https://issues.apache.org/jira/browse/OPENJPA-3034
> Project: OpenJPA
> Issue Type: Sub-task
> Reporter: Richard Zowalla
> Assignee: Richard Zowalla
> Priority: Major
> Fix For: 4.2.0
>
>
> These tests fail on more than one database, which suggests a common cause:
> * {{sequenceGeneratorTest}}: Derby, MySQL, SQL Server. Check with
> OPENJPA-3014 (named sequence generator backed by a table where there are no
> sequences).
> * {{Client4.timestampFieldTest}}, {{timestampPropertyTest}}: MySQL, SQL
> Server (fractional seconds?)
> * {{scalarExpressionsTest}} ({{Client}} and {{Client1}}): Derby, SQL Server
> * {{Client2.mixedAccessTest}}, {{Client3.transientTest}},
> {{Client2.transientTest}}: Derby, SQL Server
> * {{cascadeAllMX1Test2}}, {{persistMX1Test2}}: Derby, SQL Server
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)