How to integrate the Scala Squeryl ORB with play 2.0 framework?

57 views
Skip to first unread message

roar

unread,
Mar 14, 2012, 10:26:47 AM3/14/12
to squ...@googlegroups.com
I just posted this question to stackoverflow:
http://stackoverflow.com/questions/9703688/how-to-integrate-the-scala-squeryl-orb-with-play-2-0-framework

Any help appreciated!

- Roar

rssh

unread,
Mar 14, 2012, 12:42:45 PM3/14/12
to Squeryl

Can say, that next expression in Global:

override def onStart(app:Application):Unit =
{
SessionFactory.concreteFactory = Some(
() => Session.create(DB.getDataSource().getConnection(),
dbAdapter)
);
}

....
val dbAdapter = new PostgreSqlAdapter();



On Mar 14, 4:26 pm, roar <roar.skulles...@gmail.com> wrote:
> I just posted this question to stackoverflow:http://stackoverflow.com/questions/9703688/how-to-integrate-the-scala...

roar

unread,
Mar 14, 2012, 5:05:50 PM3/14/12
to squ...@googlegroups.com
Thanks! I commented your answer on SO.
Reply all
Reply to author
Forward
0 new messages