PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-174

Oracle 10g throws "Invalid column name" exception when running 5.2.0 upgrade script

    Details

    • Type: Bug Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 5.1.2
    • Fix Version/s: 5.2.0
    • Component/s: None
    • Labels:
      None
    • Liferay Contributor's Agreement:
      Accept
    • Similar Issues:
      Show 5 results 

      Description

      This is called by ResultSet.get() lookups using a fully-qualified column name (for example, Permission_.permissionId). The ResultSet object provided by the Oracle 10g driver shortens this to just PERMISSIONID, so whenever we attempt to lookup Permission_.permissionId, the lookup fails with an "Invalid column name" exception.

        Activity

        Hide
        Brian Chan added a comment -

        I'm using JDK 5 and it works, so it's a 5 vs. 6 issue.

        Show
        Brian Chan added a comment - I'm using JDK 5 and it works, so it's a 5 vs. 6 issue.
        Hide
        Minhchau Dang added a comment -

        Committed revision 21738.

        Show
        Minhchau Dang added a comment - Committed revision 21738.
        Hide
        Brian Chan added a comment -

        I'm fixing ths...

        Show
        Brian Chan added a comment - I'm fixing ths...
        Hide
        Brian Chan added a comment -

        Fixed and renamed to SmartResultSet

        Show
        Brian Chan added a comment - Fixed and renamed to SmartResultSet
        Hide
        Brian Chan added a comment -

        I backported SmartResultSet since it's a new wrapper that is very useful and will most likely be needed for future fixes.

        Show
        Brian Chan added a comment - I backported SmartResultSet since it's a new wrapper that is very useful and will most likely be needed for future fixes.

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              6 years, 24 weeks, 2 days ago

              Development

                Structure Helper Panel