Hi.
In section 1.4 of hibernate tutorial we can read:
"The dateFormatter is a tool we'll need later to convert Date objects
from and to strings. It makes sense to only have one formatter as a
member of the servlet."
But in the javadoc from SimpleDateFormat we can read:
"Date formats are not syn
Hi.
In Section "14.15. Tips & Tricks":
You can count the number of query results without actually returning them:
( (Integer) session.iterate("select count(*) from ").next() ).intValue()
I don't find any session.iterate() method... Maybe it should read:
( (Integer) session.createQuery("se
Hi. I think in section "19.1.7. Using lazy property fetching", instead of
it should say
classname="org.hibernate.tool.instrument.BasicInstrumentTask">
or
classname="org.hibernate.tool.instrument.cglib.InstrumentTask">
Should i open a JIRA issue?
Regards.
--
-=-=-=-=-=-=-=-=-=-=-=-=-
An
Hi.
I can see in Hibernate 3.2 LockMode.NEVER is deprecated in favor of
LockMode.MANUAL.
Maybe this is a silly argument... but i think that FlushMode.NEVER has
some "semantic" benefits. I mean, if i'm reading code and see
session.setFlushMode(FlushMode.NEVER)
i think "oh, this is going to b