[ 
https://issues.apache.org/jira/browse/RAVE-255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102484#comment-13102484
 ] 

Jasha Joachimsthal edited comment on RAVE-255 at 9/12/11 7:28 AM:
------------------------------------------------------------------

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

      was (Author: jashajoachimsthal):
    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

        

Reply via email to