castor

Improve SQL Insert class hierarchy to treat Sequence NextVal as an Expression

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.3.1
  • Component/s: JDO queries
  • Labels:
    None
  • Number of attachments :
    2

Activity

Hide
AHMAD HASSAN added a comment -

Introduced few more classes to treat nextval as an Expression just like Parameter. But nextval is delegating the experession construction to PersistenceFactory because every database engine has it's specific syntax. ATM Function class is of no use but it will be used for other SQL functions afterwards.

Regards, Ahmad

Show
AHMAD HASSAN added a comment - Introduced few more classes to treat nextval as an Expression just like Parameter. But nextval is delegating the experession construction to PersistenceFactory because every database engine has it's specific syntax. ATM Function class is of no use but it will be used for other SQL functions afterwards. Regards, Ahmad
Hide
Ralf Joachim added a comment -

Final patch including a major refactoring of the handling of generatoed values at Insert class.

Show
Ralf Joachim added a comment - Final patch including a major refactoring of the handling of generatoed values at Insert class.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: