Hi,
Not sure why your custom DataDomainProvider is never called. Your
binding looks good to me, and nothing there was changed in 4.0.B1 (see
[1]).
But you should change PCATransactionFilter binding, as List bindings
were redesigned.
Correct way to add filter is following:
ServerModule.contributeD
I am using 4.0.M5.
The next code used to work in a previous version, but now PCADataDomainProvider
is never called to create my custom DataDomain:
public class ServerModuleWithPostCommitActions implements
org.apache.cayenne.di.Module {
@Override
public void configure(Binder binder) {
I tried a db trigger fired on db commit (when all cayenne data is flushed to
db), but a problem arise if there is some db exception: persistent objects stay
"commited" because commitChanges changes the persistenceState before db commit,
It is desirable that persistenceState remains o returns to
Hi Juan,
couldn't you do this more easily and reliably with a db trigger?
Maik
> Am 06.03.2018 um 16:11 schrieb Juan Manuel Diaz Lara
> :
>
> Is there any way to call a stored procedure as part of commitChanges ?
> I would like to call a stored procedure after flushing my persistent objects
Is there any way to call a stored procedure as part of commitChanges ?
I would like to call a stored procedure after flushing my persistent objects
but before the real db commit, for instance, to make some process on the db as
part of committing my objects, but transactionally.
performInTransac