Search Results

Search found 2 results on 1 pages for 'user115520'.

Page 1/1 | 1 

  • Format date in hql query

    - by user115520
    hi all, i want to format date to string in hql select, for example i have purchasing data with transaction date in it: class Purchase { private Date datePurchase } and i want to select date in a certain format, for example yyyyMMdd, can i do that in hql? actually i can iterate through all purchase data returned by query, and start to format the date using SimpleDateFormat, but i don't want do that, i want to do it in hql, is it posible? fyi, i just want to return the id and date string only, not all Purchase field. thak you all for any help.

    Read the article

  • Remove header and footer in html to print page

    - by user115520
    Hi all, Is there any way to remove header and footer of a html page, so that if user print it, there is no header and footer. User can choose to remove it using print setup, but i wondering is there any css or javascript to remove it programatically? thank you for any response.

    Read the article

1