Fixed a warning

This commit is contained in:
Lukas Eder 2012-10-19 17:20:41 +02:00
parent dfb0ae8717
commit 345ee6070e

View File

@ -43,8 +43,8 @@ import static org.jooq.examples.mysql.sakila.Tables.CUSTOMER;
import java.sql.Connection;
import java.sql.DriverManager;
import org.jooq.examples.mysql.sakila.SakilaFactory;
import org.jooq.impl.Factory;
import org.jooq.util.mysql.MySQLFactory;
public class Sakila {
@ -52,7 +52,7 @@ public class Sakila {
Class.forName("com.mysql.jdbc.Driver");
Connection connection = DriverManager.getConnection("jdbc:mysql://localhost/sakila", "root", "");
Factory create = new SakilaFactory(connection);
Factory create = new MySQLFactory(connection);
System.out.println(create
.select()