you can use an extra library maybe

http://www.sqlparser.com/download.php

this one is used in nhprof for example

On Sep 13, 2: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
-~----------~----~----~----~------~----~------~--~---

Reply via email to