title: Unsuccessful creation of table in Oracle
body: <p>I am creating a domain class in my grails application.This is my domain class</p>
  
  <pre><code>class StatTiming {
  
  Date startTime
  Date endTime
  Date date
  double percentageOnTariff
  AutoPosting autoPosting
  Status status
  
  static constraints = {
      startTime(nullable:false)
      endTime(nullable:false)
      date(nullable:false)
      percentageOnTariff(nullable:false)
      autoPosting(nullable:false)
      status(nullable:false)
  }
  
  enum Status{ACTIVE,INACTIVE}
  enum AutoPosting{SERVICE_CHARGE,STAT_CHARGES,BOTH}
  </code></pre>
  
  <p>}</p>
  
  <p>Its working fine in hsqldb, but when i change database to Oracle its failed to create the table. I need to work in Oracle not hsqldb. An error is generated called "ORA-00904: : invalid identifier". Can anyone please tell me what is the problem here? </p>