public interface ObjectPersister
DelegatingObjectPersisterFactory
is responsible for determining which persister should be used for which object. Most imported objects are handled
by the ReflectiveObjectPersister
.Modifier and Type | Method and Description |
---|---|
List<TransientHibernateHandle> |
persist(ImportProcessorContext context,
ImportedObject object)
Persist a given imported object.
|
List<TransientHibernateHandle> persist(ImportProcessorContext context, ImportedObject object) throws Exception
context
- the context of the current import operationobject
- the object to save.Exception
- if something goes wrong. To avoid duplication of "wrap everything in one exception type" code
in every persister, it is assumed wrapping happens at a higher level.Copyright © 2003–2020 Atlassian. All rights reserved.