Difference between revisions of "PostgreSQL Adapter"
(→Current Status) |
(→Current Status) |
||
Line 8: | Line 8: | ||
== Current Status== | == Current Status== | ||
+ | *Phase 3 | ||
*Phase 2 | *Phase 2 | ||
− | |||
<!--{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black" | <!--{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black" | ||
!align="left" style="background-color:SteelBlue; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"| Dec 2010 | !align="left" style="background-color:SteelBlue; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"| Dec 2010 |
Revision as of 09:39, 28 January 2011
PostgreSQL Adapter for NexJ
Contents
Project Goal
Develop an adapter to enable NexJ Express model to interact with PostgreSQL database
Current Status
- Phase 3
- Phase 2
Project Phases
Phase 1: Investigation (DONE)
- Get requirements from NexJ (Meeting on Friday Nov 5th)
- Walk-through the code
- Familiarization with PostgreSQL
Phase 2: Connect to PostgreSQL server (DONE)
Phase 3: PostgreSQLSchemaManager
Phase 4: PostgreSQLAdapter
- Extending SQLAdapter
- Research Notes (updated on 1/25/2011)
Phase 5: PostgreSQL UnitTests
- Add database specific tests for PostgreSQL
Phase 6: Optimization
- After implementation is done, optimizing the modified files.
Project Repository
- URL for central repository of the project is: http://liberia.proximity.on.ca:81/
- Steps to work with the repository
- 1- Follow the instructions to create the NexJ Express workspace from the manual.
- 2- After creating 'ws' directory,
- open Eclipse and
- click on File -> Import -> Mercurial -> Clone Existing Mercurial Repository
- Enter this information:
- URL: ssh://liberia.proximity.on.ca/mercurial/postgreSQL/core
- Username: developer
- Clone directory name: core
- 3- The central repository's structure is:
- Main branch called 'default'
- New branch or branches with this naming convention: 'wsComitter' e.g. 'wsMinoo'
- 4- After cloning the project, follow these steps to add a new branch with your user name:
- First make sure the active branch is 'default'. Notice the top of the Package Explorer e.g. core[5:b8b2f102343@default(tip)]
- Right click on 'core' in the Package Explorer
- Click on 'Team' -> Add Branch
- Enter the branch name in the box -> Finish
- Enter the commit message -> OK
- Check the 'Force Push' if applicable.
- Now the branch name at the top of Package Explorer is changed to the new branch name.
- 5- To switch to a different branch, choose 'Switch' instead of 'Add Branch'
- NOTE! To avoid any conflict, do the 'Pull' every day and before any push.
- NOTE! First just 'Commit' changesets and do not 'Push' them until the end of the day or the time you are confident by latest changes to the code, then 'Push' them all at once and 'Merge' them with the 'default' branch in central repository.
Resources
- Intro
- Concept of Adapter [1]
- FOSSLC PostgreSQL