SolveITProblems is a project of intellectual club

SolveITProblems это проект интеллектуального клуба

понедельник, 13 февраля 2012 г.

Grails - Oracle Sequence problem (ORA-02289: sequence does not exist)

Hi, my program works well on local mysql but in test oracle server i faced an interesting problem.
 my laptop -ORA-02289: sequence does not exist
me -what do you want from me, it work in mysql?
my laptop -do something with sequences hibernate from grails dont create it for autoincrement fields
me -ok...

 And after that i've added one line of code into my domain classes and  go on my happy coding and testing :)
  static mapping = { 
 id generator:'sequence', params:[sequence:'ANY_WORD'] 

Комментариев нет:

Отправка комментария