onDeleteAppropriate = true; final JoinedSubclass jsc = ( JoinedSubclass ) persistentClass; SimpleValue key = new DependantValue( context, jsc.getTable(), jsc.getIdentifier() ); jsc.setKey( key ); ForeignKey fk = clazzToProcess.getAnnotation( ForeignKey.class );
persistentClass.getRootClass().setEntityPersisterClass( JoinedSubclassEntityPersister.class ); SimpleValue key = new DependantValue( jsc.getTable(), jsc.getIdentifier() ); jsc.setKey( key ); ForeignKey fk = clazzToProcess.getAnnotation( ForeignKey.class );
" -> " + joinedSubclass.getTable().getName());
" -> " + joinedSubclass.getTable().getName());
" -> " + joinedSubclass.getTable().getName() );
+ joinedSubclass.getEntityName() + " -> " + joinedSubclass.getTable().getName() );
LOG.debugf( "Mapping joined-subclass: %s -> %s", joinedSubclass.getEntityName(), joinedSubclass.getTable().getName() );
LOG.debugf( "Mapping joined-subclass: %s -> %s", joinedSubclass.getEntityName(), joinedSubclass.getTable().getName() );
persistentClass.getRootClass().setEntityPersisterClass( JoinedSubclassEntityPersister.class ); SimpleValue key = new DependantValue( jsc.getTable(), jsc.getIdentifier() ); jsc.setKey( key ); if ( onDeleteAnn != null ) {
onDeleteAppropriate = true; final JoinedSubclass jsc = ( JoinedSubclass ) persistentClass; SimpleValue key = new DependantValue( mappings, jsc.getTable(), jsc.getIdentifier() ); jsc.setKey( key ); ForeignKey fk = clazzToProcess.getAnnotation( ForeignKey.class );
onDeleteAppropriate = true; final JoinedSubclass jsc = ( JoinedSubclass ) persistentClass; SimpleValue key = new DependantValue( mappings, jsc.getTable(), jsc.getIdentifier() ); jsc.setKey( key ); ForeignKey fk = clazzToProcess.getAnnotation( ForeignKey.class );
SimpleValue key = new DependantValue( metadataCollector.getTypeConfiguration().getMetadataBuildingContext(), jsc.getTable(), jsc.getIdentifier() );