File tree Expand file tree Collapse file tree
PgBulkInsert/pgbulkinsert-jpa/src/test/java/de/bytefish/pgbulkinsert/test/jpa Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ private List<SampleEntity> getSampleEntityList(int num) {
242242
243243 private boolean createTable () throws SQLException {
244244
245- String sqlStatement = "CREATE TABLE sample .unit_test" +
245+ String sqlStatement = "CREATE TABLE public .unit_test" +
246246 " (\n " +
247247 " id int8,\n " +
248248 " int_field int4,\n " +
@@ -259,7 +259,7 @@ private boolean createTable() throws SQLException {
259259 }
260260
261261 private ResultSet getAll () throws SQLException {
262- String sqlStatement = "SELECT * FROM sample .unit_test" ;
262+ String sqlStatement = "SELECT * FROM public .unit_test" ;
263263
264264 Statement statement = connection .createStatement ();
265265
@@ -270,7 +270,7 @@ private int getRowCount() throws SQLException {
270270
271271 Statement s = connection .createStatement ();
272272
273- ResultSet r = s .executeQuery (String .format ("SELECT COUNT(*) AS rowcount FROM sample .unit_test" ));
273+ ResultSet r = s .executeQuery (String .format ("SELECT COUNT(*) AS rowcount FROM public .unit_test" ));
274274 r .next ();
275275 int count = r .getInt ("rowcount" );
276276 r .close ();
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ public void writeShortAsIntValueTest() throws SQLException {
8282
8383 private boolean createTable () throws SQLException {
8484
85- String sqlStatement = "CREATE TABLE sample .unit_test" +
85+ String sqlStatement = "CREATE TABLE public .unit_test" +
8686 " (\n " +
8787 " id int8,\n " +
8888 " int_field int4\n " +
@@ -94,7 +94,7 @@ private boolean createTable() throws SQLException {
9494 }
9595
9696 private ResultSet getAll () throws SQLException {
97- String sqlStatement = "SELECT * FROM sample .unit_test" ;
97+ String sqlStatement = "SELECT * FROM public .unit_test" ;
9898
9999 Statement statement = connection .createStatement ();
100100
@@ -105,7 +105,7 @@ private int getRowCount() throws SQLException {
105105
106106 Statement s = connection .createStatement ();
107107
108- ResultSet r = s .executeQuery (String .format ("SELECT COUNT(*) AS rowcount FROM sample .unit_test" ));
108+ ResultSet r = s .executeQuery (String .format ("SELECT COUNT(*) AS rowcount FROM public .unit_test" ));
109109 r .next ();
110110 int count = r .getInt ("rowcount" );
111111 r .close ();
You can’t perform that action at this time.
0 commit comments