0 Replies Latest reply on Jul 20, 2006 7:49 PM by George Cowsar

    Refactoring

    George Cowsar Newbie

      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).