MS SqlServer datatype incomptibility with Hibernate
---------------------------------------------------

         Key: HIB-102
         URL: http://jira.andromda.org/browse/HIB-102
     Project: Hibernate Cartridge
        Type: Bug
    Versions: 3.0 Final    
 Environment: Hibernate/Spring cartridges with SqlServer
    Reporter: Darius Schier
 Assigned to: Martin West 


Hi there,
the database mapping file for SQLServer states a BIGINT for Long.
Unfortunately Hibernate uses NUMERIC(19,0) within it's own mappings.

Everything works fine as long as BIGINT is the defined type within the hbm file 
(as anroMDA generates it). But if a nxm Relation is going to be created within 
the SQL script, Hibernate uses it's internal defaults for the Long values (id 
columns) that are referenced. SqlServer is not able to create a fk from bigint 
to numeric or vice versa.

Maybe the androMDA mapping should be changed to numeric?

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