You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Dhanush Gopinath (JIRA)" <ji...@apache.org> on 2010/01/18 12:44:54 UTC

[jira] Updated: (ODE-690) db scripts from dao-hibernate-db/target dont work well by default.

     [ https://issues.apache.org/jira/browse/ODE-690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dhanush Gopinath updated ODE-690:
---------------------------------

    Attachment: ode_in_psql.sql

Attaching the SQL scripts for setting up ODE in POSTGRES. This was made based on the scripts given out of the box for other DB in ODE distribution and from the SQL for ORACLE given in the blog page http://diazdeveloper.blogspot.com/2009/07/apache-ode-with-jboss-and-oracle.html

> db scripts from dao-hibernate-db/target dont work well by default.
> ------------------------------------------------------------------
>
>                 Key: ODE-690
>                 URL: https://issues.apache.org/jira/browse/ODE-690
>             Project: ODE
>          Issue Type: Bug
>    Affects Versions: 1.3.3
>            Reporter: Jeff Yu
>         Attachments: ode_in_psql.sql
>
>
> db scripts from dao-hibernate-db/target doesn't work well by default.
> At least for Mysql, Postgres, sqlserver, the blob type needs to be updated to its corresponding type according to the database.
> Quote from Karthick Sankarachary:
> "Just for future reference, shown below are the column types that denote
> blobs in certain database providers:
> MySQL - mediumblob
> Postgres - bytea
> Ingres - long byte
> Oracle - blob
> Derby - blob(2G)
> DB2 - blob(1073741823)
> Sybase - IMAGE null
> SQL Server - image null
> Hope it helps.
> Best Regards,
> Karthick Sankarachary
> "
> The scripts are generated by Hibernate, the best solution is to try to provide the correct sql out-of-box.
> Regards
> Jeff

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.