You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Frank Hampshire (JIRA)" <ji...@apache.org> on 2008/08/04 04:39:44 UTC
[jira] Created: (DBUTILS-46) CloneHelper does not clone onDelete or
onUpdate on ForeignKey objects
CloneHelper does not clone onDelete or onUpdate on ForeignKey objects
---------------------------------------------------------------------
Key: DBUTILS-46
URL: https://issues.apache.org/jira/browse/DBUTILS-46
Project: Commons DbUtils
Issue Type: Bug
Affects Versions: 1.2
Reporter: Frank Hampshire
Fix For: 1.2
When CloneHelper clones a foreign key, it does not set the onDelete and onUpdate to the the created ForeignKey.
The solution to this seems simple enough: add
result.setOnDelete(source.getOnDelete());
result.setOnUpdate(source.getOnUpdate());
to the clone method for ForeignKey objects
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DBUTILS-46) CloneHelper does not clone onDelete
or onUpdate on ForeignKey objects
Posted by "Frank Hampshire (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DBUTILS-46?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619420#action_12619420 ]
Frank Hampshire commented on DBUTILS-46:
----------------------------------------
Sorry about this. This Bug was meant to be raised Against DDLUtils, NOT DBUTILS
Please disregard
> CloneHelper does not clone onDelete or onUpdate on ForeignKey objects
> ---------------------------------------------------------------------
>
> Key: DBUTILS-46
> URL: https://issues.apache.org/jira/browse/DBUTILS-46
> Project: Commons DbUtils
> Issue Type: Bug
> Affects Versions: 1.2
> Reporter: Frank Hampshire
> Fix For: 1.2
>
>
> When CloneHelper clones a foreign key, it does not set the onDelete and onUpdate to the the created ForeignKey.
> The solution to this seems simple enough: add
> result.setOnDelete(source.getOnDelete());
> result.setOnUpdate(source.getOnUpdate());
> to the clone method for ForeignKey objects
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (DBUTILS-46) CloneHelper does not clone onDelete or
onUpdate on ForeignKey objects
Posted by "Frank Hampshire (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DBUTILS-46?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Frank Hampshire closed DBUTILS-46.
----------------------------------
Resolution: Invalid
Meant to be raised against DDLUtils not DBUtils
> CloneHelper does not clone onDelete or onUpdate on ForeignKey objects
> ---------------------------------------------------------------------
>
> Key: DBUTILS-46
> URL: https://issues.apache.org/jira/browse/DBUTILS-46
> Project: Commons DbUtils
> Issue Type: Bug
> Affects Versions: 1.2
> Reporter: Frank Hampshire
> Fix For: 1.2
>
>
> When CloneHelper clones a foreign key, it does not set the onDelete and onUpdate to the the created ForeignKey.
> The solution to this seems simple enough: add
> result.setOnDelete(source.getOnDelete());
> result.setOnUpdate(source.getOnUpdate());
> to the clone method for ForeignKey objects
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.