Questions tagged [hbm2java]

Use this tag when using hbm2java for Hibernate Class Generation

Hibernate is a popular open source library for handling object/relational persistence and queries. In Hibernate, mapping between database tables and POJO ("plain old Java objects") classes is configured in a set of XML mapping files. hbm2java is a code generator that converts the mapping files into POJOs. It is part of the Hibernate Tools subproject and can be downloaded in the separate Hibernate Extensions package.

Hibernate Class Generation Using hbm2java - O'Reilly Media

32 questions
0
votes
3 answers

"'hibernate.dialect' must be set when no Connection available " error despite having set the dialect

I have tried to run a hibernatetool Ant task but i've been unsuccesfull.Help. The jars are from my eclipse(3.7.2) hibernate tools plugin(3.4). I get a org.hibernate.HibernateException: 'hibernate.dialect' must be set when no Connection available …
geogeorge
  • 141
  • 1
  • 3
  • 7
0
votes
1 answer

Generate JPA compatible POJO's from DB2 schema (similar to middlegen+hbm2java)?

I want to automatically generate POJO's corresponding to a set of DB/2 tables to test if JPA will work well for a new application. In ancient history I used middlegen to create Hibernate mappings which then hbm2java could create POJOs from, and…
Thorbjørn Ravn Andersen
  • 73,784
  • 33
  • 194
  • 347
1 2
3