w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
get records having admission date in a range

You need quotes around your dates

List clients =  session.createQuery("from Contract contract
where contrat.datesouscription BETWEEN '"+begindate+"' and
'"+endate+"'").list();




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.