"Neil.Lv" writes:
> Hi all,
>
> I use two db connections in my app, and I want to use
> DB.prepareStatement to select
> the records from the second db.
>
> It failed, Here is the code:
> ###
> def getHotByTid(id : Long) =
> DB.use(bootstrap.liftweb.TwoDB) {
> conn =>
> DB.
Hi all,
I use two db connections in my app, and I want to use
DB.prepareStatement to select
the records from the second db.
It failed, Here is the code:
###
def getHotByTid(id : Long) =
DB.use(bootstrap.liftweb.TwoDB) {
conn =>
DB.prepareStatement("SELECT * FROM hots WHE