You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by Michael Gentry <bl...@gmail.com> on 2007/02/06 14:53:16 UTC

Re-engineering DB Schema + DataNode

I just used Cayenne Modeler to re-engineer a schema for a project I've
inherited (so I could hopefully see all the relationships/etc) and
noticed that when you do this, it doesn't automatically create a
DataNode for you with the connection information that was entered.
Does anyone else think it might be useful to do so?  If so, I could
look into this.  Also, I think I want a button to check all the "Use
for Locking" checkboxes, too.  :-)

Thanks,

/dev/mrg

Re: Re-engineering DB Schema + DataNode

Posted by Michael Gentry <bl...@gmail.com>.
I agree it shouldn't add DataNodes if one already exists.  What I was
thinking is to make sure you have a DataNode after supplying
connection information so you wouldn't have to enter it again.

Yeah, you can go back to the DataMap, which might be the best option
(I prefer to lock on everything but BLOBs), but I was thinking
something that worked more locally in the tab you were on so you'd not
have to bounce around when making minor tweaks.

Thanks,

/dev/mrg


On 2/6/07, Andrus Adamchik <an...@objectstyle.org> wrote:
>
> On Feb 6, 2007, at 3:53 PM, Michael Gentry wrote:
>
> > I just used Cayenne Modeler to re-engineer a schema for a project I've
> > inherited (so I could hopefully see all the relationships/etc) and
> > noticed that when you do this, it doesn't automatically create a
> > DataNode for you with the connection information that was entered.
> > Does anyone else think it might be useful to do so?  If so, I could
> > look into this.
>
> +1 (if no other DataNodes yet exist in the project)
>
> > Also, I think I want a button to check all the "Use
> > for Locking" checkboxes, too.  :-)
>
> We do have that already - an "Optimistic Locking" checkbox and
> "Update" button in the DataMap.
>
> Andrus
>

Re: Re-engineering DB Schema + DataNode

Posted by Andrus Adamchik <an...@objectstyle.org>.
On Feb 6, 2007, at 3:53 PM, Michael Gentry wrote:

> I just used Cayenne Modeler to re-engineer a schema for a project I've
> inherited (so I could hopefully see all the relationships/etc) and
> noticed that when you do this, it doesn't automatically create a
> DataNode for you with the connection information that was entered.
> Does anyone else think it might be useful to do so?  If so, I could
> look into this.

+1 (if no other DataNodes yet exist in the project)

> Also, I think I want a button to check all the "Use
> for Locking" checkboxes, too.  :-)

We do have that already - an "Optimistic Locking" checkbox and  
"Update" button in the DataMap.

Andrus