You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rave.apache.org by "Jasha Joachimsthal (JIRA)" <ji...@apache.org> on 2011/09/12 09:29:08 UTC

[jira] [Resolved] (RAVE-255) Sequence generator causes troubles with MySQL

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

Jasha Joachimsthal resolved RAVE-255.
-------------------------------------

    Resolution: Fixed

Switched to @GeneratedValue(strategy = GenerationType.TABLE) for all entities
rave-portal was using GenerationType.SEQUENCE (incompatible with MySQL) while rave-shingi was using GenerationType.IDENTITY (incompatible with Oracle)

> Sequence generator causes troubles with MySQL
> ---------------------------------------------
>
>                 Key: RAVE-255
>                 URL: https://issues.apache.org/jira/browse/RAVE-255
>             Project: Rave
>          Issue Type: Sub-task
>            Reporter: Jasha Joachimsthal
>            Assignee: Jasha Joachimsthal
>             Fix For: 0.4-INCUBATING
>
>
> MySQL does not support sequences (it does support autoincrement though). Create a setup that works for both H2 and MySQL (and preferably also for PostgreSQL)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira