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

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

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

    Bryan

      BlogJava :: 首頁 :: 聯(lián)系 :: 聚合  :: 管理
      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. 閱讀(1745) 評論(0)  編輯  收藏 所屬分類: MatrixOne

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


    網(wǎng)站導(dǎo)航:
     
    主站蜘蛛池模板: 国产免费卡一卡三卡乱码| 亚洲综合在线观看视频| 国产亚洲精久久久久久无码77777| 久久精品国产亚洲麻豆| 亚洲性69影院在线观看| 理论亚洲区美一区二区三区| www免费黄色网| 成人免费福利视频| 亚洲精品无码av天堂| 久久亚洲熟女cc98cm| 看免费毛片天天看| 久久亚洲免费视频| 国产免费黄色大片| 久久亚洲精品国产精品| 亚洲av无码片vr一区二区三区 | 亚洲国产精品乱码在线观看97| 亚洲国产成人精品无码区二本| 男女一进一出抽搐免费视频 | 18pao国产成视频永久免费| 国产福利免费观看| 久久亚洲国产精品成人AV秋霞| 老司机午夜免费视频| 国产成人免费在线| 国产亚洲成人在线播放va| youjizz亚洲| 可以免费观看的国产视频| 国产乱子伦精品免费无码专区| 91精品国产亚洲爽啪在线影院| 人妻巨大乳hd免费看| 免费鲁丝片一级在线观看| 久久丫精品国产亚洲av不卡| 一级毛片无遮挡免费全部| 午夜精品在线免费观看| 亚洲综合激情另类小说区| a级毛片免费高清视频| 国产片免费福利片永久| 亚洲精品福利你懂| 国产成人免费午夜在线观看| 亚洲av日韩av高潮潮喷无码| 亚洲免费日韩无码系列| 四虎免费久久影院|