[hibernate-issues] [Hibernate-JIRA] Created: (HHH-7318) Hibernate incorrecly registers BIGINT as corresponding to Java's BigInteger type.

Pedro Alvarado (JIRA) noreply at atlassian.com
Sat May 12 01:00:12 EDT 2012


Hibernate incorrecly registers BIGINT as corresponding to Java's BigInteger type.
---------------------------------------------------------------------------------

                 Key: HHH-7318
                 URL: https://hibernate.onjira.com/browse/HHH-7318
             Project: Hibernate ORM
          Issue Type: Bug
          Components: core
    Affects Versions: 4.1.3
         Environment: All hibernate versions, all environments.
            Reporter: Pedro Alvarado


The JDBC type BIGINT, per the JDBC specification, corresponds to the Java type long. However, in dialect.java, BIGINT is registered as shown below. Most, if not all databases, use 64 bit integers for BIGINT.

Currently:
registerHibernateType( Types.BIGINT, StandardBasicTypes.BIG_INTEGER.getName() );

Expected:
registerHibernateType( Types.BIGINT, StandardBasicTypes.LONG.getName() );



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list