Closed
Description
Andrew opened DATAMONGO-1053 and commented
In 1.6, there is now a restriction that a field named "language" must be a String. So, in 1.5, the following will map but will not map in 1.6:
package com.instantly.pipeline.engine.model;
import javax.persistence.Id;
public class Foobar {
@Id
String id;
private Number language;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public Number getLanguage() {
return language;
}
public void setLanguage(Number language) {
this.language = language;
}
}
Affects: 1.6 M1 (Evans)
Issue Links:
- DATAMONGO-1049 Reserved field name 'language' causes trouble
("depends on")
Referenced from: pull request #228
Backported to: 1.6.1 (Evans SR1)
1 votes, 3 watchers