I have installed an application on WAS 6.1 (through WID 6.1) and getting following exception while running the app.
Caused by: org.apache.openjpa.util.MetaDataException: class declares generator name "system-uuid", but uses the AUTO generation type. The only valid generator names under AUTO are "uuid-hex" and "uuid-string".
I have changed databases but still the problem persists. The class do declares Authorization_ID
to be System-UUID but it has worked fine for WAS7. Please provide your comments. Here is a snippet of the class:
@Id
@GeneratedValue(generator="system-uuid")
@GenericGenerator(name="system-uuid", strategy="uuid")
@javax.persistence.Column(name="AUTHORIZATION_ID")
@XmlID
@XmlAttribute
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}