Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <blockquote> <p>HibernateToolTask (hbm2hbmxml) doesn’t generate index in hibernate-mapping from @o.h.a.Index annotations</p> </blockquote> <p>The intention is not clear but this might just not be implemented. From the documentation:</p> <blockquote> <h3><a href="http://docs.jboss.org/tools/2.1.0.Beta1/hibernatetools/html/ant.html#d0e2979" rel="nofollow noreferrer">4.4.3. Hibernate Mapping files exporter (<code>&lt;hbm2hbmxml&gt;</code>)</a></h3> <p><code>&lt;hbm2hbmxml&gt;</code> generates a set of .hbm files. Intended to be used together with a when performing reverse engineering, but can be used with any kind of configuration. e.g. to convert from annotation based pojo's to hbm.xml.</p> <p><strong>Not every possible mapping transformation is possible/implemented (contributions welcome) so some hand editing might be necessary.</strong></p> </blockquote> <p>Contributions welcome :)</p> <blockquote> <p>I want to reverse engineer existing database to POJOs. POJOs are generated from mapping and mapping (generated using jdbcannotation-hbm2hbmxml) doesn't have any indexes. I believe this is essentially the same problem: hbm2hbmxml doesn't generate indexes.</p> </blockquote> <p>You don't have to generate mapping for this, you can generate EJB 3 annotated POJOs from the database with <a href="http://docs.jboss.org/tools/2.1.0.Beta1/hibernatetools/html/ant.html#d0e2903" rel="nofollow noreferrer"><code>&lt;hbm2java&gt;</code></a>. Maybe you should explain what you're trying to do exactly.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload