[Lift] jpa, emf Model and unit tests

2009-04-27 Thread Tim P
Hi I'm looking for some guidance here and I don't think this is addressed in the book. I've got domain classes that need to go get stuff from the database list all ... type of methods. So presumably my domain class should have, or be allowed to have methods that access Model But my unit tests

[Lift] where's the wiki

2009-04-20 Thread Tim P
Hi Where exactly is the wiki referenced from on the main liftweb.net site? I can't see any links Tim --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to

[Lift] Re: JPA: putting persistence Id into trait

2009-04-16 Thread Tim P
http://joda-time.sourceforge.net/contrib/hibernate or thereabouts Tim On Apr 14, 8:42 pm, Charles F. Munat c...@munat.com wrote: Tim, Where does one find these UserTypes? I'm really interested in switching to JodaTime. Chas. Tim P wrote: If I start working with scala jpa (decision

[Lift] I want to subclass my Lifit projects

2009-04-16 Thread Tim P
Hi, This comes directly from The Book list as an invitation from Marius as a subject for discussion :-) What I want to do is have a standard program, with a complex domain model and some nice UI features. But all my clients want extras. They want: a) a few extra fields to suit them b) the

[Lift] JPA: putting persistence Id into trait

2009-04-13 Thread Tim P
For info, you can take the book sample jpa application and split out the hibernate Id stuff as follows: import common.JPAId ... /** This class represents a book that we might want to read. */ @Entity class Book extends Title with JPAId { where JPAId was declared trait JPAId { @Id

[Lift] Re: Big Domain Model - Lift and Persistence

2009-04-10 Thread Tim P
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

[Lift] Big Domain Model - Lift and Persistence

2009-04-09 Thread Tim P
Hi I'm embarking on a web project with a big domain model (50+ classes - supply chain application). I was all set to go using a combination of Java domain classes, a bit of mixin via ClassFileTransformer, Hibernate and Grails as a web framework. Someone said if you're looking at mixin look at