2017-10-03 6 views
0

Hibernateでリバースエンジニアリングに問題があります。休止状態でリバースエンジニアリングを生成しないエンティティ

私は私Hibernateは

ように見えるreveng.xml

<?xml version="1.0" encoding="UTF-8"?> 
<!DOCTYPE hibernate-configuration PUBLIC 
    "-//Hibernate/Hibernate Configuration DTD 3.0//EN" 
    "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd"> 
<hibernate-configuration> 
<session-factory> 
    <property name="hibernate.connection.driver_class">org.mariadb.jdbc.Driver</property> 
    <property name="hibernate.connection.password">toto</property> 
    <property name="hibernate.connection.url">jdbc:mariadb://127.0.0.1:3306/</property> 
    <property name="hibernate.connection.username">titi</property> 
    <property name="hibernate.dialect">org.hibernate.dialect.MariaDB53Dialect</property> 
</session-factory> 
</hibernate-configuration> 

hibernate.cfg.xmlのようにこれを持って私のポンポンで、この依存関係をしましたし、ちょうどそれらの2

<dependencies> 
<dependency> 
    <groupId>org.hibernate</groupId> 
    <artifactId>hibernate-core</artifactId> 
    <version>5.2.11.Final</version> 
</dependency> 
<dependency> 
    <groupId>org.mariadb.jdbc</groupId> 
    <artifactId>mariadb-java-client</artifactId> 
    <version>2.1.2</version> 
</dependency> 
</dependencies> 

<?xml version="1.0" encoding="UTF-8"?> 
<!DOCTYPE hibernate-reverse-engineering PUBLIC "-//Hibernate/Hibernate Reverse Engineering DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-reverse-engineering-3.0.dtd" > 

<hibernate-reverse-engineering> 
    <table-filter match-catalog="boutique" match-name="caracterise"/> 
    <table-filter match-catalog="boutique" match-name="caracteristiques"/> 
    <table-filter match-catalog="boutique" match-name="categories"/> 
    <table-filter match-catalog="boutique" match-name="clients"/> 
    <table-filter match-catalog="boutique" match-name="commentaires"/> 
    <table-filter match-catalog="boutique" match-name="commente"/> 
    <table-filter match-catalog="boutique" match-name="contient"/> 
    <table-filter match-catalog="boutique" match-name="fournis"/> 
    <table-filter match-catalog="boutique" match-name="fournisseurs"/> 
    <table-filter match-catalog="boutique" match-name="marques"/> 
    <table-filter match-catalog="boutique" match-name="nomcaracteristique"/> 
    <table-filter match-catalog="boutique" match-name="paniers"/> 
    <table-filter match-catalog="boutique" match-name="produits"/> 
</hibernate-reverse-engineering> 

と、私は「休止状態コード生成の設定」ビットのためのコンピュータ作業を実行するが、ときに私は、任意のコードの属を持っていませんンと私は持っていないエラーメッセージ

すべての私のファイルが自動私がしましたエラーログボックスではdebian 9

上の日食の酸素とjdk1.8.0_144 32ビットの最終JBossのツール4.5.0で生成されています今すぐこのメッセージが届きました

org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment] 
    Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment] 
     org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment] 
     Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment] 
     org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set 
     Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set 

答えて

0

コンソールの設定を試みる可能性があります。私はDevStudioを使用していますので、DevStudioがjbossツールを使用していることはわかっていますが、これが酸素のjbossツールと同じかどうかは完全にはわかりません。

jboss tools configuration