Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3451

Datetime fields with MSSQL only works with java.util.Date not with java.util.Calendar in JSF

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.2.4.RELEASE
    • Fix Version/s: None
    • Component/s: JSF
    • Labels:
      None
    • Environment:
      Windows Vista Home Basic 32 bits, eMachines E725, Pentium Dual Core T4200 2.0 GHz 3GB RAM

      Description

      I tried the reverse engineering with MSSQL Express 8 and the datetime fields were generated as Calendar type, thats looks good. After that I prepared the project to run in jsf, but when I run and want to create a new record with datetime fields, I click on the save button and nothing happens. Finally I found that the issue is the type Calendar with JSF, because Calendar with MVC works fine.

      Is there a way to change the automatic translation from Calendar to Date in reverse engineering? This is a workaround but this is enough for me.

        Attachments

          Activity

            People

            Assignee:
            stewarta Alan Stewart
            Reporter:
            ramsses Edgar Ramsses Solis Hernandez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: