Re: [Hibernate] Possible bug in criteria query

2004-10-04 Thread Gavin King
You use createCriteria() to create a join in criteria API. no implicit joins. Ugo Cei wrote: Hi people, given that the following query works as expected: List results = session.find("from it.cbim.sipp.model.Allevamento a" + " where a.indirizzo.comune.provincia.sigla = ?", "PG", Hibernat

[Hibernate] Possible bug in criteria query

2004-10-04 Thread Ugo Cei
Hi people, given that the following query works as expected: List results = session.find("from it.cbim.sipp.model.Allevamento a" + " where a.indirizzo.comune.provincia.sigla = ?", "PG", Hibernate.STRING); I would expect this other query to work as well: Criteria criteria = session

Re: [Hibernate] refresh problem

2004-10-04 Thread Emmanuel Bernard
Please use the user forum for such question. Thanks http://forum.hibernate.org Glauber Andrade wrote: Hi, An external aplication changes the DB and the hibernate don't refresh. How should I set it ? Thanks, Glauber Andrade --- This SF.net emai