* The variable bindings, wrapped in {@link ERXSQLBinding} objects
*/
public static void runSqlQueryWithBindings( EOEditingContext ec, String modelName, String query, ERXSQLBinding... bindings ) {
EOObjectStore osc = ec.rootObjectStore();
EODatabaseChannel databaseChannel = databaseContextForModelName(ec,modelName).availableChannel();
osc.lock();
try {
EOAdaptorChannel adaptorChannel = databaseChannel.adaptorChannel();
if (!adaptorChannel.isOpen()) {