Hi, You can find it in the condition attribute of the Select class.
Regards, Fred 2015-04-11 12:08 GMT-03:00 Pablo Beltran <[email protected]>: > Hi, > > Given a SQL quer... how to get the where clause? > > ... > String sql = "select * from T where col1=value1 and col2=value2 or > col3=value3"; > Parser parser = new Parser(session); > Select select = (Select) parser.prepare(sql); > > String where = ... > > //How to get the where clause? "col1=value1 and col2=value2 or col3=value3" > > Thanks! > Pablo. > > -- > You received this message because you are subscribed to the Google Groups > "H2 Database" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/h2-database. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
