nhibernate « Field « JPA Q&A





1. why does hibernate not force you to mark fields as virtual, but nhibernate does?    stackoverflow.com

why does hibernate not force you to mark fields as virtual, but nhibernate does? Is this a result of the differences between the VM and CLR?

2. Querying an Oracle Date field using a string in NHibernate HQL    stackoverflow.com

I'm trying to query a .NET DateTime property and compare it with a date string like so:

SELECT cat FROM mydll.cats AS cat
WHERE cat.BirthDay > '1999-02-20'
When I'm trying to search by a ...