Skip to content

SybaseMaxValueIncrementer doesn't work with non-enterprise Sybase db [SPR-7623] #12279

@spring-projects-issues

Description

@spring-projects-issues

Tarald Saxi Stormark opened SPR-7623 and commented

In SybaseMaxValueIncrementer the code line: stmt.executeUpdate("insert into " + getIncrementerName() + " values()"); yields SQLException. It should be stmt.executeUpdate("insert into " + getIncrementerName() + " values(DEFAULT)"); instead.

See attached patch. This goes for all versions of SybaseMaxValueIncrementer.


Affects: 2.5.5

Referenced from: commits bd22bed

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: dataIssues in data modules (jdbc, orm, oxm, tx)type: enhancementA general enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions