Powerdesigner V11 Evaluation版的小BUG
授权方式:署名,非商业用途,保持一致,转载时请务必以超链接(http://www.fwolf.com/blog/post/85)的形式标明文章原始出处和作者信息及本声明。在进行检查(Check Model)的时候,检查实体名长度时报错,比如:
- Table code maximum length
Error The code of the following table is too long:
-> Table ‘用户表’ (<Model>)
字符集我使用的是cp936,应该没有问题,那这个错误为什么会出现呢?经过试验,我发现,虽然在DBMS设置中MaxLen设置的是30,但实际有效的却是15,因此改为60,也就是相当于原来的30,问题解决。
下面这个例子中就看得更清楚了:
- Constraint name maximum length
Error The following objects have a constraint name which is too long:
-> Reference ‘REF_3′ (<Model>)
Category Check Object Location
Package Reference constraint name maximum length is limited to 15 characters Reference ‘REF_3′ <Model>
但ORACLE 9i::ScriptObjectsMaxConstLen的值明明是30,说明这可能是PD的一个小BUG,也或许是我在什么地方设置不对了:-(,但解决的方法总算是找到了。
版本:Version: 11.0.0.1363 Evaluation
![[Bloglines]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/bloglines.png)
![[co.mments]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/comments.png)
![[del.icio.us]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/digg.png)
![[diigo]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/diigo.png)
![[Facebook]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/facebook.png)
![[Furl]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/furl.png)
![[Google]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/google.png)
![[MySpace]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/myspace.png)
![[Reddit]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/reddit.png)
![[Rojo]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/rojo.png)
![[Slashdot]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/slashdot.png)
![[StumbleUpon]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/stumbleupon.png)
![[Technorati]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/technorati.png)
![[Windows Live]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/windowslive.png)
![[Yahoo!]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/yahoo.png)
![[Email]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/email.png)
November 29th, 2005 at 9:08:34
可能是因为字符集的缘故,PD用两个自己表示一个字符,这样就导致了设的是60,实际只能存30。
November 30th, 2005 at 22:17:55
应该是吧,不过这也是第一次使用11版的PD,以前用9.5没有这个问题
还有就是以前连的是Sybase和Mysql库,这次是Oracle库。
August 15th, 2006 at 19:17:17
哪位大哥说一下具体的设置,俺是第一次用!
August 15th, 2006 at 19:58:00
找到了,其实文中已经说过了,只不过对菜鸟不太友好。
Database - Edit Current DBMS - Script - Objects-MaxConsLen
August 16th, 2006 at 10:02:45
谢谢楼上的补充~