I've been wondering about this, too, but too busy to experiment. Please 
post your results if you try it.

Chas.

Derek Chen-Becker wrote:
> I've only ever done something like this with the joined subclass support 
> in JPA, so I don't know if using raw traits for independent classes 
> would work. Easy to test, though.
> 
> Derek
> 
> On Fri, Apr 10, 2009 at 5:38 AM, Tim P <tim.pig...@optrak.co.uk 
> <mailto:tim.pig...@optrak.co.uk>> wrote:
> 
> 
>     more a scala question this: but with the JPA can I create Traits that
>     encapsulate the annotations for example an Id trait that includes @Id.
>     Any obvious drawbacks in doing so?
>     Thanks
>     Tim
> 
> 
> 
> 
> > 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to