[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2857) schemaSupport for HSQLDialect remote connections doesn't work

Carlo de Wolf (JIRA) noreply at atlassian.com
Mon Sep 24 07:03:29 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_28182 ] 

Carlo de Wolf commented on HHH-2857:
------------------------------------

134   	                 try {
135 	                        // Does present HSQLDB Database class support schemas?
136 	                        // yuck! Perhaps we should think about a new dialect?  Especially
137 	                        // if more things are going to break back-compat moving forward
138 	                        ReflectHelper.classForName( "org.hsqldb.Database" ).getDeclaredField( "schemaManager" );
139 	                        schemaSupport = true;
140 	                }
141 	                catch (Throwable t) {
142 	                        schemaSupport = false;
143 	                }

> schemaSupport for HSQLDialect remote connections doesn't work
> -------------------------------------------------------------
>
>                 Key: HHH-2857
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2857
>             Project: Hibernate3
>          Issue Type: Bug
>    Affects Versions: 3.2.4.sp1
>         Environment: AS 5.0 rev 65579
>            Reporter: Carlo de Wolf
>
> Using a remote DataSource on an (in memory) HSQLdb leads into the HHH-608 issue.
> The HSQLDialect only enabled schemaSupport if schemaManager is defined in org.hsqldb.Database. This class is not available locally, since I'm using a remote data source. 
> Workaround: Put hsqldb.jar on my classpath.
> Is a depependency of EJBTHREE-1050.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list