This content has been marked as final.
Show 3 replies
-
1. Re: Fixes/Features?
deb Feb 26, 2005 5:50 PM (in response to deb)In fact, since it's easy enough, here're the bug fixes.
--- EntityToHibernateXml.java.orig 2005-02-26 15:47:33.809199500 -0700 +++ EntityToHibernateXml.java 2005-02-26 15:48:52.776091100 -0700 @@ -555,7 +555,7 @@ if (p.getAnnotation(Serialized.class) != null) { ind.indent(); - writer.println(" type=\"seralized\""); + writer.println(" type=\"serializable\""); } else if (lob != null) { @@ -595,7 +595,7 @@ if (p.isAnnotationPresent(Serialized.class)) { ind.indent(); - writer.println(" type=\"seralized\""); + writer.println(" type=\"serializable\""); } ind.indent(); writer.print(" access=\"" + p.getDefaultAccess() + "\""); @@ -1638,14 +1638,14 @@ Entity entity = (Entity) clazz.getAnnotation(Entity.class); handlePrimaryKey(clazz); + handleDiscriminatorColumn(clazz, inheritance); + Property version = getAnnotatedProperty(clazz, Version.class, true); if (version != null) { handleProperty(version); } - handleDiscriminatorColumn(clazz, inheritance); - HashMap<String, ArrayList<Property>> secondary = new HashMap<String, ArrayList<Property>>(); iterateProperties(secondary, new HashSet(), clazz, clazz);
-
2. Re: Fixes/Features?
bill.burke Feb 27, 2005 5:58 PM (in response to deb)yes, post it as patch in JIRA.
-
3. Re: Fixes/Features?
bill.burke Mar 8, 2005 2:19 PM (in response to deb)fixed and regression tested in HEAD