<div dir="ltr">Would hibernate tools read JPA annotations, or only hibernate&#39;s?<div><br></div><div>What kind of artifacts does it generate?  Does this activate a template translation?</div><div><br></div><div style>What is the name of this feature, so I can find it in the hibernate tools documentation?</div>
<div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 18, 2013 at 6:50 AM, Max Rydahl Andersen <span dir="ltr">&lt;<a href="mailto:max.andersen@redhat.com" target="_blank">max.andersen@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">&gt; Max,<br>
&gt;<br>
&gt; I didn&#39;t know hibernate tools had a reveng plugin to forge.  It did not occur to me to look because I was too focused on generating gui from entities which we developed manually.  I&#39;ll try it to see what results.<br>

<br>
</div>I actually send that email to early not explaining well what I meant ;)<br>
<br>
The current forge hibernate tools is 100% &quot;read via jbdc from a database and generate entities&quot;.<br>
<br>
But hibernate tools core which forge hibernate tools is using actually don&#39;t have to start with just a database; it can also be &quot;take existing classes and generate artifacts from that&quot;. As long as hibernate core can understand the mappings hibernate tools can load it.<br>

<br>
The limitation of this is  of course you don&#39;t have the full Forge API available to you (since hibernate tools was done pre-forge) but at least it is an alternative that could be looked into using<br>
in the short time. Just a thought.<br>
<span class="HOEnZb"><font color="#888888"><br>
/max<br>
</font></span><div class="HOEnZb"><div class="h5">&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Feb 15, 2013 at 11:52 AM, Max Rydahl Andersen &lt;<a href="mailto:max.andersen@redhat.com">max.andersen@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; Me too. However, I really, really want the feature: generate scaffold from an existing jpa library.<br>
&gt;<br>
&gt; one way of doing this is just to use hibernatetools to get that model....<br>
&gt;<br>
&gt; /max<br>
&gt; _______________________________________________<br>
&gt; forge-dev mailing list<br>
&gt; <a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; forge-dev mailing list<br>
&gt; <a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
<br>
<br>
_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
</div></div></blockquote></div><br></div>