@@ -0,0 +1,1761 @@
+/*%0A * Copyright (C) 2011 Everit Kft. (http://www.everit.org)%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *         http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage org.everit.persistence.querydsl.support.ri;%0A%0Aimport java.sql.Connection;%0Aimport java.sql.SQLException;%0A%0Aimport javax.sql.DataSource;%0A%0Aimport org.everit.persistence.querydsl.support.QuerydslCallable;%0Aimport org.everit.persistence.querydsl.support.QuerydslSupport;%0A%0Aimport com.mysema.query.sql.Configuration;%0A%0A/**%0A * Implementation class of %7B@link QuerydslSupport%7D.%0A */%0Apublic class QuerydslSupportImpl implements QuerydslSupport %7B%0A%0A  private Configuration configuration;%0A%0A  private DataSource dataSource;%0A%0A  /**%0A   * Constructor.%0A   *%0A   * @param configuration%0A   *          Querydsl configuration.%0A   * @param dataSource%0A   *          DataSource for database connections.%0A   */%0A  public QuerydslSupportImpl(final Configuration configuration, final DataSource dataSource) %7B%0A    this.configuration = configuration;%0A    this.dataSource = dataSource;%0A  %7D%0A%0A  @Override%0A  public %3CR%3E R execute(final QuerydslCallable%3CR%3E callable) %7B%0A    try (Connection connection = dataSource.getConnection()) %7B%0A      return callable.call(connection, configuration);%0A    %7D catch (SQLException e) %7B%0A      throw configuration.translate(e);%0A    %7D%0A  %7D%0A%7D%0A

add reference implementation to QuerydslSupport.