We're updating the issue view to help you get more done. 

With Mysql, session.replicate() does not conserve identifiants

Description

When I use session.replicate on these databases with a table mapped with a native identifier, hibernate does not set the id on the SQL it generates and so the id generated is not the one assigned to the object.

Environment

Hibernate 3.05
Mysql 5.0
Mysql 3.23.40

Status

Assignee

Unassigned

Reporter

Benjamin Lerman

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

3.0.5

Priority

Major