Datetime string in HQL

I am using Castle ActiveRecord for my application. My problem is how to use a datetime string in HQL like this (without using parameters):

"from Contact c where c.DayOfBirth = '5/3/1988'"

Answers


Try using YYYY-MM-DD format:

from Contact c where c.DayOfBirth = '1988-05-03'

Need Your Help

Add a method to a custom type

scala slick

Apologies if the wording of this question is wrong, I'm very new to Scala and strongly-typed languages.

swapping of columns in a data grid view

c# sql datagridview binding dataset

i have a c# windows form application, in all tabs inside it, i have a data grid view that display data of a punch machine(ID,IP,Port,Type,Description,Location)