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 7054217
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:35:59+00:00 2026-05-28T03:35:59+00:00

I am using simpleDB GORM with my grails application, though simpledb is great its

  • 0

I am using simpleDB GORM with my grails application, though simpledb is great its a huge drag while in development mode, every click takes few seconds resulting in not so rapid development.

From what I understand simpleDB comes into action only if domain class has following two lines in code

String id
static mapWith = "simpledb"

So, my question is, is it possible to remove/hide these two declaration on the fly from domain classes depending on some kind of flag?

Same question asked differently,

Is there a way in Groovy, most probably meta programming, by which I can

  • Remove a variable declaration from a class(Domain class actually)
  • Remove static mapWith declaration from a class(Domain class again)
  • Finally, is there a way to iterate through all my domain class and perform first two operations in bootstrap.
  • 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-28T03:36:00+00:00Added an answer on May 28, 2026 at 3:36 am

    If you remove mapWith = “simpledb” it will be mapped with Hibernate, and it is probably not a very good idea to develop on Hibernate GORM in dev and SimpleDB GORM in prod mode – the biggest problem is that your application would behave very differently because SimpleDB is based on eventually consistency, and it means you would get nasty surprises when in production compared to good old consistent world of relational DB…

    Thank you for using simpledb plugin!

    Roman.

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

Sidebar

Related Questions

I am working on a grails application which uses Amazon's SimpleDB. I changed a
All in a sudden my Java application using SimpleDB doesn't work anymore. I'm using
Do you know if there is a way of using Amazon SimpleDB with NHibernate?
I'm using Amazon's simpledb in my app. When parsing xml it gives an error
I am just beginning to do research into the feasibility of using Amazon's SimpleDB
I am thinking of using amazon Simpledb as a queue to take some load
I'm using Nokogiri::XML to parse responses from Amazon SimpleDB. The response is something like:
I know how to page forward with SimpleDB data by using NextToken. However, how
I'm experimenting with Amazon SimpleDB (using Rick Helms' PHP API ) and I've noticed
I'm making a simple high scores database for an iPhone game using Amazon's SimpleDB

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.