Re: [GENERAL] Does anyone use postgreSQL(windows version)+Hibernate with middlegen?

2009-04-17 Thread rolandpeng
I have found the correct combinations to solve this problem. Let me brief what I have done,and the way is simple. 1.download latest middlegen from CVS (:pserver:anonym...@middlegen.cvs.sourceforge.net:/cvsroot/middlegen) 2.build the source with ant,then I have middlegen2.2-dev bundles jar

[GENERAL] Does anyone use postgreSQL(windows version)+Hibernate with middlegen?

2009-04-16 Thread rolandpeng
Hello , Does anyone use PostgreSQL(windows version)+Hibernate with middlegen to generate *.hbm.xml? I used to use OracleXE as my application database. For some reason,I will try to use PostgreSQL. I have install PostgreSQL 8.3.7 windows version. But I found middlegen aren't able to generate

Re: [GENERAL] Does anyone use postgreSQL(windows version)+Hibernate with middlegen?

2009-04-16 Thread Craig Ringer
rolandpeng wrote: How do you resolve this problem? or If you use postgreSQL+Hibernate3,how do you maintain your *.hbm.xml and entities? I use Hibernate 3 with PostgreSQL via JPA (Hibernate EntityManager). I maintain my entity definitions by hand. I find generated solutions to generally be

Re: [GENERAL] Does anyone use postgreSQL(windows version)+Hibernate with middlegen?

2009-04-16 Thread rolandpeng
Yes,I'm totally agree about this comments. But as you're mentioned,I'd like to build all the hbm.xml at first run. I have built more than 40 tables with complicated relations among those. So if middlegen could help me to complete the template work at first generation would be very convenience.

Re: [GENERAL] Does anyone use postgreSQL(windows version)+Hibernate with middlegen?

2009-04-16 Thread Craig Ringer
rolandpeng wrote: Yes,I'm totally agree about this comments. But as you're mentioned,I'd like to build all the hbm.xml at first run. I have built more than 40 tables with complicated relations among those. So if middlegen could help me to complete the template work at first generation would