-
1. Re: Error deploying News Modul!
jae77 Jun 24, 2004 9:46 AM (in response to lcb)thx for that update - i'll correct the database property files to add the correct alter table statement.
i did look up the syntax in the manul and i could have sworn they said that the "CREATE UNIQUE" syntax was just an alias around the alter table statement. -
2. Re: Error deploying News Modul!
jae77 Jun 24, 2004 9:48 AM (in response to lcb)fixed - could you pls update against the tag or the head and retest this for me.
-
3. Re: Error deploying News Modul!
lcb Jun 24, 2004 11:08 AM (in response to lcb)Tested, looks pretty good.
Taking al look at the postgres and oracle properties shows me that the table names there are false too. But i cant say if the statement ist wrong or false. -
4. Re: Error deploying News Modul!
jae77 Jun 24, 2004 11:19 AM (in response to lcb)i'm not understanding what you mean by the "table names are false".
-
5. Re: Error deploying News Modul!
lcb Jun 24, 2004 11:46 AM (in response to lcb)The table name in the statement is "nukes_news_topics" an should be "nuke_news_topics".
Here the patches:Index: oracle8.properties =================================================================== RCS file: /cvsroot/jboss/nukes/build/etc/oracle8.properties,v retrieving revision 1.5 diff -u -r1.5 oracle8.properties --- oracle8.properties 16 Jun 2004 01:41:50 -0000 1.5 +++ oracle8.properties 24 Jun 2004 15:39:19 -0000 @@ -53,4 +53,4 @@ # # unique constraint for nukes_news_topics # -nukes.news.topic.constraint = CREATE UNIQUE name ON nukes_news_topics (name); +nukes.news.topic.constraint = CREATE UNIQUE name ON nuke_news_topics (name);
Index: postgresql.properties =================================================================== RCS file: /cvsroot/jboss/nukes/build/etc/postgresql.properties,v retrieving revision 1.6 diff -u -r1.6 postgresql.properties --- postgresql.properties 16 Jun 2004 01:41:50 -0000 1.6 +++ postgresql.properties 24 Jun 2004 15:40:40 -0000 @@ -53,4 +53,4 @@ # # unique constraint for nukes_news_topics # -nukes.news.topic.constraint = CREATE UNIQUE name ON nukes_news_topics (name); +nukes.news.topic.constraint = CREATE UNIQUE name ON nuke_news_topics (name);
-
6. Re: Error deploying News Modul!
jae77 Jun 24, 2004 11:52 AM (in response to lcb)d'oh - i always end up adding that extra "s". thx for catching that - i'll make sure those get updated appropritely.