[Hibernate] API name changes

2005-01-27 Thread Christian Bauer
Starting with H3, we recommend the new EJB3-style operations create() and merge(). We still have our old methods: save(), update(), saveOrUpdate(), with slightly different semantics. What do you think about save(), attach(), saveOrAttach()? It might be too much code to change, but this is reall

[Hibernate] TypeFactory.java

2005-01-27 Thread Joshua Davis
TypeFactory.java doesn't seem to be compiling this evening because CustomCollectionType doesn't exist. Any ideas? Josh --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-d

Re: [Hibernate] LockMode.UPGRADE doesn't work with Informix database

2005-01-27 Thread Max Rydahl Andersen
Asking user questions is in the user forum - asking it twice in development mailinglist will not give you a better answer ;) Thanks for your answer it is very critical. Yvan If its that critical for you then consider commercial support. /max ---

[Hibernate] LockMode.UPGRADE doesn't work with Informix database

2005-01-27 Thread Hess Yvan
Hi, I have a kinds of counter that I have to increase and I am doing the following action: session = sf.openSession(); tx = session.beginTransaction(); DocNrCounterPJO counter = (DocNrCounterPJO ) aHibernateSession.get(DocNrCounterPJO .class, anId, aLockMode); counter.currentStatus++; // Do s

Re: [Hibernate] CacheMode

2005-01-27 Thread Gavin King
Now that I've done it, I love it! We should have had this notion a long time ago. Very nice. Gavin King wrote: Do I got any votes for TODO-124? The proposal is to allow control over how the session interacts with the second-level cache. Options are: CacheMode.NORMAL CacheMode.IGNORE CacheMod