Topic: UML建模与数据库设计的问题 |
Print this page |
1.UML建模与数据库设计的问题 | Copy to clipboard |
Posted by: p96114 Posted on: 2003-02-27 21:16 在数据库系统中,我们在做UML的时候的某一个类,其数据都要存在数据库中,那么在设计数据库的时候我们又要照着类图又来一次吗? 总之如何解决UML建模与数据库建模的关系! 请多多指较! |
2.Re:UML建模与数据库设计的问题 [Re: p96114] | Copy to clipboard |
Posted by: fly2fire Posted on: 2003-02-28 09:22 如果你是用rose的话,我知道,是可以从类图导出相应数据库表,而且也可以直接写到数据库中。 |
3.Re:UML建模与数据库设计的问题 [Re: fly2fire] | Copy to clipboard |
Posted by: p96114 Posted on: 2003-02-28 09:27 TO fly2fire 也就是说,我们在设计类图的时候,同时也要兼顾数据库的设计 是吗? |
4.Re:UML建模与数据库设计的问题 [Re: p96114] | Copy to clipboard |
Posted by: floater Posted on: 2003-03-01 05:12 No, design db first. |
5.Re:UML建模与数据库设计的问题 [Re: p96114] | Copy to clipboard |
Posted by: chaos Posted on: 2003-03-03 01:15 This is an O/R mapping like questions. There are five strategies you can adopt : 1.Top-down: Start with an existing JavaBeans object model, develop a mapping that maps those objects to tables in your database, generate DDL to create your database, and then use a persistance API to persist those objects to that database. 2.Bottom-up: Start with an existing database schema, describe your database schema using using XML or some other meta-data representation, generate your JavaBeans object model, optionally add business logic to those objects, and use a persistence API to store and retrieve your objects. 3.Middle-out: Start with a meta-data description of your object model, generate your JavaBeans object model, generate DDL to create your dataBase, and use a persistence API to store and retrieve your objects. 4.Meet-in-the-middle: Start with an existing database schema and an existing JavaBeans object model, develop a mapping to map between the two, and use a persistence API to store and retrieve your objects. 5.Generic-object: Start with a meta-data description of your desired database schema, generate DDL to create your database, and use a persistence API to store and retrieve generic data objects, with values stored as a hash of name-value pairs, to and from your database. |
6.Re:UML建模与数据库设计的问题 [Re: floater] | Copy to clipboard |
Posted by: frenzieddragon Posted on: 2003-03-03 12:15 floater wrote: 我认为先做类图再考虑数据库设计好点。 |
7.Re:UML建模与数据库设计的问题 [Re: p96114] | Copy to clipboard |
Posted by: HenryYu Posted on: 2003-03-04 09:32 这是一个普遍存在的问题,在rose中虽然支持数据库的设计,但是你会发现他烂得要死!所以我建议用powerdesigner来设计数据库,再把对应的实体类在rose中重新建立 |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |