[ http://jira.andromda.org/browse/HIB-102?page=history ]
Carlos Cuenca closed HIB-102:
-----------------------------
Resolution: Fixed
Fix Version: 3.1-RC1
> 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
> Assignee: Carlos Cuenca
> Fix For: 3.1-RC1
>
> 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
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel