I would like to wrap the SQLQueryHandler in a custom query handler and make it available via an IQueryHandlerProvider. At the moment, this is not possible as SQLQueryHandler has a dependency to DBStoreAccessor which is not used.
Do I miss something? If not, I would like to patch the class. 2017-02-13 13:55 GMT+01:00 Eike Stepper <[email protected]>: > Am 11.02.2017 um 20:19 schrieb Erdal Karaca: > >> Hi Eike, >> Is there a reason why SQLQueryHandler has dependencies to >> IDBStoreAccessor? >> It just needs the IDBConnection and IDHandler of the DBStore. >> The DBStoreAccessor needs a session/transaction which the SQLQueryHandler >> does not seem to need. >> > A new SQLQueryHandler instance is created by the DBStoreAccessor for each > query and that instance just lives for the duration of the executeQuery() > call. So what's the problem with storing a pointer to the creator of the > handler in the handler? > > Cheers > /Eike > > ---- > http://www.esc-net.de > http://thegordian.blogspot.com > http://twitter.com/eikestepper > > > >> Thanks. >> >> Best regards, >> Erdal >> >> >> _______________________________________________ >> emf-dev mailing list >> [email protected] >> To change your delivery options, retrieve your password, or unsubscribe >> from this list, visit >> https://dev.eclipse.org/mailman/listinfo/emf-dev >> > > > _______________________________________________ > emf-dev mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/emf-dev >
_______________________________________________ emf-dev mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/emf-dev
