<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Bryan

      BlogJava :: 首頁 :: 聯系 :: 聚合  :: 管理
      37 Posts :: 3 Stories :: 24 Comments :: 0 Trackbacks

    For over one year I am working on the PLM MatrixOne platform which connects to the database Oracle.And for long time, we only connect to the romote oracle DB server via the matrixone client. util recently, I have got one license and install MatrixOne enoviav6r2009 and Oracle locally.But after all, Oracle makes our computer repsond slowly, that's why I want to install MySQL instead. 

    I got the latest MySQL version [MySQL Installer 5.5.17] as well as Connector/ODBC.  I create an ODBC Data Source to use with ENOVIA Live Collaboration and try to configure the enovia to connect to MySQL,but It always produces the following error

    #301  System Error #1  State 42S02: [MySQL][ODBC 5.1 Driver][mysqld-5.5.17]Table test.mxschema' doesn't exist
    ......................(Ignore)
      #189  System Error #1  State 42000: [MySQL][ODBC 5.1 Driver][mysqld-5.5.17]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE = InnoDB' at line 6


    From the beginning , I thougt It's the DB type problem,But It seems to be due to the syntax change of MYSQL5.5 and the envia 2009 is not compatible with MySQL 5.5, so I downgrade the MySQL to version MySQL 5.1.59 and finally, It works perfectly.This time,if you try to connect the matrixone client to the MySQL, It will create mx* tables in the MySQL test database.Most of the table contain empty data except
    mxadmin,mxapplication,mxattrtype,mxbustype,mxdimension,mxexpression,mxformat,mxlattice,mxlocation,mxoid,mxotheradmin,mxpolicy,mxprogram,mxreltype,mxschema,mxserver,mxset,mxstatereq,mxstore,mxuser,mxver6.
    and they only have some administrator creator and guest data,you need to install AEF and more Central data.

    It's an easy thing, but takes me one week, I write this paragraph only to save people some time.

    Schema Agent
    The following is the SchemaAgent tool introduction which I refer to the SchemaAgent_ReadMe:
    The Business Document Generator originated from MatrixOne Europe to provide an offline HTML view of the schema featuring lookups that are not provided in the Business or Mql tools. In time this tool was integrated with Spinner so provides schema extracts or dumps into tab-delimited text files. The Business Document Generator is now known as SchemaExtractor and has been enhanced to reflect new versions of Matrix with System and Matrix Business Objects added to the Documentation set.

    The Spinner concept was first introduced from Australia with a ‘dynamic’ script that permitted policy access definitions to be maintained and updated in Excel spreadsheets without maintaining the script. In North America, this dynamic scripting method was extended to the entire schema with an additional looping feature so was born SpinnerAgent.

    The integration of the SchemaExtractor and SpinnerAgent is the package called Schema Agent.

    DB Case Sensitivity: Allow BINARY attribute in MySQL

    Meanwhile, On MySQL, VARCHAR defaults to a case insensitive collation.For instance,you can create dimension in  matrixone with name H and h(lowercase), MySQL will fail due to this restriction and produces the following errors:

    Add dimension mOhm
    Error: #1900068: mod dimension failed
    Error: #1900005: Name 'mOhm' not unique


    .You can solve this problem by adding the attribute binary.

    alter table mxdimension modify mxName  varchar(128CHARACTER SET binary;
      alter table mxunit modify mxName  varchar(128CHARACTER SET binary;


    And if you are facing the following errors while importing attributes,you need to delete the attributes in matrixone manually(default data type is not real or integer) and use the spinner to import again.

    Modify attribute Capacity
    Error: #1900068: mod attribute failed
    Error: #1500680: A dimension can only be applied to a real or integer attribute.
    Modify attribute Frequency
    Error: #1900068: mod attribute failed
    Error: #1500680: A dimension can only be applied to a real or integer attribute.


    Migrate data(Matrix Objects) between different database

    I donot know how to  import/export matrix data object using the Spinner tool ,and instead we can use the MQL export/import command in the following way.

     

    export bus 'Business Skill' * * into file c:\\businessskill.exp;
    import bus 'Business Skill' * * from file c:\\businessskill.exp;


    MxEclipse Install:
    1. get the zip file mxeclipse_0.9.2.2.zip from the official website http://mxeclipse.sourceforge.net/
    2. copy the jar file in the folder features to $eclispe_home/features folder, unpack the jar and then delete the jar file.
    3. copy the jar file in the folder plugins to $eclispe_home/plugins folder and also the com.matrixone.plugin.library_10.7.1.jar, and you need to update the jars in the com.matrixone.plugin.library_10.7.1.jar if you upgrade.
    4 restart the eclipse and you will see the mxeclipse plugin.




    Two userful development tools
    easy explorer
    http://sourceforge.net/projects/easystruts/files/Easy%20Explorer%20for%20Eclipse/

    eclipse decomplier plugin 
    update site: http://java.decompiler.free.fr/jd-eclipse/update


    Ref:
    http://forums.vtiger.com/viewtopic.php?t=40942
    http://mxeclipse.sourceforge.net/

    http://hi.baidu.com/bluesky_0402/blog/item/51201490ad8f43adc9eaf488.html
    http://blog.sina.com.cn/s/blog_48b3188c0100deep.html
    http://rattbell.itpub.net/post/22952/485658

    posted on 2011-11-12 09:49 Life is no respector of any genius. 閱讀(1744) 評論(0)  編輯  收藏 所屬分類: MatrixOne

    只有注冊用戶登錄后才能發表評論。


    網站導航:
     
    主站蜘蛛池模板: 亚洲欧洲专线一区| 亚洲男人电影天堂| 看亚洲a级一级毛片| 一二三四影视在线看片免费| 亚洲高清无在码在线电影不卡| 亚洲av无码一区二区三区四区| 久久青草91免费观看| 久久亚洲AV成人出白浆无码国产 | 亚洲天然素人无码专区| 久久国产免费福利永久| 国产日本亚洲一区二区三区| 国产精品无码免费播放| 欧美亚洲国产SUV| 亚洲人成网站在线观看青青| 大妹子影视剧在线观看全集免费 | 亚洲首页国产精品丝袜| 成年女人免费碰碰视频| 特级无码毛片免费视频| 国产gv天堂亚洲国产gv刚刚碰| 免费的黄色的网站| 亚洲国产精品无码AAA片| 57pao一国产成永久免费| 亚洲国产乱码最新视频| 亚洲日韩VA无码中文字幕| 免费观看在线禁片| 久久亚洲国产最新网站| 亚洲国产免费综合| 99re在线这里只有精品免费| 亚洲中文字幕久久精品无码A| 日本免费高清一本视频| 国产精品免费αv视频| 亚洲精品视频在线观看免费| 日韩免费在线观看| 午夜精品一区二区三区免费视频| 亚洲福利电影一区二区?| 四虎永久免费地址在线网站| 成人性生交大片免费看中文| 亚洲午夜在线播放| 亚洲午夜国产精品无码老牛影视 | 国产成人高清亚洲一区91| 国产亚洲一区二区精品|