'Uncategorized' Category

The Conundrum facing localizers

May 22nd, 2018 May 22nd, 2018
Posted in Uncategorized
No Comments

My second year at MIIS was about an in-depth understanding – and therefore practice – of Localization, a business often boasted as a “rapidly growing” industry which creates tens of thousands of job opportunities each year and whose relevance is increasingly recognized as an essential part of the Globalization. Indeed, sometimes the vision is just […]

Hibernate_ The relationship between “mappedBy” and “inverse”

March 3rd, 2018 March 3rd, 2018
Posted in Uncategorized
No Comments

I’ve been confused by how “mappedBy” and “Inverse” works in Hibernate for a long time. Happily, after searching through a bunch of resources and watching the video explaining in detail, also by comparing the xml and annotation settings, I could confidently reach a conclusion First thing, “mappedBy” and “inverse=true” serves the same purpose in two […]

Hibernate – Difference between Cascade and Inverse

February 25th, 2018 February 25th, 2018
Posted in Uncategorized
No Comments

The property “Cascade” is used to define if update/delete method that applies to one object equally applies to a related one. “inverse”, however, is a property that defines which object is responsible for maintaining the relationship with another object. In the case where “inverse” is set to be “false”, the object shall be responsible for […]

Case Title: F-Secure Empowering Translation Teams

February 24th, 2018 February 24th, 2018
Posted in Uncategorized
No Comments

F-Secure, a highly successful brand featured for its product in anti-virus and cloud-content, wanted to have its product localized by its long-term partner – WeLocalize – a LSP renowned for its extraordinary work in the Translation and Localization Industry. Normally, the translation/localization of this kind of products is a headache, given the highly technical terminologies […]

Re-create web.xml in MyEclipse

February 22nd, 2018 February 22nd, 2018
Posted in Uncategorized
No Comments

So the problem with this creation is, after you imported all the necessary jar files and updated the project, there would be a message popping up telling you that “one or more of needs are not satisfied”. Usually, this message popped up because under default settings, MyEclipse will generate web.xml in the version of 2.3 […]

property hbm2ddl.auto

February 20th, 2018 February 20th, 2018
Posted in Uncategorized
No Comments

<property name=”hibernate.hbm2ddl.auto” value=”create” />   With in hibernate.cfg.xml, this property determines if session will update existing lists in cases where hibernate is launched. The value can be set to: update create drop create-drop validate

Hibernate _ Primary Key

February 20th, 2018 February 20th, 2018
Posted in Uncategorized
No Comments

<h1> There are two major types of primary keys in Hibernate: Natural versus Proxy Natural takes the class of “assigned” While proxy is explained below:   There are three kinds of proxy (relative to “natural”) primary key in Hibernate: </h1> hilo, identity, and sequence. Set primary key to identity : <generator class=”identity></generator> When “identity” is […]

A Util Class in Hibernate – explained with ThreadLocal

February 19th, 2018 February 19th, 2018
Posted in Uncategorized
No Comments

class ThreadLocal is set to deal with multi-threading problems where threads tend to operate on a single variable. Different from the traditional way of “synchronized”, the ThreadLocal assigns to each thread a copy of variable the threads need to process. In “synchronized” mode, security is guaranteed at the risk of running efficiency. In ThreadLocal, the […]

Hibernate Learning XML setting explained in detail:

February 18th, 2018 February 18th, 2018
Posted in Uncategorized
No Comments

Maven Project Pom.xml setting <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-core</artifactId> <version>5.2.12.Final</version> </dependency> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.41</version> </dependency> <build> <finalName>JavaEE_HibernateDay2</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.7.0</version> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> </plugins> </build> The maven setting is set to allow the software to import external jars, some of which  are for dependencies, others for […]

Hibernate Learning Post 2:

February 18th, 2018 February 18th, 2018
Posted in Uncategorized
No Comments

HQL language HQL language stands for Hibernate Query Language. select from ? where ? group by ? order by? The HQL doesn’t support “*” statement. If needed, type “select username u from …” where u stands for an alias for “username” HQL is most used for “search”, while fucntions of update, create and delete is […]


Sites DOT MIISThe Middlebury Institute site network.