Mapper (by default)

On May 27, 11:03 pm, Timothy Perrett <timo...@getintheloop.eu> wrote:
> What persistance mech are you using Mapper or JPA? The solution
> differs depending on your choice.
>
> Cheers, Tim
>
> On May 27, 10:38 pm, Joe Wass <j...@folktunefinder.com> wrote:
>
> > Is there an idiomatic way to represent the following? I've done it
> > many times before manually in PHP, but never with ORM. I suppose I
> > know how I'd do it in Lift long-hand (I'm very new) but there might be
> > a 'Lift' way of doing it. Subject could be an enum or a table.
>
> > Entity: School
> > Entity: Subject
>
> > School can have multiple subjects.
>
> > School ---* SubjectInstance --- Subject
>
> > I suppose ideally I'd like to be able to treat it as School having a
> > Set of enums.
>
> > TIA
>
> > Joe

--~--~---------~--~----~------------~-------~--~----~
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