Would hibernate tools read JPA annotations, or only hibernate's?
What kind of artifacts does it generate? Does this activate a template
translation?
What is the name of this feature, so I can find it in the hibernate tools
documentation?
On Mon, Feb 18, 2013 at 6:50 AM, Max Rydahl Andersen <
max.andersen(a)redhat.com> wrote:
> Max,
>
> 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.
I actually send that email to early not explaining well what I meant ;)
The current forge hibernate tools is 100% "read via jbdc from a database
and generate entities".
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.
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
in the short time. Just a thought.
/max
>
> Thanks,
>
>
>
>
>
> On Fri, Feb 15, 2013 at 11:52 AM, Max Rydahl Andersen <
max.andersen(a)redhat.com> wrote:
>
> > Me too. However, I really, really want the feature: generate scaffold
from an existing jpa library.
>
> one way of doing this is just to use hibernatetools to get that model....
>
> /max
> _______________________________________________
> forge-dev mailing list
> forge-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/forge-dev
>
> _______________________________________________
> forge-dev mailing list
> forge-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/forge-dev
_______________________________________________
forge-dev mailing list
forge-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev