[Hibernate] Hibernate Spring and HSQLDB - locking issue

2004-01-20 Thread Troy McKinnon
I can't get Hibernate to disconnect from the database once it is connected. It creates a HSQLDB.lck file and I have to terminate the Tomcat before I can access it again. I have tried: (With no luck..) try { Configuration cfg = new Configuration().configure("/hibernate-HSQLDB.cfg.xm

Re: [Hibernate] Tools

2004-01-20 Thread Henri Tremblay
Yep, It doesn't handle objects. I tried it but had to modify too much code. And it's absolutly not usable when you have 300 tables. But it sounds promising. I would like to work a little bit on it is I had time. I currently need to focus on my mapper and hibern8ide. - Original Message - F

Re: [Hibernate] Remarks on reference guide of 2.1 and FAQ

2004-01-20 Thread Christian Bauer
On 01 Dec (01:21), Emmanuel Bernard wrote: > Hi, I read the 2.1 doc included in the RC1, here are some remarks > (useful I hope). Updated this... --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Developme

Re: [Hibernate] Tools

2004-01-20 Thread Henri Tremblay
Yeah, that was looking nice at first sight. I should give it a shot to be sure of what it can do. I decided not to use it because I didn't like to have the mapping code in my java class and I was still having to type all the tags by hand. - Original Message - From: "Angel Aray" <[EMAIL PR

Re: [Hibernate] Tools

2004-01-20 Thread Christian Bauer
On 20 Jan (22:42), Henri Tremblay wrote: > But there's not much support for project conversion from as far as I know. > I'm trying to fill the hole. Did you try Middlegen? --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conferenc

Re: [Hibernate] Tools

2004-01-20 Thread Henri Tremblay
Yeah, we thought about that. I dismissed the idea because it was meaning to add 2 triggers for each table in the application. (and so far, we are not using triggers) One solution was to have it in the mapping so it can be generated. But that's not possible by itself. So that's why we just upgraded

Re: [Hibernate] Tools

2004-01-20 Thread Henri Tremblay
You are absolutly right, the classes are really poor information. However, they are containing so information that the tables doesn't. For instance, custom types are know only from the class. So the only way to generate a correct mapping for them is to use the class AND the table. Let say we have

Re: [Hibernate] Tools

2004-01-20 Thread Max Rydahl Andersen
Christian Bauer wrote: On 20 Jan (21:52), Henri Tremblay wrote: An existing application is not really easy to convert but it's going pretty well. The first thing that was missing was to be able to create hbm.xml files. I tried class2hbm (and improved it a little) but it wasn't enough. So on my

Re: [Hibernate] Tools

2004-01-20 Thread Angel Aray
To create hbm.xml files automagiclly from classes you should really try xdoclet. All new project at work are now done using xdoclet+hibernate and we still can belive how much productivity we have gained from this combination. Regards, Angel Aray. On Tuesday 20 January 2004 16:52, He

Re: [Hibernate] Tools

2004-01-20 Thread Max Rydahl Andersen
Henri Tremblay wrote: Hello, At job we have decided to convert our application to Hibernate to solve some persistence issues that were previously done by hand (caching, lazy loading, outter-join and so on). An existing application is not really easy to convert but it's going pretty well. Th

Re: [Hibernate] Tools

2004-01-20 Thread Christian Bauer
On 20 Jan (21:52), Henri Tremblay wrote: > An existing application is not really easy to convert but it's going pretty well. > The first thing that was missing was to be able to create hbm.xml files. I tried > class2hbm (and improved it a little) but it wasn't enough. So on my free time I've >

[Hibernate] Tools

2004-01-20 Thread Henri Tremblay
Hello,   At job we have decided to convert our application to Hibernate to solve some persistence issues that were previously done by hand (caching, lazy loading, outter-join and so on).   An existing application is not really easy to convert but it's going pretty well. The first thing that w

Re: [Hibernate] Preventing Objects to load - please help!

2004-01-20 Thread Christian Bauer
On 20 Jan (15:16), Ralf E. Stranzenbach wrote: > Is there any chance to prevent this automagical loading ? Use a proxy and ask questions like this on the user forum. --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on

[Hibernate] Preventing Objects to load - please help!

2004-01-20 Thread Ralf E. Stranzenbach
Hi,i have a problem because the first time i do not want to automagically load related objects.The situation is as follows: A "Document" class keeps all information about Document-files that should be stored in the database. A "DocumentBlob" class is a related object that only conta

[Hibernate] A small warning ;)

2004-01-20 Thread Max Rydahl Andersen
From today JIRA will listen on cvs commits and any message that contains a HB-xyz will be attached as a comment on the HB-xyz issue. Thus, be aware that the commit messages is now more published than before :) /max --- The SF.Net email is spon