Error creating table with dollar in name?

  • Gdubya

    Gdubya - 2013-08-20

    We are trying to upgrade hsqldb from 2.3.0, however several unit tests are now failing. After enabling logging I see the following messages in the log:

    3169 [main] INFO  org.hibernate.tool.hbm2ddl.SchemaExport  - Running hbm2ddl schema export
    3171 [main] INFO  org.hibernate.tool.hbm2ddl.SchemaExport  - exporting generated schema to database
    3191 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport  - Unsuccessful: create table ProcedureResult$Operation (id bigint generated by default as identity (start with 1), name varchar(255), result_id bigint, primary key (id))
    3191 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport  - unexpected token: PROCEDURERESULT$OPERATION

    Is this because of the $ symbol in the table name?

  • Fred Toussi

    Fred Toussi - 2013-08-20

    You need to set a property to allow those names. See the Guide.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks