mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1139 - NoSuchMethodError: javax.persistence.Embedded.prefix()Ljava/lang/String;
This commit is contained in:
@@ -199,7 +199,11 @@ public class AnnotationAssocOnes extends AnnotationParser {
|
||||
prop.setEmbedded();
|
||||
prop.setDbInsertable(true);
|
||||
prop.setDbUpdateable(true);
|
||||
prop.setColumnPrefix(embedded.prefix());
|
||||
try {
|
||||
prop.setColumnPrefix(embedded.prefix());
|
||||
} catch (NoSuchMethodError e) {
|
||||
// using standard JPA API without prefix option, maybe in EE container
|
||||
}
|
||||
|
||||
readEmbeddedAttributeOverrides(prop);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user