<div dir="ltr">Yeah, but I think we can kill two birds with one stone here. So if we do use Hibernate tools for this, I think we should still try to extract that functionality into something more generally useful like John wants to do.<br>
</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"><<a href="mailto:max.andersen@redhat.com" target="_blank">max.andersen@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">> Max,<br>
><br>
> I didn'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'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% "read via jbdc from a database and generate entities".<br>
<br>
But hibernate tools core which forge hibernate tools is using actually don't have to start with just a database; it can also be "take existing classes and generate artifacts from that". 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'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">><br>
> Thanks,<br>
><br>
><br>
><br>
><br>
><br>
> On Fri, Feb 15, 2013 at 11:52 AM, Max Rydahl Andersen <<a href="mailto:max.andersen@redhat.com">max.andersen@redhat.com</a>> wrote:<br>
><br>
> > Me too. However, I really, really want the feature: generate scaffold from an existing jpa library.<br>
><br>
> one way of doing this is just to use hibernatetools to get that model....<br>
><br>
> /max<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>
><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>
<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><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>"Simpler is better."
</div>