[Lift] Re: JTA showSQL

2009-02-10 Thread Viktor Klang
Otherwise you can enable it in the logging: log4j.logger.org.hibernate.SQL=DEBUG On Tue, Feb 10, 2009 at 7:50 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: Interesting idea. I'll look into adding something like this (configurable at boot and/or runtime) into scalajpa. Derek On

[Lift] Re: JTA showSQL

2009-02-10 Thread Derek Chen-Becker
Yes, but that only works for Hibernate. I use Hibernate from everything, but I'm trying to keep the library usable for any JPA provider. Derek On 2/10/09, Viktor Klang viktor.kl...@gmail.com wrote: Otherwise you can enable it in the logging: log4j.logger.org.hibernate.SQL=DEBUG On Tue, Feb

[Lift] Re: JTA showSQL

2009-02-10 Thread Viktor Klang
Is there a JPA defined way to turn loggin of DML on? On Tue, Feb 10, 2009 at 3:45 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: Yes, but that only works for Hibernate. I use Hibernate from everything, but I'm trying to keep the library usable for any JPA provider. Derek On 2/10/09,

[Lift] Re: lift with MS Sequel

2009-02-10 Thread David Pollak
Folks, Al Thompson just checked in support for SQL Server and Oracle. Please test these configurations. Thanks, David On Mon, Feb 9, 2009 at 9:12 AM, David Pollak feeder.of.the.be...@gmail.comwrote: On Sun, Feb 8, 2009 at 10:16 PM, Amit Kumar Verma cdac.a...@gmail.comwrote: Hi, do

[Lift] **Important** Please test 0.11-SNAPSHOT

2009-02-10 Thread David Pollak
Folks, We are in the last few weeks before we launch Lift 1.0. The current 0.11-SNAPSHOT is pretty much Lift 1.0, but I'd like to get it tested as much as possible. Please update your projects to use 0.11-SNAPSHOT and report whatever bugs you can find. Thanks, David -- Lift, the simply

Re: Fwd: [Lift] Cleaning up warnings

2009-02-10 Thread David Pollak
Eric, You fixed it in 1.4.3-SNAPSHOT. Please let us know when you've upgraded 1.4.3 to release. Thanks, David On Mon, Feb 2, 2009 at 12:40 AM, etorreborre etorrebo...@gmail.com wrote: Hi David and Rickard, If you replace property(...) by Prop.forAll(...), the warnings should disappear.

[Lift] Re: building lift from source --- warnings/errors expected?

2009-02-10 Thread David Pollak
Lee, The build error on Macs problem is gone and we've been working on reducing the number of warnings. Thanks, David On Fri, Jan 30, 2009 at 7:36 PM, mighdoll leemighd...@gmail.com wrote: Hey folks, I'm trying to build the lift sources. It mostly works, but I see more errors and warnings

[Lift] Re: Implementing RESTful web services using Lift

2009-02-10 Thread Dano
Chris/David, Thanks very much for the example! Have you two discussed how to mix authorization into this example? When I talked with David about this topic, it seemed that restful services couple credentials with the request. For example, could you use BasicAuth with a username/password as

[Lift] Re: Implementing RESTful web services using Lift

2009-02-10 Thread Chris Richardson
Dano, That's a good question. I am looking at using these web services to expose functionality of an application that is built using the Spring framework (sorry @dpp :-) ). My default approach is to use Spring Security/Acegi filter to handle authentication. And, I would have passed the

[Lift] Re: lift with MS Sequel

2009-02-10 Thread Tim Perrett
Awesome - I use both of these and get defo test the MSSQL drivers 2moro (GMT)... On 10 Feb 2009, at 18:51, David Pollak wrote: Folks, Al Thompson just checked in support for SQL Server and Oracle. Please test these configurations. Thanks, David On Mon, Feb 9, 2009 at 9:12 AM,

[Lift] Re: *** BREAKING CHANGES ***

2009-02-10 Thread Oliver
Doesn't look right and If I do this I get the following error - constructor cannot be instantiated to the expected type On Tue, Feb 10, 2009 at 8:57 PM, Jorge Ortiz jorge.or...@gmail.com wrote: Try (without the = sign): LiftRules.exceptionHandler.prepend { case (mode, state, ex) =

[Lift] Re: *** BREAKING CHANGES ***

2009-02-10 Thread David Pollak
Oliver, What version of Lift are you using? Thanks, David On Tue, Feb 10, 2009 at 2:58 PM, Oliver ola...@gmail.com wrote: Doesn't look right and If I do this I get the following error - constructor cannot be instantiated to the expected type On Tue, Feb 10, 2009 at 8:57 PM, Jorge Ortiz

[Lift] Re: *** BREAKING CHANGES ***

2009-02-10 Thread Oliver
I've just updated my code to rely on the stable version of lift 0.10 rather than an earlier snapshot. Unfortunately the removal of LiftRules.logAndReturnExceptionToBrowser and non working status of LiftRules.exceptionHandler.prepend means my choices now are 1) To back out my reliance on the

[Lift] Re: *** BREAKING CHANGES ***

2009-02-10 Thread David Pollak
On Tue, Feb 10, 2009 at 3:13 PM, Oliver ola...@gmail.com wrote: I've just updated my code to rely on the stable version of lift 0.10 rather than an earlier snapshot. Unfortunately the removal of LiftRules.logAndReturnExceptionToBrowser and non working status of

[Lift] Re: *** BREAKING CHANGES ***

2009-02-10 Thread Oliver
My apologies, it works as shown by your code and in the way Jorge described. I had changed simply cut and pasted Marius's example and deleted it when it didn't work. Then I changed my own code without modifying the case statement correctly. Sometimes I can't add 1 + 1 On Wed, Feb 11, 2009 at

[Lift] Re: *** BREAKING CHANGES ***

2009-02-10 Thread David Pollak
On Tue, Feb 10, 2009 at 3:52 PM, Oliver ola...@gmail.com wrote: My apologies, it works as shown by your code and in the way Jorge described. I had changed simply cut and pasted Marius's example and deleted it when it didn't work. Then I changed my own code without modifying the case

[Lift] Build problems...

2009-02-10 Thread Marc Boschma
I just removed my maven repository in ~/.m2 , git clone git:// github.com/dpp/liftweb.git and Mac:liftweb marc$ mvn -e -U clean install + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Lift [INFO] Lift Utils [INFO] Lift WebKit [INFO]

[Lift] Re: JTA showSQL

2009-02-10 Thread Derek Chen-Becker
Everything I've ever seen has been provider-specific. On 2/10/09, Viktor Klang viktor.kl...@gmail.com wrote: Is there a JPA defined way to turn loggin of DML on? On Tue, Feb 10, 2009 at 3:45 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: Yes, but that only works for Hibernate. I use