Localization « Internationalization « JPA Q&A





1. Localization strategy guidance needed    forum.hibernate.org

I read regarding mapping multiple tables to a single class that it is usally an effect of poor database design. That article reffered to the following page http://www.hibernate.org/Documentation/Delegate where it says: "We consider it an essential element of good object model design that the object model be at least as granular as the relational model" Where does that leave us when ...

2. Data localization    forum.hibernate.org

Hi All ... How do you think about this possible new feature of Hibernate ... Problem and here decision: 1) Your need localize some data of your bean (ru / en) 2) Writing default object. Code: public class Article { String title; String text; ........... } 3) In configuration ...

3. Localization Problem in Hibernate    forum.hibernate.org

Hi in my application i want localization . this works fine with class level .but when i try to use same with associatiom (i.e Set (in many to many association)) that time it is not doing special characters. it seems when hibernate does enhancement of Object at runtime that time it is not taking care of international character . if any ...

4. Localization technique    forum.hibernate.org

We have the following schema: A product table that has locale independent data and a productDescription table that has a productId foreign key and locale field. We are using the criteria query below to fetch products for a specific locale: Criteria criteria = getSession().createCriteria(Product.class); Criteria detailsCriteria = criteria.createCriteria("productDetails"); detailsCriteria.add(Restrictions.eq("locale", locale)); return (List) criteria.list(); However the list returned has all productDetails irrespective ...