Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [emf-dev] [CDO] Reduce dependencies in SQLQueryHandler

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
emf-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/emf-dev




Back to the top