[Hibernate] What should hbm2java do in this case ?

2005-05-08 Thread Max Rydahl Andersen
Hi guys, Take a look at http://opensource.atlassian.com/projects/hibernate/browse/HBX-258 where a user has mapped the primary key as an "int". In the "old" hbm2java we always used the wrapper type for primary keys. In the new one we made it a bit stricter/simpler since we now look at not-null

Re: [Hibernate] HBX-81: Patch for cascade=all-delete-orphan in Annotations

2005-05-08 Thread Pablo Nussembaum
Hello, I made a more general (mapping all the missing cascade types from Hibernate) patch and a post it here: http://opensource.atlassian.com/projects/hibernate/browse/HBX-203 Pablo Nussembaum Emmanuel Bernard wrote: > Sorry for the delay, answered in the JIRA issue. > > Pablo Nussembaum wr

[Hibernate] Hibernate 3.0.3

2005-05-08 Thread Christian Bauer
This release includes better alignment with EJB3 fetching behavior, new JDBC handling options, various bugfixes, and a new tutorial. --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best sh

[Hibernate] Caching of collections

2005-05-08 Thread Emmanuel Bernard
I noticed that we don't put the collection in cache when creating an object ie item.addDistributors( new HashSet() ); session.persist(item); item will be in put in cache, but not item.distributors. Any reason for not doing that? --- This SF.Net