Schema中文的支持

来源:互联网 发布:sql怎么导出数据库 编辑:程序博客网 时间:2024/06/06 18:01

在写Mondrian的schema或者利用Workbench(Cube Designer)生成的时候,如果要使用中文则需要在你的schema文件中设置一下编码即可,例如在FoodMart中设置如下

<?xml version="1.0" encoding="gb2312"?>

然后可以这样描述Measure:

<Measure name="库存消耗" column="store_cost" aggregator="sum" formatString="#,###.00"/>

所有带name属性的都可以替换成中文,jpviot会自动显示这些中文.

 


 

引自[逝去的风]http://zongfeng.bloghome.cn/posts/317.html

证实可用!


原创粉丝点击