Hi,

> I am having a hibernate project and trying to use H2 database for
> testing. I am having script.sql which contains the DDL queries for
> creating tables. Now what i need is to using thie sql file how to
> create the tables and refer this table from my hibernate project.

You might want to use ;INIT=... in the database URL. See
http://h2database.com/html/features.html#execute_sql_on_connection

> How
> to provide the h2 jdbc driver name, and hibernate dialect in the
> configuration file

See
http://h2database.com/html/tutorial.html?highlight=hibernate&search=hibernate#using_hibernate
You need to check the Hibernate documentation for details.

Regards,
Thomas

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to