You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Lift
Hello,
I would like to use lift ORM(Mapper) without lift, as a part of small
cli app.
I assume that it is possible but question is how to "init" MetaMapper/
Mapper class/objects without Boot.scala and DB setup inside it ?
Best regards,
Naftoli Gugenheim
unread,
Nov 2, 2009, 8:20:03 PM11/2/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to lif...@googlegroups.com
Do the same thing you do in Boot, at some point in you program before you access your Mappers.
You may need more jars than just the lift-mapper jar.
-------------------------------------
David Pollak
unread,
Nov 3, 2009, 9:13:45 AM11/3/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to lif...@googlegroups.com
As Naftoli mentioned, just make the same calls as you would in Boot (setting the DB provider, schemifying, etc.) in your app's initialization code.
Note that Mapper depends on lift-webkit, but this should not get in the way (other than consuming some space in the JVM) for other apps.