Uploaded image for project: 'Apache Roller'
  1. Apache Roller
  2. ROL-1855

Automatic table creation fails on HSQLDB

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.0
    • 5.0
    • None
    • Ubuntu 8.04 LTS, Sun JDK 1.6, Tomcat 6.0.20, HSQLDB 2.0 RC8
    • Chrome 3.0
    • HSQLDB 2.0 RC8
    • 1.6
    • 0.25
    • Ubuntu 8.04 LTS

    Description

      When Tomcat and Roller is set up with HSQLDB, I get a complaint when Roller tries to create its tables.
      The exact message is "Unexpected token 'DEFAULT'" and comes up during the execution of the create table script for the table "webpage".

      The bug is caused by a mistake in the keyword order and can be fixed by replacing:
      action varchar(16) not null default 'custom'
      with:
      action varchar(16) default 'custom' not null

      After this change all tables are created just fine.

      Attachments

        Activity

          People

            djohnson David Johnson
            juergenk Juergen Kellerer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified