You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by st...@apache.org on 2021/04/04 13:15:43 UTC

[openjpa] branch master updated: OPENJPA-2648 map long to BIGINT

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 515756b  OPENJPA-2648 map long to BIGINT
515756b is described below

commit 515756b8237353b07d8fa617dc9d6f797ffddf6a
Author: Mark Struberg <st...@apache.org>
AuthorDate: Sun Apr 4 15:11:28 2021 +0200

    OPENJPA-2648 map long to BIGINT
---
 .../main/java/org/apache/openjpa/jdbc/sql/HSQLDictionary.java | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/HSQLDictionary.java b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/HSQLDictionary.java
index 35d6010..a3e3332 100644
--- a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/HSQLDictionary.java
+++ b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/HSQLDictionary.java
@@ -161,17 +161,6 @@ public class HSQLDictionary extends DBDictionary {
         }
     }
 
-    @Override
-    public int getJDBCType(int metaTypeCode, boolean lob) {
-        int type = super.getJDBCType(metaTypeCode, lob);
-        switch (type) {
-            case Types.BIGINT:
-                if (metaTypeCode == JavaTypes.BIGINTEGER)
-                    return Types.NUMERIC;
-                break;
-        }
-        return type;
-    }
 
     @Override
     public int getPreferredType(int type) {