You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Borut Bolčina (JIRA)" <de...@cayenne.apache.org> on 2008/04/12 16:49:52 UTC

[jira] Created: (CAY-1029) maven2 plugin to reverse ingeneer database

maven2 plugin to reverse ingeneer database
------------------------------------------

                 Key: CAY-1029
                 URL: https://issues.apache.org/cayenne/browse/CAY-1029
             Project: Cayenne
          Issue Type: Improvement
    Affects Versions: 3.0
            Reporter: Borut Bolčina
            Assignee: Andrus Adamchik


Besides

   1. maven2-cgen
   2. maven2-cdbgen
   3. maven2-cdeploy
   4. maven2-cdataport

it would be greate if we had something like
    5. maven2-creverse

This plugin would reverse engineer the given database and create a mapping file. I guess all the classes exist in the modeler, so it would not be too hard to create a mojo.

What do you think?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAY-1029) maven2 plugin to reverse ingeneer database

Posted by "Robert Zeigler (JIRA)" <de...@cayenne.apache.org>.
    [ https://issues.apache.org/cayenne/browse/CAY-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13067#action_13067 ] 

Robert Zeigler commented on CAY-1029:
-------------------------------------

I can think of a use-case.
Was recently helping some people learn cayenne.
My typical workflow with cayenne is to build everything in the modeler and use the modeler to generate classes and db schema.
But they wanted to work directly with the db, and reengineer the schema whenever they made changes.
Having some way to do stick that into a build so that the build automatically picks up on db schema changes and regenerates the model could be useful.

> maven2 plugin to reverse ingeneer database
> ------------------------------------------
>
>                 Key: CAY-1029
>                 URL: https://issues.apache.org/cayenne/browse/CAY-1029
>             Project: Cayenne
>          Issue Type: Improvement
>    Affects Versions: 3.0
>            Reporter: Borut Bolčina
>            Assignee: Kevin Menard
>
> Besides
>    1. maven2-cgen
>    2. maven2-cdbgen
>    3. maven2-cdeploy
>    4. maven2-cdataport
> it would be greate if we had something like
>     5. maven2-creverse
> This plugin would reverse engineer the given database and create a mapping file. I guess all the classes exist in the modeler, so it would not be too hard to create a mojo.
> What do you think?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAY-1029) maven2 plugin to reverse ingeneer database

Posted by "Borut Bolčina (JIRA)" <de...@cayenne.apache.org>.
    [ https://issues.apache.org/cayenne/browse/CAY-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13068#action_13068 ] 

Borut Bolčina commented on CAY-1029:
------------------------------------

Cayenne modeler is a great tool, but large models (or even not so large) a best modeled with tools like Visual Paradigm. I use VP for other purposes also, but primarily for designing the model and creating the schema/database.

Like Robert said, reverse engineering the database is a repeating task, especially in the earlier stages of the design. Having a maven plugin to generate mapping file without entering another application is a simple time optimization for my/our dev process.

> maven2 plugin to reverse ingeneer database
> ------------------------------------------
>
>                 Key: CAY-1029
>                 URL: https://issues.apache.org/cayenne/browse/CAY-1029
>             Project: Cayenne
>          Issue Type: Improvement
>    Affects Versions: 3.0
>            Reporter: Borut Bolčina
>            Assignee: Kevin Menard
>
> Besides
>    1. maven2-cgen
>    2. maven2-cdbgen
>    3. maven2-cdeploy
>    4. maven2-cdataport
> it would be greate if we had something like
>     5. maven2-creverse
> This plugin would reverse engineer the given database and create a mapping file. I guess all the classes exist in the modeler, so it would not be too hard to create a mojo.
> What do you think?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAY-1029) maven2 plugin to reverse ingeneer database

Posted by "Kevin Menard (JIRA)" <de...@cayenne.apache.org>.
    [ https://issues.apache.org/cayenne/browse/CAY-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13066#action_13066 ] 

Kevin Menard commented on CAY-1029:
-----------------------------------

This seems like it would be a one-time task.  I'm not really sure what the value of having a maven plugin in that case is.

Can you please describe in more detail what you're looking to achieve?  Otherwise, I'm going to have to close this as "won't fix."

> maven2 plugin to reverse ingeneer database
> ------------------------------------------
>
>                 Key: CAY-1029
>                 URL: https://issues.apache.org/cayenne/browse/CAY-1029
>             Project: Cayenne
>          Issue Type: Improvement
>    Affects Versions: 3.0
>            Reporter: Borut Bolčina
>            Assignee: Kevin Menard
>
> Besides
>    1. maven2-cgen
>    2. maven2-cdbgen
>    3. maven2-cdeploy
>    4. maven2-cdataport
> it would be greate if we had something like
>     5. maven2-creverse
> This plugin would reverse engineer the given database and create a mapping file. I guess all the classes exist in the modeler, so it would not be too hard to create a mojo.
> What do you think?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (CAY-1029) maven2 plugin to reverse ingeneer database

Posted by "Borut Bolčina (JIRA)" <de...@cayenne.apache.org>.
    [ https://issues.apache.org/cayenne/browse/CAY-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13068#action_13068 ] 

borutb edited comment on CAY-1029 at 8/22/08 12:35 PM:
--------------------------------------------------------------

Cayenne modeler is a great tool, but large models (or even not so large) are best modeled with tools like Visual Paradigm. I use VP for other purposes also, but primarily for designing the model and creating the schema/database.

Like Robert said, reverse engineering the database is a repeating task, especially in the earlier stages of the design. Having a maven plugin to generate mapping file without entering another application is a simple time optimization for my/our dev process.

      was (Author: borutb):
    Cayenne modeler is a great tool, but large models (or even not so large) a best modeled with tools like Visual Paradigm. I use VP for other purposes also, but primarily for designing the model and creating the schema/database.

Like Robert said, reverse engineering the database is a repeating task, especially in the earlier stages of the design. Having a maven plugin to generate mapping file without entering another application is a simple time optimization for my/our dev process.
  
> maven2 plugin to reverse ingeneer database
> ------------------------------------------
>
>                 Key: CAY-1029
>                 URL: https://issues.apache.org/cayenne/browse/CAY-1029
>             Project: Cayenne
>          Issue Type: Improvement
>    Affects Versions: 3.0
>            Reporter: Borut Bolčina
>            Assignee: Kevin Menard
>
> Besides
>    1. maven2-cgen
>    2. maven2-cdbgen
>    3. maven2-cdeploy
>    4. maven2-cdataport
> it would be greate if we had something like
>     5. maven2-creverse
> This plugin would reverse engineer the given database and create a mapping file. I guess all the classes exist in the modeler, so it would not be too hard to create a mojo.
> What do you think?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAY-1029) maven2 plugin to reverse ingeneer database

Posted by "Kevin Menard (JIRA)" <de...@cayenne.apache.org>.
    [ https://issues.apache.org/cayenne/browse/CAY-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13071#action_13071 ] 

Kevin Menard commented on CAY-1029:
-----------------------------------

Fair enough.  Looks like what you guys really want then is a way to use the merger stuff from maven.  I'll see what can be done about that.

> maven2 plugin to reverse ingeneer database
> ------------------------------------------
>
>                 Key: CAY-1029
>                 URL: https://issues.apache.org/cayenne/browse/CAY-1029
>             Project: Cayenne
>          Issue Type: Improvement
>    Affects Versions: 3.0
>            Reporter: Borut Bolčina
>            Assignee: Kevin Menard
>
> Besides
>    1. maven2-cgen
>    2. maven2-cdbgen
>    3. maven2-cdeploy
>    4. maven2-cdataport
> it would be greate if we had something like
>     5. maven2-creverse
> This plugin would reverse engineer the given database and create a mapping file. I guess all the classes exist in the modeler, so it would not be too hard to create a mojo.
> What do you think?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CAY-1029) maven2 plugin to reverse ingeneer database

Posted by "Kevin Menard (JIRA)" <de...@cayenne.apache.org>.
     [ https://issues.apache.org/cayenne/browse/CAY-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Menard reassigned CAY-1029:
---------------------------------

    Assignee: Kevin Menard  (was: Andrus Adamchik)

> maven2 plugin to reverse ingeneer database
> ------------------------------------------
>
>                 Key: CAY-1029
>                 URL: https://issues.apache.org/cayenne/browse/CAY-1029
>             Project: Cayenne
>          Issue Type: Improvement
>    Affects Versions: 3.0
>            Reporter: Borut Bolčina
>            Assignee: Kevin Menard
>
> Besides
>    1. maven2-cgen
>    2. maven2-cdbgen
>    3. maven2-cdeploy
>    4. maven2-cdataport
> it would be greate if we had something like
>     5. maven2-creverse
> This plugin would reverse engineer the given database and create a mapping file. I guess all the classes exist in the modeler, so it would not be too hard to create a mojo.
> What do you think?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.