[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3508) Sybase Dialect - Override supportsCascadeDelete to return "false"
Juraci Paixao Krohling (JIRA)
noreply at atlassian.com
Wed Oct 1 07:20:04 EDT 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31314#action_31314 ]
Juraci Paixao Krohling commented on HHH-3508:
---------------------------------------------
Actually, the tests are failing due to another issue. But I guess that this is indeed an issue:
13:18:02,806 DEBUG SchemaExport:303 - alter table nonleafsubclass add constraint FK2C4413E3DED31D14 foreign key (sid) references rootclass on delete cascade
13:18:02,954 ERROR SchemaExport:274 - Unsuccessful: alter table nonleafsubclass add constraint FK2C4413E3DED31D14 foreign key (sid) references rootclass on delete cascade
13:18:02,954 ERROR SchemaExport:275 - Incorrect syntax near the keyword 'on'.
> Sybase Dialect - Override supportsCascadeDelete to return "false"
> -----------------------------------------------------------------
>
> Key: HHH-3508
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3508
> Project: Hibernate Core
> Issue Type: Bug
> Components: core
> Affects Versions: 3.2.4.sp1
> Environment: Hibernate from Branch_3_2_4_SP1_CP with Sybase 15.
> Reporter: Juraci Paixao Krohling
>
> It seems that Sybase doesn't supports "on cascade delete" [1][2]. Some tests under BulkManipulationTest fails due to this.
> A possible solution is to override supportsCascadeDelete in SybaseDialect to return "false".
> [1] http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.help.ase_15.0.sqlug/html/sqlug/sqlug351.htm
> [2] http://groups.google.com/group/sybase.public.ase.general/browse_thread/thread/a74a285d150906ee
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list