Workaround, Join
<propertyname="hibernate.default_schema">dbo</property>
The complete hibernate.cfg.xml is as follows:
<?xml version= "1.0" encoding= "UTF-8"?><! DOCTYPE hibernate-configuration SYSTEM "File:///E:/Download/Program/hibernate-configuration-3.0.dtd" ><hibernate-configuration> <session-factory> < property name="Hibernate.connection.driver_class">Com.microsoft.sqlserver.jdbc.SQLServerDriver</Property > < property name="Hibernate.connection.url">Jdbc:sqlserver://localhost:1433;databasename=lessonra</Property > < property name="Hibernate.dialect">Org.hibernate.dialect.SQLServerDialect</Property > < property name="Hibernate.connection.username">God</Property > < property name="Hibernate.connection.password">God</Property > < property name="Hibernate.default_schema">Dbo</Property > </session-factory></hibernate-configuration>
Then the database can be brushed out:
Reading schema Error:null