Class JdbcPersistenceService
java.lang.Object
com.sap.cds.services.ServiceDelegator
com.sap.cds.services.utils.services.AbstractCqnService
com.sap.cds.services.impl.persistence.JdbcPersistenceService
- All Implemented Interfaces:
CqnService,PersistenceService,Service
-
Field Summary
Fields inherited from class com.sap.cds.services.utils.services.AbstractCqnService
runtimeFields inherited from interface com.sap.cds.services.cds.CqnService
EVENT_CREATE, EVENT_DELETE, EVENT_READ, EVENT_UPDATE, EVENT_UPSERTFields inherited from interface com.sap.cds.services.persistence.PersistenceService
DEFAULT_NAME -
Constructor Summary
ConstructorsConstructorDescriptionJdbcPersistenceService(String name, Supplier<Connection> connectionSupplier, TransactionManager txMgr, CdsRuntime runtime) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.sap.cds.ResultdefaultCreate(CdsCreateEventContext context) protected com.sap.cds.ResultdefaultDelete(CdsDeleteEventContext context) protected com.sap.cds.ResultdefaultRead(CdsReadEventContext context) protected com.sap.cds.ResultdefaultUpdate(CdsUpdateEventContext context) protected com.sap.cds.ResultdefaultUpsert(CdsUpsertEventContext context) protected voidensureTransaction(EventContext context) com.sap.cds.CdsDataStoreMethods inherited from class com.sap.cds.services.utils.services.AbstractCqnService
getTargetEntity, list, run, run, run, run, run, run, run, run, run, runMethods inherited from class com.sap.cds.services.ServiceDelegator
after, before, emit, getDelegatedService, getName, onMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
JdbcPersistenceService
public JdbcPersistenceService(String name, Supplier<Connection> connectionSupplier, TransactionManager txMgr, CdsRuntime runtime)
-
-
Method Details
-
ensureTransaction
-
defaultRead
-
defaultCreate
-
defaultUpsert
-
defaultUpdate
-
defaultDelete
-
getCdsDataStore
public com.sap.cds.CdsDataStore getCdsDataStore()
-