/** * {@inheritDoc} */ @Override Object processComponent(Object component, CompositeType componentType) throws HibernateException { Type[] types = componentType.getSubtypes(); if ( component == null ) { processValues( new Object[types.length], types ); } else { super.processComponent( component, componentType ); } return null; }
/** * {@inheritDoc} */ @Override Object processComponent(Object component, EmbeddedTypeDescriptor descriptor) throws HibernateException { final Collection subclassTypes = descriptor.getSubclassTypes(); if ( subclassTypes == null ) { processValues( new Object[subclassTypes.size()], subclassTypes ); } else { super.processComponent( component, descriptor ); } return null; }
/** * {@inheritDoc} */ @Override Object processComponent(Object component, CompositeType componentType) throws HibernateException { Type[] types = componentType.getSubtypes(); if ( component == null ) { processValues( new Object[types.length], types ); } else { super.processComponent( component, componentType ); } return null; }
/** * {@inheritDoc} */ @Override Object processComponent(Object component, CompositeType componentType) throws HibernateException { Type[] types = componentType.getSubtypes(); if ( component == null ) { processValues( new Object[types.length], types ); } else { super.processComponent( component, componentType ); } return null; }