Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6076795
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:38:55+00:00 2026-05-23T10:38:55+00:00

Hi I made a quick implementation of this: http://code.google.com/webtoolkit/articles/using_gwt_with_hibernate.html I created a simple login

  • 0

Hi I made a quick implementation of this:

http://code.google.com/webtoolkit/articles/using_gwt_with_hibernate.html

I created a simple login implementation of it. I created a simple login page and login button to trigger the service.

Inside the LoginServiceImpl.java:

@Override
public void createAccount(Account user) {
    try {
        Session session = HibernateUtil.getSessionFactory().getCurrentSession();
        session.beginTransaction();
        session.save(user);
        session.getTransaction().commit();
    }catch (HibernateException e) {
        e.printStackTrace();
    }catch (InvocationException e) {
        e.printStackTrace();

    }
}

However, i get this console output (truncated):

1110 [btpool0-0] INFO org.hibernate.tool.hbm2ddl.SchemaExport - schema export complete
Hibernate: insert into ACCOUNT (ACCOUNT_ID, name, password) values (null, ?, ?)
Hibernate: call identity(

)

Before I started the GWT app from eclipse, I run this command:

java -cp hsqldb.jar org.hsqldb.Server

And from the HSQLDB console (when the service is invoked):

[Server@691f36]: A pre-9.0 client attempted to connect.  We rejected them.

Is there a fix for this or I should use a different DB?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T10:38:55+00:00Added an answer on May 23, 2026 at 10:38 am

    The problem is this: You have got HSQLDB 2.0.0 on your classpath when you run

    java -cp hsqldb.jar org.hsqldb.Server
    

    But in Eclipse, a copy of HSQLDB 1.8 is being used. When Eclipse attempts to connect to the HSQLDB server, it uses this 1.8 jar, then the server complains that an older version is trying to connect.

    If you just want to experiment, use the HSQLDB 1.8 jar (smaller jar about 700 K) to run the server.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have made a quick Jsbin: http://jsbin.com/ujabew/edit#javascript,html,live What i'm trying to achieve is to
I made an html file called test.html then I navigated to it as http://site.com/test.html?test1=a
I have made a quick fiddle to outline my problem: http://jsfiddle.net/mYdxw/ I'm trying to
A very simple & quick question on Java libraries: is there a ready-made class
I made a quick search in Google and I couldnt find what I need,
What is the difference between mysql_real_query and mysql_query ? I've made a quick google
Just a quick questions.. I have made an outlook add-in for 2007 version and
Made solution change: I am trying to display a html table of data.. In
Made this nice little loop for hiding and showing div's, works as a charm
I made a code that translate strings to match each word from the array

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.