Click here to Skip to main content
15,886,807 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
when I run Hibernate mapping files and POJOs wizard in NetBeans IDE 11.0.3 It doesn't create mapping files user.hbm.xml or POJO class for table user.


What I have tried:

hibernate.cfg.xml

XML
<hibernate-configuration>
  <session-factory>

  <property name="hibernate.dialect">org.hibernate.dialect.H2Dialect</property> 
  <property name="hibernate.connection.driver_class">org.h2.Driver</property>

  <property name="hibernate.connection.url">jdbc:h2:file:./NetBeansProjects/JFXH2/src/database/retailfx;AUTO_SERVER=true</property>

  <property name="hibernate.connection.username">sa</property>
  <property name="hibernate.connection.password">sa</property>
  
</session-factory>
</hibernate-configuration>



hibernate.reveng.xml

XML
<hibernate-reverse-engineering>
      <schema-selection match-catalog="RETAILFX"/>
      <table-filter match-name="user"/>
</hibernate-reverse-engineering>
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900