MS SqlServer does not support blob datatype yet
-----------------------------------------------

         Key: DB-6
         URL: http://jira.andromda.org/browse/DB-6
     Project: Database Cartridge
        Type: Bug
 Environment: Hibernate/Spring cartridges with SqlServer
    Reporter: Darius Schier
 Assigned to: Chad Brandon 


Hi there,
if an attribute is defined as Blob within the model, it is expected to create a 
blob at the database. Unfortunately the mapping file for mssql is missing that 
type and does not create the right hbm type (and sql of course).
Would you mind to append the following lines within 
etc/mappings/MSSQLMappings.xml:

    <mapping>
        <from>datatype::Blob</from>
        <to>IMAGE</to>
    </mapping>
    <mapping>
        <from>datatype::Clob</from>
        <to>TEXT</to>
    </mapping>

Best Regards
Darius

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.andromda.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to