I have a SQL Server test database installed on my machine. I created a test account for SQL Server and two tables were created with this account in TestDb according to the default scheme. On my Java web application (simple JSP), I use Hibernate and configured it to point to a test database. However, when I create the hibernate.reveng file, the wizard does not find / display the available tables. See my hibernate configuration file:
<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=TestDb;</property> <property name="hibernate.connection.username">test</property> <property name="hibernate.connection.password">password</property> <property name="hibernate.dialect">org.hibernate.dialect.SQLServerDialect</property> </session-factory> </hibernate-configuration>
There is no error in going to the step where I should see the tables. It just doesn't display anything in the two tables of the database tables. I can even save the xml file without any warnings / errors, but there is no table inside. I need help with the current installation, so I can display and map tables using the sleep wizard.
source share