私は h2 データベースの初心者です。ブラウザ コンソールを使用して h2 にいくつかのテーブルを作成しました。hibernate.cfg ファイルを作成しようとすると、以下のように作成されます。
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="hibernate.connection.driver_class">org.h2.Driver</property>
<property name="hibernate.connection.url">jdbc:h2:~/selva</property>
</session-factory>
</hibernate-configuration>
しかし、リバースエンジニアリングを作成しようとすると、以下のエラーが発生しました。
なぜそれが起こるのですか?.Netbeans は、mysql および mssql データベースのリバース エンジニアリング ファイルを作成します。しかし、h2 を作成しないのはなぜですか?
Cannot establish database connection with selected Hibernate Configuration file. Please verify the database connection details in hibernate.cfg.xml.
1.How to solve the above issue?
2.Is Querying inmemory database in hibernate is different from the persistent database?
2.Is Configuring inmemory database in hibernate is different from the persistent database?
どんな助けでも大歓迎です!!!