depPk

2012-11-24 Thread emeka okafor
hello, I have two questions: 1 - What does toDependentPK means? 2 - I would like to use a column of type String as PK. What primary key strategy should I use since I am going to set that key in my application? Thx.

Re: depPk

2012-11-24 Thread emeka okafor
It seems toDependentPk has to do with mandatory inverse relationship. I will keep on writing some tests. From: emeka okafor emeka_1...@yahoo.com To: user@cayenne.apache.org user@cayenne.apache.org Sent: Saturday, November 24, 2012 2:52 PM Subject: depPk

Re: adding new columns to table

2012-11-24 Thread John Huss
There is an experimental library in the cayenne-sandbox you could try: http://svn.apache.org/viewvc/cayenne/sandbox/cayenne-migrations/ I'm using it in production, but your mileage may vary. The migrations are not automatically generated (except for the initial database) but they are easy to

Re: adding new columns to table

2012-11-24 Thread Juan José Gil
wouldn't be better to use something like flyway? http://flywaydb.org/ 2012/11/24 John Huss johnth...@gmail.com There is an experimental library in the cayenne-sandbox you could try: http://svn.apache.org/viewvc/cayenne/sandbox/cayenne-migrations/ I'm using it in production, but your mileage

Re: adding new columns to table

2012-11-24 Thread Aristedes Maniatis
Also liquibase is really good, especially if you support multiple database types. Ari On 25/11/12 9:08am, Juan José Gil wrote: wouldn't be better to use something like flyway? http://flywaydb.org/ 2012/11/24 John Huss johnth...@gmail.com There is an experimental library in the