Skip to content

SimpleJdbcInsert.executeAndReturnKey can not cast [java.lang.String] to [java.lang.Number] [DATAJDBC-19] #277

@spring-projects-issues

Description

@spring-projects-issues

yumingong opened DATAJDBC-19 and commented

When I use SimpleJdbcInsert.executeAndReturnKey to get the generated key, the spring throws exception: can not cast [java.lang.String] to [java.lang.Number], When i use the executeAndReturnKeyHolder, i can get the primary key, but the key is String, not long type


Affects: Ext 1.0 RC1

Metadata

Metadata

Assignees

Labels

in: coreIssues in core supporttype: bugA general bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions