diff --git a/querydsl-codegen/src/main/java/com/querydsl/codegen/EntityType.java b/querydsl-codegen/src/main/java/com/querydsl/codegen/EntityType.java
index <HASH>..<HASH> 100644
--- a/querydsl-codegen/src/main/java/com/querydsl/codegen/EntityType.java
+++ b/querydsl-codegen/src/main/java/com/querydsl/codegen/EntityType.java
@@ -34,7 +34,7 @@ public class EntityType extends TypeAdapter implements Comparable<EntityType> {
 
     private final Map<Class<?>,Annotation> annotations = new HashMap<Class<?>,Annotation>();
 
-    private final Set<Constructor> constructors = new HashSet<Constructor>();
+    private final Set<Constructor> constructors = new LinkedHashSet<Constructor>();
 
     private int escapeSuffix = 1;
use LinkedHashSet for deterministic order