Skip to content
Snippets Groups Projects
Commit e8271c3b authored by Jan Kožusznik's avatar Jan Kožusznik
Browse files

Reduce visibility

parent 180ab6c1
No related merge requests found
package table_view;
public interface JDBCDialect {
interface JDBCDialect {
String getDriverClazzName();
String getDriverID();
String getCreateTable();
......
......@@ -2,7 +2,7 @@ package table_view;
import javafx.beans.property.SimpleStringProperty;
public class Person {
class Person {
private final Long id;
private final SimpleStringProperty firstName;
......
......@@ -9,8 +9,7 @@ import java.sql.Statement;
import java.util.Collection;
import java.util.LinkedList;
public class PersonDAO implements AutoCloseable{
class PersonDAO implements AutoCloseable{
private static final String INSERT_SQL = "INSERT INTO person(first_name, last_name, email) values (?,?,?)";
......
package table_view;
public class PostgresqlJDBCDialect implements JDBCDialect{
class PostgresqlJDBCDialect implements JDBCDialect{
@Override
public String getDriverClazzName() {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment