Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6531355
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T09:52:06+00:00 2026-05-25T09:52:06+00:00

i use grails-1.3.2 and gorm-hbase-0.2.4 plugin. Sometimes i need to change tables structure(add new

  • 0

i use grails-1.3.2 and gorm-hbase-0.2.4 plugin.

Sometimes i need to change tables structure(add new tables or columns).
I have created Car table:

class Car{
    static belongsTo = [user:User]

    String color
    String model
    //.....

    static constraints = {
    }
}

but when i want to create car object:

def create = {
        Car car = new Car()
        car.properties = params
        car.save(flush: true)        
 }

I got the following exception:

ERROR gorm.SavePersistentMethod  - APP_CAR
org.apache.hadoop.hbase.TableNotFoundException: APP_CAR

After i run application with create-drop, everithing starts work good..
but i can not after every changes delete all data,
i thought plugin have to do all updates

so, i am looking some way after changind tables structure continue to run application without drop tables..

If anybody know solution please help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T09:52:07+00:00Added an answer on May 25, 2026 at 9:52 am

    Grails will NOT do automatic updates to your tables, what if it drops a column in production automatically? Maybe that is not what you wanted.

    There is a database migration plugin to do this and here is an excellent link that explains it. Note that you need to use grails prod instead of using the ones directly in the link, otherwise it will run in development mode only. The link does not show prod in its commands.

    The official links are here and the spring source blog about this is here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have several categories that I use in my Grails plugin. e.g., class Foo
I use grails-1.3.2 and hbase-0.2.4 plugin. I want to use searchable plugin, but when
I need to configure a datasource to use in grails. I created file scripts/_Events.groovy
When I use the Grails Database Migration Plugin and run a dbm-gorm-diff (for example,
I have a few Java/Maven projects that I want to use in a Grails
My current requirement is: I have to package my grails app and use teamcity
I have recently started reading up on Grails and would like to use SQL
I'm learning to use Grails and have run into a situation I don't understand
I'm using Grails 2.1.1 with mongodb plugin. I have problem with changing order of
is there any way to use lazy property fetching in Grails / Gorm ?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.