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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T10:00:32+00:00 2026-06-13T10:00:32+00:00

My web application is implemented in Grails. My situation is that I have a

  • 0

My web application is implemented in Grails.

My situation is that I have a domain class (hibernate class) with more columns and some of them are large Strings, up to 4000 characters.

For example :

String description // max 4000
// column2, column3, etc

Now I have to implement a multiple language database for this elements and my strategy is to have one field for every language.

String description_en_US
String description_de_DE

My question is if it is more efficient if I have a separate table for every language, or to save it in one large table.
The question has two parts. First, which is more efficient for hibernate if it uses a large memory when loading the data and second, which is more efficient for the database?

It can happen that later I’ll have more than 10 languages.

  • 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-06-13T10:00:33+00:00Added an answer on June 13, 2026 at 10:00 am

    I cannot answer the question but I would strongly recommend not using a field for a language but another table with languages and references to this table. This is because if you ever have to add another language you don’t have to change the structure of the existing tables but only add another row to the languages table and can use the key as foreign key in the description table. Long strings aren’t the problem I think. How many entries to the description table do you expect to maintain?

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

Sidebar

Related Questions

I am developing a web-application in grails.In that I have implemented video's playing option.For
I have a web-application which uses hibernate and for some reason every thread (httprequest
I have a .NET 3.5 web application for which I have implemented a class
I have just re-implemented an ASP.NET web application that uses NHibernate to use a
I am writing a web application and have just implemented that a user can
I am working on a large web application implemented in ASP.net. The main part
I've implemented a web application that takes advantage of CORS to gather JSON data
we have implemented a web application in asp.net 4.0 and customer needs us to
We have implemented SSO in a .NET web application using Windows Identity Foundation (WIF).
I have Spatial Selection implemented on Map in my Web Application, which selects the

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.