You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Mark Struberg (Jira)" <ji...@apache.org> on 2021/04/04 13:12:00 UTC

[jira] [Commented] (OPENJPA-2648) hsqldb @Id long create table as interger instead of bigint

    [ https://issues.apache.org/jira/browse/OPENJPA-2648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17314492#comment-17314492 ] 

Mark Struberg commented on OPENJPA-2648:
----------------------------------------

there was indeed a mapping in the HSQLDictionary which mapped it that way. It was from 2006 and hsqldb now perfectly supports BIGINT natively. So I will remove this special handling which makes it fall back to BIGINT for long.

> hsqldb @Id long create table as interger instead of bigint
> ----------------------------------------------------------
>
>                 Key: OPENJPA-2648
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2648
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 2.4.1
>         Environment: Windows 7
> Java 1.8.0_65
>            Reporter: Bruno
>            Assignee: Mark Struberg
>            Priority: Blocker
>
> I've got an entity with Long as @Id.
> OpenJPA creates database in a hsqldb environment.
> The query that created table is : create table toto id integer identity.
> It should be create table toto id bigint identity.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)