Re: [Andromda-user] postgreSQL

2005-01-25 Thread oemer
Hi Jan, thanks. Sorry, I mixed hibernate with hypersonic in my last mail. Ömer Am 25 Jan 2005 um 16:16 hat Jan Heise geschrieben: > Hi Ömer, > > I never use autoincrements for id's. I use sequences. Hibernate's > "native"-strategy > uses a sequence with postgres. That's the default for the > Sp

Re: [Andromda-user] postgreSQL

2005-01-25 Thread Jan Heise
Hi Ömer, I never use autoincrements for id's. I use sequences. Hibernate's "native"-strategy uses a sequence with postgres. That's the default for the Spring-cartridge I'm using right now. I don't know about the sql.mappings property, but the initialization scripts (*.sql - not the shell scripts

Re: [Andromda-user] postgreSQL

2005-01-25 Thread oemer
Hi Jan, fine - that sounds good. Do you know which effect the sql.mappings property take with and how is your setting (mysql or hibernate)? I think this property will affect the database initialization scripts. I'm wondering why the db-init-scripts were furthermore named hibernate*, altough I ch

Re: [Andromda-user] postgreSQL

2005-01-25 Thread Jan Heise
Hi Oemer, the only thing I changed was hibernate.db.dialect=net.sf.hibernate.dialect.PostgreSQLDialect in project.properties in my project root directory. Depending on your environment (tomcat/jboss etc.) you'll have to create the correct datasource that uses the correct jdbc-driver. hth, Jan Am 25

[Andromda-user] postgreSQL

2005-01-25 Thread oemer
Hi, I have to work with postgresql rdbms. Can you give me a short instruction to get andromda work with pgsql? Which files I have to create? (mappings etc.) And where do I have to do modifications? Maybe it will also useful for other. Oemer Guersoy ---