Okay, I am using JBoss 3.2.0 and have tried 3.2.1. I am using the JBuilder 8 beta version of the open-tool that Nguyen posted a while back. I have create-table and remove-table both set to false. And two (out of 15 or so) of my tables keep getting deleted and recreated when we redeploy the application...but they aren't recreated with all the correct columns. One of the tables, when recreated, is missing a column. The other has an incorrect column name. The table that is created missing a column is not involved in any relationships at all. The other table is used as an intermediary table in a relationship, but does not have any direct relationships. All the rest of the tables are left alone. Any ideas? Has anyone run into anything like this? I'd try version 2.6 of the opentool but there seem to be a lot of postings here to the effect that it's not best for JBoss 3.2.x.... Thanks for any help you can give.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After looking more carefully, one of my co-workers noticed that one of the relationships had create-table and delete-table set to true. We tried manually setting that to false, which works, but if we make any changes to the ejbs in the designer, it sets it back to true. This would seem to be a fairly significant problem...that is, if anyone else is using CMP and CMR....
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, went and fixed this in my local copy of the open-tool, but I would posit that having delete-table and create-table hard-coded true for relationships is probably not ideal.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Okay, I am using JBoss 3.2.0 and have tried 3.2.1. I am using the JBuilder 8 beta version of the open-tool that Nguyen posted a while back. I have create-table and remove-table both set to false. And two (out of 15 or so) of my tables keep getting deleted and recreated when we redeploy the application...but they aren't recreated with all the correct columns. One of the tables, when recreated, is missing a column. The other has an incorrect column name. The table that is created missing a column is not involved in any relationships at all. The other table is used as an intermediary table in a relationship, but does not have any direct relationships. All the rest of the tables are left alone. Any ideas? Has anyone run into anything like this? I'd try version 2.6 of the opentool but there seem to be a lot of postings here to the effect that it's not best for JBoss 3.2.x.... Thanks for any help you can give.
After looking more carefully, one of my co-workers noticed that one of the relationships had create-table and delete-table set to true. We tried manually setting that to false, which works, but if we make any changes to the ejbs in the designer, it sets it back to true. This would seem to be a fairly significant problem...that is, if anyone else is using CMP and CMR....
Well, went and fixed this in my local copy of the open-tool, but I would posit that having delete-table and create-table hard-coded true for relationships is probably not ideal.