You are viewing a plain text version of this content. The canonical link for it is here.
Posted to graffito-dev@incubator.apache.org by "Dave Brondsema (JIRA)" <ji...@apache.org> on 2006/01/12 17:32:19 UTC

[jira] Created: (GRFT-85) mssql support

mssql support
-------------

         Key: GRFT-85
         URL: http://issues.apache.org/jira/browse/GRFT-85
     Project: Graffito
        Type: Improvement
  Components: OJB Store  
    Reporter: Dave Brondsema
    Priority: Minor


Support Microsoft SQL Server

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GRFT-85) mssql support

Posted by "Dave Brondsema (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GRFT-85?page=all ]

Dave Brondsema updated GRFT-85:
-------------------------------

    Attachment: mssql-support.diff

These are all work for dropping and creating the database objects, but I have not tested running graffito with them.

* SQL files for dropping the tables
* BLOB is not a valid type for mssql (it needs IMAGE).  I think VARBINARY might be appropriate.
* onDelete="cascade" changes were done to avoid errors like this:
Introducing FOREIGN KEY constraint 'SSO_PRINCIPAL_TO_REMOTE_FK_2' on table 'SSO_PRINCIPAL_TO_REMOTE' may cause cycles or multiple cascade paths. Specify ON DELETE NO ACTION or ON UPDATE NO ACTION, or modify other FOREIGN KEY constraints.


> mssql support
> -------------
>
>          Key: GRFT-85
>          URL: http://issues.apache.org/jira/browse/GRFT-85
>      Project: Graffito
>         Type: Improvement
>   Components: OJB Store
>     Reporter: Dave Brondsema
>     Priority: Minor
>  Attachments: mssql-support.diff
>
> Support Microsoft SQL Server

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GRFT-85) mssql support

Posted by "Alexandre Vaillancourt (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/GRFT-85?page=comments#action_12430261 ] 
            
Alexandre Vaillancourt commented on GRFT-85:
--------------------------------------------

I'm not sure a VARBINARY would be an appropriate alternative : it can hold only 8000 bytes, while BLOB, depending on the DBMS you use, hold 65k+ characters. I've tried to define a custom data type on my mssql installation: created a BLOB data type that is, in fact, an IMAGE. After a default integration into Jestspeed2, it seems to work well. 

> mssql support
> -------------
>
>                 Key: GRFT-85
>                 URL: http://issues.apache.org/jira/browse/GRFT-85
>             Project: Graffito
>          Issue Type: Improvement
>          Components: OJB Store
>            Reporter: Dave Brondsema
>            Priority: Minor
>         Attachments: mssql-support.diff
>
>
> Support Microsoft SQL Server

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira