[
https://issues.apache.org/jira/browse/OPENJPA-2647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard Zowalla resolved OPENJPA-2647.
--------------------------------------
Resolution: Won't Fix
Closing as obsolete during backlog cleanup: Concerns the OpenJPA build bundled
in WebSphere 8.5.5.7. On master the flag is defined (DBDictionary.java:244) and
checked before ALTER SEQUENCE (NativeJDBCSeq.java:230). Please reopen if this
still happens with OpenJPA 4.x.
> Not working - disableAlterSeqenceIncrementBy - with WAS 8.5.5.7
> ---------------------------------------------------------------
>
> Key: OPENJPA-2647
> URL: https://issues.apache.org/jira/browse/OPENJPA-2647
> Project: OpenJPA
> Issue Type: Bug
> Components: jdbc
> Affects Versions: 2.3.0
> Environment: WebSphere Application Server 8.5.5.7
> Reporter: Naveen
> Priority: Major
>
> Hi, We have recently upgraded our infrastructure from WAS7.x to WAS8.x . Post
> migration in prod, we ended up with blow issue.
> Issue: The open JPA which is delivered as part of WAS 8.5.5.7, is altering
> our DB sequences with increment by value as 50. We tried to disable this sql
> with the below property in persistence.xml but for some reason, open jpa not
> considering this property and still sequence getting altered.
> Below are the various ways we tried to disable the alter sequence sql, but
> none of these options worked for us
> <property name="openjpa.jdbc.DBDictionary"
> value="DisableAlterSeqenceIncrementBy=true" />
> <property name="openjpa.jdbc.DBDictionary"
> value="disableAlterSeqenceIncrementBy=true" />
> <property name="openjpa.jdbc.DBDictionary.DisableAlterSeqenceIncrementBy"
> value="true" />
> <property name="openjpa.jdbc.DBDictionary.disableAlterSeqenceIncrementBy"
> value="true" />
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)