hsql « Table « JPA Q&A





1. HSQL Database (or table) recreated on each run    forum.hibernate.org

I am having trouble loading data back from my HSQL database. I can save data to the DB. But, if I re-run my main method and try and load the data the DB is empty. Almost like the DB (or at least the table) is being recreated each time. See details below.... Hibernate version: 3 Mapping documents:

2. Unexpected token: FROM in statement (create table in hsql)    forum.hibernate.org

Hibernate version: 3.3.1.GA Full stack trace of any exception that occurs: 15:09:43,957 ERROR [SchemaExport] Unsuccessful: create table Leave (id bigint generated by default as identity (start with 1), from timestamp, to timestamp, version integer, acceptant_id bigint, employee_id bigint, primary key (id)) 15:09:43,957 ERROR [SchemaExport] Unexpected token: FROM in statement [create table Leave (id bigint generated by default as identity (start with ...