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 files.
(http://boss.bekk.no/boss/middlegen/install.html)

3.download latest postgreSQL driver (I use postgresql-8.3-604.jdbc3.jar)
4.modify relative parameters in middlegen ant build.xml

then all the generation works as what I want.

-- 
View this message in context: 
http://www.nabble.com/Does-anyone-use-postgreSQL%28windows-version%29%2BHibernate-with-middlegen--tp23089668p23093725.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


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.

Today I have downloaded the middlegen-2.2dev from CVS and use ant
successfully rebuild.
Here I'll try to keep track on middlegen with PostqreSQL.
But if I still can't make it successfully generation,I think I'll maintain
all the hibernate resource manually.

Thanks again.Any comments or advice will be very welcome.


Craig Ringer wrote:
> 
> Bindings generators are useful as a starting point, but unless your
> schema is really rather simple I'm not convinced about their long-term
> utility.
> 

-- 
View this message in context: 
http://www.nabble.com/Does-anyone-use-postgreSQL%28windows-version%29%2BHibernate-with-middlegen--tp23089668p23090476.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[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 *.hbm.xml for me via
PostgreSQL.(OracleXE is okay.)

How do you resolve this problem? or If you use postgreSQL+Hibernate3,how do
you maintain your *.hbm.xml and entities?

Any comments or advices will be welcome.Thank you.

Roland.


-- 
View this message in context: 
http://www.nabble.com/Does-anyone-use-postgreSQL%28windows-version%29%2BHibernate-with-middlegen--tp23089668p23089668.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general