HHH-17504 - Ongoing JPA 32 work HHH-17350 - Work on hibernate-models, XSD and JAXB HHH-16114 - Improve boot metamodel binding HHH-15996 - Develop an abstraction for Annotation in annotation processing HHH-16012 - Develop an abstraction for domain model Class refs HHH-15997 - Support for dynamic models in orm.xml HHH-15698 - Support for entity-name in mapping.xsd
This commit is contained in:
parent
e5d9586ba3
commit
aefb71f95d
|
@ -863,20 +863,11 @@ public class TableBinder {
|
|||
}
|
||||
}
|
||||
|
||||
static void addJpaIndexes(Table table, List<AnnotationUsage<jakarta.persistence.Index>> indexes, MetadataBuildingContext context) {
|
||||
for ( AnnotationUsage<jakarta.persistence.Index> indexUsage : indexes ) {
|
||||
final String name = indexUsage.getString( "name" );
|
||||
final String columnList = indexUsage.getString( "columnList" );
|
||||
final String[] columnFragments = columnList.split(",");
|
||||
|
||||
//no need to handle inSecondPass here since it is only called from EntityBinder
|
||||
context.getMetadataCollector().addSecondPass( new IndexOrUniqueKeySecondPass(
|
||||
table,
|
||||
name,
|
||||
columnFragments,
|
||||
context
|
||||
) );
|
||||
}
|
||||
static void addJpaIndexes(
|
||||
Table table,
|
||||
List<AnnotationUsage<jakarta.persistence.Index>> indexes,
|
||||
MetadataBuildingContext context) {
|
||||
new IndexBinder( context ).bindIndexes( table, indexes );
|
||||
}
|
||||
|
||||
public void setDefaultName(
|
||||
|
|
Loading…
Reference in New Issue