Property | Type | Description | |
---|---|---|---|
$metadataMapping | array | Mapping metadata type to factory method. |
Method | Description | |
---|---|---|
factory ( AppserverIo\Psr\Application\ApplicationInterface $application, AppserverIo\Appserver\Core\Api\Node\PersistenceUnitNodeInterface $persistenceUnitNode ) : object | Creates a new entity manager instance based on the passed configuration. |
public static factory ( AppserverIo\Psr\Application\ApplicationInterface $application, AppserverIo\Appserver\Core\Api\Node\PersistenceUnitNodeInterface $persistenceUnitNode ) : object | ||
$application | AppserverIo\Psr\Application\ApplicationInterface | The application instance to create the entity manager for |
$persistenceUnitNode | AppserverIo\Appserver\Core\Api\Node\PersistenceUnitNodeInterface | The datasource configuration |
return | object | The entity manager instance |
protected static array $metadataMapping | ||
return | array |