@Component
@ConditionalOnExpression(value="!${bld.commons.multiple.datasource:false} and !T(org.springframework.util.StringUtils).isEmpty(\'${spring.datasource.url:}\')")
public class ExcelSingleDataSource
extends ExcelBaseDataSource
implements ExcelDataSource
applicationContextMULTIPLE_DATASOURCE| Constructor and Description |
|---|
ExcelSingleDataSource() |
| Modifier and Type | Method and Description |
|---|---|
javax.persistence.EntityManager |
getEntityManager(String unitName)
Gets the entity manager.
|
getNamedParameterJdbcTemplateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamedParameterJdbcTemplatepublic javax.persistence.EntityManager getEntityManager(String unitName)
getEntityManager in interface ExcelDataSourceunitName - the unit nameCopyright © 2022. All rights reserved.