You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@metamodel.apache.org by ar...@apache.org on 2021/01/15 07:43:34 UTC

[metamodel] 01/05: Fix JDBC integration test using wrong variable type

This is an automated email from the ASF dual-hosted git repository.

arjansh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/metamodel.git

commit 900ae79d7e9a635322598cc2e91463babfd1e12c
Author: William Edmisten <wc...@gmail.com>
AuthorDate: Tue Jan 5 09:36:06 2021 -0500

    Fix JDBC integration test using wrong variable type
---
 .../java/org/apache/metamodel/jdbc/integrationtests/PostgresqlTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jdbc/src/test/java/org/apache/metamodel/jdbc/integrationtests/PostgresqlTest.java b/jdbc/src/test/java/org/apache/metamodel/jdbc/integrationtests/PostgresqlTest.java
index 4132b1c..3541cb3 100644
--- a/jdbc/src/test/java/org/apache/metamodel/jdbc/integrationtests/PostgresqlTest.java
+++ b/jdbc/src/test/java/org/apache/metamodel/jdbc/integrationtests/PostgresqlTest.java
@@ -736,7 +736,7 @@ public class PostgresqlTest extends AbstractJdbIntegrationTest {
                             "Column[name=age,columnNumber=2,type=INTEGER,nullable=true,nativeType=int4,columnSize=10]",
                             table.getColumnByName("age").toString());
 
-                    cb.insertInto(table).value("person name", "John Doe").value("age", "42").execute();
+                    cb.insertInto(table).value("person name", "John Doe").value("age", 42).execute();
                 }
             });