Difference between revisions of "PostgreSQL Adapter"
(→Project Repository) |
(→Project Repository) |
||
Line 74: | Line 74: | ||
:: Right click on 'core' in the Package Explorer | :: Right click on 'core' in the Package Explorer | ||
:: Click on 'Team' -> Add Branch | :: 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, and any push afterward will be pushed to this branch automatically. | ||
+ | :: 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. | ||
== Resources == | == Resources == |
Revision as of 12:49, 17 December 2010
PostgreSQL Adapter for NexJ
Contents
Project Goal
Develope an adapter to enable NexJ Express model to interact with PostgreSQL database
Current Status
Dec 2010 |
---|
|
Nov 2010 |
---|
|
Project Phases
Phase 1: Investigation
- Get requirements from NexJ (Meeting on Friday Nov 5th)
- Walk-through the code
- Familiarization with PostgreSQL
Phase 2: Connect to PostgreSQL
Phase 3: Test first design
Running AllTests.java
- 1- Create a PostgreSQL database through some scripts
- 2- Working inside Schema 'test'
- 2.a- Initilizaing the SQL Environment
- 2.b- Working with Database Structure - DDL
- 2.c- Working with Data in a Table - DML
Phase 4: Test properties specific to PostgreSQL
- Add test cases that are specific to PostgreSQL database
Phase 5: 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 these information to clone from repository:
- 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, and any push afterward will be pushed to this branch automatically.
- 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.
Resources
- Intro
- Concept of Adapter [1]
- FOSSLC PostgreSQL