[hibernate-dev] [Doc-Bug?] Hibernate Tutorial 1.4 -> SimpleDateFormat not synchronized

2006-10-13 Thread andresgr
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

[hibernate-dev] Documentation bug?

2006-10-31 Thread andresgr
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

[hibernate-dev] Doc bug: instrumentation task

2006-11-16 Thread andresgr
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

[hibernate-dev] FlushMode.NEVER deprecated

2006-12-04 Thread andresgr
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