Hello, I hope you can help,
I always seem to have trouble right from the start when I try to use
Hibernate and HSQL. When I tried to follow "Hibernate: A developers
notebook" by James Elliott (O'Reilly) and when I try to do this (
http://www.warfrog.com/hibernatetutorial/ ) tutorial I am having
problems.
The first trouble is with ant, whenever I run Ant I get this message:
Files\Javazjre1.5.0_04\lib\ext\QTJava.zip""=="" was unexpected at this
time.
The second problem arises when I try to put the first bit of SQL from
the online tutorial into the HSQL Database Manager to create the GROUPS
table. I get this error:
Unexpected token in statement [CREATE TABLE GROUPS (group_id int NOT
NULL INDENTITY, name LONGVARCHAR(255]Error Code: -11/State:37000
I have followed the tutorial exactly,
I have Windows XP Professional and Java 1.5 and 1.4.
Thank you for any information you can give, if you need to know
anything else you may MSN or reply to this message.
aMSN: djlapple@hotmail.com
Thanks,
Daniel Lewis.
Analyst Programmer,
Software Engineering Student,
ACM Student Member,
Fuzzy Theorist.
daniellewis - 24 Aug 2005 09:34 GMT
I have fixed the HSQL problem... HSQLDB doesn't seem to accept variable
length LONGVARCHARs, so I have taken away any the (<length>) out of the
LONGVARCHAR(<length>)'s.
I am still having trouble with Apache Ant though... troublesome.