[jboss-user] [JBoss Seam] - Refactoring
do-not-reply at jboss.com
Thu Jul 20 19:49:33 EDT 2006
I modified the Seam Messages example to use mySQL.
In the process discovered that "read" as a column name won't work with mySql, their not-so-smart parser has a long list of reserved keywords that can't be used for table or column names, so I changed the name from "read" to "messageRead" and the getter and setter appropriately using the Refactoring in eclipse. No problem so far.
But, the name also has to be changed in the .jsp, and in theory it could be referenced in many .jsp files, and it could be referenced in .js files.
It seems like the refactoring should change it everywhere, not just in .java files.
In the case of this example, it also had to be changed in the import.sql (but this would normally only for a sample).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959740#3959740
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959740
More information about the jboss-user