Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / August 2005

Tip: Looking for answers? Try searching our database.

Hibernate + HSQL (and an Apache Ant problem)

Thread view: 
daniellewis - 24 Aug 2005 09:21 GMT
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.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.