1,234
edits
Changes
no edit summary
{{Admon/obsolete}}
<big><big> PostgreSQL Adapter for NexJ </big></big>
{{NexJ_Express Index}}
[[category: NexJ Past Projects]]
[[category: NexJ Express PostgreSQL]]
== Project Goal==
== Current Status==
* '''Completed''' (October 21, 2011)* Get the last PostgreSQL adapter source code from http://mercurial.nexj.com/express.cgi/core <!--{|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
|-
* Application is now connected to the Postgre database.
|}
==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 PostgreSQLserver (DONE) ===* [[PostgreSQL_Adapter-nexj/test-env NexJ_Express_Connecting_to_PostgreSQL| Create Test EnvironmentConnect to PostgreSQL server]]
=== Phase 315: Test first design Code Review 4 (DONE)===* 1- Create a PostgreSQL database through some scripts: Through the process in postgresql_setup.sql, the database was created, initialized and tested::: A database called 'test is created in PostgreSQL : <code> CREATE DATABASE test </code>:: To create a <code>user</code> along Code review with <code>password</code>: <code> CREATE USER test WITH PASSWORD 'test'; </code>framework architect* https:: Login to the database 'test' with username 'test': <code> psql -U test test </code>:: Create a <code> Schema </code> called 'test' inside the database 'test' with particular owner 'test': <code> CREATE SCHEMA test AUTHORIZATION test;<bitbucket.org/code>:: Create a <code>table<gbatumbya/code> called 'Mutex' with primary key: <code> CREATE TABLE test.Mutex(id INT PRIMARY KEY); <postgresql_external/code>:: Insert a value into the primary key: <code> INSERT INTO test.Mutex(id) VALUES (1); <src/code>6c9a7380c8fe
=== Phase 16: Code Review 4 - Apply Changes (DONE) ===* Estimated Duration: Sep 9 - Sep 12* 3[[PostgreSQL_Adapter_Project_- Working inside Schema 'test'_Code_Review_4_Changes | Changes to be made]]
=== Phase 17: <code> CREATE TABLE test.xxx </code>:: data types are changed in <code> appendColumnTypeCode Review 5 (DONE) </===* Submitted code> in ''PostgreSQLSchemaManager.java'' based for review on each jdbc type's equivalent in PostgreSQLSep 20.* https:: The implementation in <code> crateTextTable </code> in file ''PostgreSQLSchemaManager/bitbucket.java'' is removed for now (base class's version is being called).: <code>CREATE INDEX test.xxx <org/gbatumbya/code> : <code> CREATE Trigger test.xxx postgresql_external/src/ if it's needed for PostgreSQL as well as MySQL<a0d10ef7cdbe/code>
==Project Repository =Phase 4=* URL for central repository of the project is: Test properties specific to PostgreSQL ===https://bitbucket.org/gbatumbya/nexjexpress-postgresqladapter
* Add test cases that are specific Steps to PostgreSQL databasework with the repository
*After implementation is done'''NOTE!''' To avoid any conflict, optimizing do the modified files'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 ==
* Downloads
Linux binaries http://www.openscg.org/se/postgresql/packages.jsp
* Debugging
:[[Run_Junit_Tests_For_Non_Default_SQL_Adapter | Unit Testing for non Default SQL Adapter]]
:
* Intro
:Concept of Adapter [http://www.vogella.de/articles/DesignPatternAdapter/article.html]
* [[PostgreSQL_Adapter-nexj/Resources#MySQL_Specifications | MySQL Specifications]]
* [[PostgreSQL_Adapter-nexj/Resources#PostgreSQL_-_MySQL_Compare | Postgre - MySQL Compare]]
== Summary of Applied Research ==
* [[Research Findings - PostgreSQLAdapter]]
* [[Research Notes - PostgreSQLAdapter]]