You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Craig L Russell (JIRA)" <ji...@apache.org> on 2010/02/23 22:15:27 UTC

[jira] Updated: (OPENJPA-1530) MySQL storage engine support

     [ https://issues.apache.org/jira/browse/OPENJPA-1530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Craig L Russell updated OPENJPA-1530:
-------------------------------------

    Description: 
The MySQLDictionary currently supports only TYPE innodb. There is a skeleton for support of this element but there is no way to change it from the default.

Also, according to the MySQL documentation http://dev.mysql.com/doc/refman/5.1/en/create-table.html  TYPE is deprecated. The recommended (and supported) keyword is ENGINE. 

"Since MySQL 5.1.8, it produces a warning. It will be removed in a future MySQL release. You should not use TYPE in any new applications, and you should immediately begin conversion of existing applications to use ENGINE instead."

I propose to change TYPE to ENGINE, and to provide a way for the user to specify which engine to use.

I need some feedback on this: A property, mysql.engine, with a default of innodb (for compatibility) can be specified by the user in order to create tables using any of the supported engines. Can the property be put onto the command line? Can the property be added to persistence.xml? Can the property be added to the maven profile properties?


  was:
The MySQLDictionary currently supports only TYPE innodb. There is a skeleton for support of this element but there is no way to change it from the default.

Also, according to the MySQL documentation, TYPE is deprecated. The recommended (and supported) keyword is ENGINE. 

I propose to change TYPE to ENGINE, and to provide a way for the user to specify which engine to use.

Also, a property, mysql.engine, with a default of innodb (for compatibility) can be specified by the user in order to create tables using any of the supported engines.


        Summary: MySQL storage engine support  (was: Support specification of storage engine type for MySQL)

> MySQL storage engine support
> ----------------------------
>
>                 Key: OPENJPA-1530
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1530
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: jdbc
>            Reporter: Craig L Russell
>            Assignee: Craig L Russell
>            Priority: Minor
>             Fix For: 1.3.0
>
>
> The MySQLDictionary currently supports only TYPE innodb. There is a skeleton for support of this element but there is no way to change it from the default.
> Also, according to the MySQL documentation http://dev.mysql.com/doc/refman/5.1/en/create-table.html  TYPE is deprecated. The recommended (and supported) keyword is ENGINE. 
> "Since MySQL 5.1.8, it produces a warning. It will be removed in a future MySQL release. You should not use TYPE in any new applications, and you should immediately begin conversion of existing applications to use ENGINE instead."
> I propose to change TYPE to ENGINE, and to provide a way for the user to specify which engine to use.
> I need some feedback on this: A property, mysql.engine, with a default of innodb (for compatibility) can be specified by the user in order to create tables using any of the supported engines. Can the property be put onto the command line? Can the property be added to persistence.xml? Can the property be added to the maven profile properties?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.