format_sql=true, google it. Tuna Toksöz Eternal sunshine of the open source mind.
http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Sun, Sep 13, 2009 at 1:00 PM, DomZ <[email protected]> wrote: > > Hi Guys, > > I read that Hibernate library has a SQL Beautifier inside (in > org.hibernate.pretty.Formatter) > > It's used like that : > String formattedSQL = new Formatter(sql).format() > > I'm looking for the same thing in NH and had a look at the API > reference but I haven't find such thing :( > > Did I miss something ? > > Is there any plan to support that (if it's not already done) ? > > Thanks > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" 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/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
