1. explicity specifying name for hsqldb schema within hibernate coderanch.comIt seems the default name for a schema in hsqldb is "PUBLIC" . This I discern looking in smdv.script CREATE SCHEMA PUBLIC AUTHORIZATION DBA CREATE MEMORY TABLE STUDENTS_OF_DISTRICT(ID BIGINT NOT NULL PRIMARY KEY,....... which in turn gets created due to what's in smdv.cfg.xml |
2. HSQLDB boolean Hibernate schema validation fails forum.hibernate.orgHibernate version: 3.3.2.GA When running against an in-memory HSQLDB 1.8.0.9 I get the following error: Code: org.hibernate.HibernateException: Wrong column type in PUBLIC.AC_USER for column enabled. Found: boolean, expected: bit at org.hibernate.mapping.Table.validateColumns(Table.java:284) at org.hibernate.cfg.Configuration.validateSchema(Configuration.java:1130) at org.hibernate.tool.hbm2ddl.SchemaValidator.validate(SchemaValidator.java:139) at org.hibernate.impl.SessionFactoryImpl. |
3. error by schemaexport HSQLDB forum.hibernate.orgHello, I am new in Hibernate and try to write my first "helleworld" program. I am using the step in the book "Java persistence with Hibernate". as I run the build.xml with ant I become the following error. The error came as a schema have to be generate to on the database using hbm2ddl (German)Deutsch: Hallo, ich bin neue in Hibernate ... |
4. Schema export w/ HsqlDB forum.hibernate.orgI'm unable to get schema export working with either Hsql 1.7.1 or 1.8.0. The errors differ in either case, but it fails with both. See below for sample mapping file and the exact log output from Hibernate. In summary: With 1.7.1, I get an error, "Unexpected token: GENERATED" With 1.8.0, I get an error, "Constraint already exists in statement [create table ... |