> Why not just adding the annotations to the sources?
Are you refering to hibernate-annotations? I add annotations to the source,
but not hibernate ones. I use other "simpler" which finally generate
hibernate annotations (at runtime).

One example, If a Person has a list of Address, it's not necesary any
annotation, it will automatically add "one2many". It's not a big tool, it's
just simplifing. And thanks for clarifying that T5 uses it's own
classloader.

On Thu, Mar 4, 2010 at 5:05 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:

> On Thu, 04 Mar 2010 16:16:39 -0300, Alfonso Quiroga <
> alfonsose...@gmail.com> wrote:
>
>  The problems are respected to ClassLoaders (I think T5 uses a custom
>> classloader, or reuses javassist classloader to have "live class
>> reloading").
>>
>
> Tapestry uses its own classloader for classes in controlled packages
> (pages, componentes, mixins and base).
>
>
>  1) You have your domain classes in X package, you don't add hibernate
>> annotations, you have to add other few annotations much simpler (only in
>> cases like many2many.. much other cases are deducted from the code)
>>
>
> Why not just adding the annotations to the sources? I can't figure out what
> you're trying to do here.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, software architect and developer, Ars Machina Tecnologia da
> Informação Ltda.
> http://www.arsmachina.com.br
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to