Mod4j: Modeling for Java using Domain Specific Languages

Update method in DaoImplBase classes uses the save method instead of update

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 1.0.1
  • Fix Version/s: 1.1.0
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

In the generated sources the update method is implemented using a call to the save method of the HibernateTemplate.
This must be a call to the update method of the HibernateTemplate...
This causes in not being able to update an existing domain class with a unique rule constraint.

Activity

Hide
Johan Vogelzang added a comment -

Committed revision 2319.

Show
Johan Vogelzang added a comment - Committed revision 2319.
Hide
Johan Vogelzang added a comment -

Also merged with 1.0.2

Show
Johan Vogelzang added a comment - Also merged with 1.0.2
Hide
Johan Vogelzang added a comment -

After discussion with Eric Jan we decided that dao update method even should not call an HibernateTemplate update method.

Show
Johan Vogelzang added a comment - After discussion with Eric Jan we decided that dao update method even should not call an HibernateTemplate update method.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: