Christian Beikov (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HHH-15989 (
https://hibernate.atlassian.net/browse/HHH-15989?atlOrigin=eyJpIjoiMmNjNm...
)
Re: In-line Hibernate settings for sequence and table id generators into mapping XSD (
https://hibernate.atlassian.net/browse/HHH-15989?atlOrigin=eyJpIjoiMmNjNm...
)
The annotations as you posted them look good to me.
public @interface TableGeneratorExtension {
String name();
String optimizerName() default "";
boolean perEntity() default false;
}
public @interface SequenceGeneratorExtension {
String name();
String optimizerName() default "";
String perEntitySuffix() default "_SEQ";
}
How about making name() optional though and resolve the name based on where the annotation
is placed?
(
https://hibernate.atlassian.net/browse/HHH-15989#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15989#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100227- sha1:674e4eb )