0
我正在开发一个使用Netbeans休眠和MySQL的应用程序,这工作得很好。 将后台切换到Derby嵌入式数据库时,hibernate无法执行逆向工程。打开NETbeans休眠和mysql到derby嵌入式
随着消息:cannot access database with the configuration in "hibernate.cfg"
我的配置:
<hibernate-configuration>
<session-factory>
<property name="hibernate.default_schema">servlandDERBY</property>
<property name="hibernate.connection.driver_class">org.apache.derby.jdbc.EmbeddedDriver</property>
<property name="hibernate.connection.url">jdbc:derby:servlandDERBY</property>
<property name="hibernate.dialect">org.hibernate.dialect.DerbyDialect</property>
<property name="hibernate.show_sql">true</property>
<property name="hibernate.query.factory_class">org.hibernate.hql.ast.ASTQueryTranslatorFactory</property>
</session-factory>
我已经包括在我的项目jar文件JavaDB之外,其中包括的derby.jar 我必须作出任何其他Netbeans中的设置或额外配置?
我的回答可以帮到你吗? – 2013-02-25 19:24:18