Hi Giuseppe,
Thanks for u r valuable support.i got the flavor of this framework.
I did one POC(sample application) with MySQL ...and its worked very
smoothly.
Is Lift provides support for MS SQL.?
Now i am using same thing with MS SQL but i am getting following
error :-
Message: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid
column name 'id'.
com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError
(Unknown Source)
com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown
Source)
com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement
(Unknown Source)
........
..........
In my application i am just reading table content with findAll method.
in my table i have only two fields - EmpId, EmpName
i checked all things but didnt get any clue
In short -
Is lift's mapper framework provides Support for MS SQL ?
Thanks
-Pravin
On Jul 30, 12:34 pm, Giuseppe Fogliazza <[email protected]> wrote:
> Dear Pravin.
> Your requests address very basic behaviour of the framework, and you
> should not experience any problem in adapting examples from the
> aforementioned book.
> Even simpler you could follow the Todo example in Getting Started with
> Lift accessible from liftweb site (http://liftweb.net/docs/
> getting_started/mod_master.html).
> Related to persistency at the moment you should concentrate on using
> Mapper.
> Creating your model object is a breeze. Create a MyItem.scala file
> with the following entities (your project should have a model package
> to contain this stuff)
>
> class MyItem extends LongKeyedMapper[MyItem] with IdPK {
> def getSingleton = MyItem
> object name extends MappedPoliteString(this,64)}
>
> object MyItem extends MyItem with LongKeyedMetaMapper[MyItem]
>
> Modify the Schemifier line in Boot.scala to add your MetaMapper object
> Schemifier.schemify(true, Log.infoF _, User, MyItem)
>
> ... and now you can start having fun in creating the next web killer
> app using Lift.
>
> Regards
> Giuseppe
>
> On 30 Lug, 07:52, pravin <[email protected]> wrote:
>
> > Hi,
> > Guys i am new to Lift.
>
> > I want to use mapper and record framework.
>
> > I have following case:
>
> > 1. Table with two column [id,name] ...// I have MySQL DB
>
> > 2. i want to fire select query on above table
>
> > 3. Display above result on GUI
>
> > How can i do this with mapper and record:
>
> > I done with Boot.scala chages as per steps mentioned in "Exploring
> > Lift: Scala-based Web Framework" book
> > but i am not able to create mapper or record class ...how can i do
> > this and put query on top of this.
>
> > Also where can i get detail information about mapper and record
> > framework as above book is not sufficient for this
>
> > Thanks in advance..
> > -Pravin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---