Changes

Jump to: navigation, search

PostgreSQL Adapter-nexj/schema-test

7 bytes added, 11:43, 10 December 2010
Initializing the SQL environment
</source>
: After activating the connection, the database is locked.
: In MySQL, the storage engine is set to a transactional safe engine such as [http://www.wikivs.com/wiki/MySQL_vs_PostgreSQL#MySQL:InnoDB InnoDB], whereas PostgreSQL has a single built in engine. So, changes needed to be done to this script:implementation of <code> appendTableSuffix() </code> in PostgreSQLManager.java was removed
::
<source lang=java>
create table test.Account(
id binary(16) not null, contactId binary(16) not null, account Type varchar(16) character set utf8 not null, funds double null, constraint Account_PK primary key(id) )ENGINE=InnoDB CHARACTER SET=utf8;
</source>
 
=== Working with Data Types ===
: <code> CREATE TABLE test.xxx </code>
:: data types are changed in <code> appendColumnType() </code> in ''PostgreSQLSchemaManager.java'' based on each jdbc type's equivalent in PostgreSQL.
1
edit

Navigation menu