Simple subclass 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 2:03 UTC
Read the original article Hit count: 439

Filed under:
|
|

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

Related posts about lift

Related posts about mapper