Simple extend mappable class in lift
Posted
by coubeatczech
on Stack Overflow
See other posts from Stack Overflow
or by coubeatczech
Published on 2010-04-18T01:55:26Z
Indexed on
2010/04/18
3:03 UTC
Read the original article
Hit count: 431
Hi, is there any way how to easy subclass a Mapped class in lift framework?
class One extends LongKeyedMapper[One] with IdPK{
object sharedField extend MappedString(this)
}
class Two extends One[*]{
...
}
*and now I can't hint the compiler because One is not defined generic.
So this doesn't work, what is the right way?
© Stack Overflow or respective owner