Closed GoogleCodeExporter closed 9 years ago
Sorry, when I put my example code in I missed some words. Example #1, 2nd line,
should read 'id LONG NOT NULL,', which should make more sense when viewed in
context
of the error generated.
Original comment by gary.may...@gtempaccount.com
on 29 May 2009 at 5:20
Hi,
I'm not sure if you saw the list of supported data types at
http://www.h2database.com/html/datatypes.html
Why do you need support for LONG, and what should it be mapped to (to a
java.lang.Long?) Is this a compatibility problem with another database, if yes
which
one supports LONG? Could you add a link to the documentation of this database?
Regards,
Thomas
Original comment by thomas.t...@gmail.com
on 2 Jun 2009 at 6:37
Thomas,
Thank you for the response. The trouble seems to be some discrepancy with the
documentation.
I was using the h2.pdf file for reference that was included in the H2 archive,
h2-2009-05-21.zip, in the /h2/docs/ directory. This is the same archive from
where I
drew the h2 jar file in the /h2/bin directory. I have attached the pdf document
to
this message. Please see the bottom of page 100 of 145, which (by my
understanding)
specifies a Long data type.
The link you provided, http://www.h2database.com/html/datatypes.html, obviously
talks
about BIGINT and doesn't include LONG. When I use BIGINT in the places that I
desired
a LONG, everything executes well. So, I will continue to use this reference
from here
on out.
Thanks again and regards,
- Gary
Original comment by gary.may...@gtempaccount.com
on 3 Jun 2009 at 12:29
Attachments:
After re-reviewing the pdf and the link, which now appear to be the same, I see
that
I was misreading the document. 'Long' is under the System Tables section. I am
assuming it is meant as the specification of a type of value that may be
inserted,
updated, etc. The data types are further down in the document.
I apologize for the error. Please close this issue.
Regards,
- Gary
Original comment by gary.may...@gtempaccount.com
on 3 Jun 2009 at 1:32
Hi,
I will try to support LONG as an alias for BIGINT in the next release. I'm not
sure
if it is possible, there might be a conflict with compatibility (for example
Oracle
supports LONG RAW which is a byte array).
Original comment by thomas.t...@gmail.com
on 6 Jun 2009 at 9:59
Original comment by thomas.t...@gmail.com
on 13 Jun 2009 at 7:59
Implemented in the latest release (1.1.115)
Original comment by thomas.t...@gmail.com
on 27 Jun 2009 at 9:38
Original issue reported on code.google.com by
gary.may...@gtempaccount.com
on 29 May 2009 at 8:17