developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#101 closed enhancement (fixed)

Implementing driver for jDaoGenerator

Reported by: laurentj Owned by:
Priority: low Milestone: Jelix 1.0 RC1
Component: jelix:dao Version: 1.0 beta1
Severity: major Keywords: dao generator driver
Cc: Blocked By:
Blocking: #266 Documentation needed: no
Hosting Provider: Php version:

Description

Generated sql queries in a dao compiled file vary from database to database. So we need to write many "if" section in jDaoGenerator to generate this queries. And the jDaoGenerator code become bloated. A solution is to use a "driver pattern". There will be a driver for each database, and methods this driver will be called to generate some part of source code of the generated dao.

Change History (6)

comment:1 Changed 13 years ago by laurentj

  • Milestone changed from Jelix 1.0 to Jelix 1.1

comment:2 Changed 13 years ago by laurentj

  • Milestone changed from Jelix 1.1 to Jelix 1.3
  • Priority changed from normal to low

comment:3 Changed 13 years ago by laurentj

  • Blocking 266 added

comment:4 Changed 13 years ago by laurentj

  • Milestone changed from Jelix 1.3 to Jelix 1.0
  • Resolution set to fixed
  • Status changed from new to closed

This is implemented into the trunk now. Drivers are classes which inherits from jDaoGenerator.

comment:5 Changed 12 years ago by laurentj

  • Documentation needed set

comment:6 Changed 12 years ago by laurentj

  • Documentation needed unset
Note: See TracTickets for help on using tickets.