3.5.2-Final is a maintenance release of mainly minor bug fixes. Some fixes in particular were non-minor:
- HHH-5135 could lead to an exception or incorrect results when a query uses a column with the same name as a function.
- HHH-4991 can cause chunks of SQL related to many-to-many associations to be excluded from queries generated by a Criteria which would cause an exception.
- HHH-3096, HHH-4957, and HHH-5063 resulted in exceptions or incorrect results using Criteria Projections.countDistinct() or when using an alias that is the same as the property name)
- HHH-5078 could produce incorrect numeric results when using JPA Criteria to generate expressions that combined addition or subtraction with other arithmetic operators; parentheses were excluded from ( a + b ) / c, resulting in the expression evaluating using default operator precedence.
- HHH-5042 would cause hilo generators to return duplicate keys after having exhausted the current lo-range.
- HHH-5032 prevented locks from being upgraded to LockModeType.OPTIMISTICFORCEINCREMENT using Entity Manager, resulting in versions not being updated on transaction commit.
- HHH-1574 can cause an exception indicating that an immutable natural ID containing a many-to-one association was altered when it was unchanged.
For the the full list of changes, see the release page.
The artifacts have all been published to the new JBoss Maven repository. You can find out more about the new JBoss Maven repository here.
The release bundles have been uploaded to SourceForge.
Please report any issues to Jira. Visit us on IRC or the forums if you have usage questions.
Thanks!
Created: 14. May 2010, 14:55 CET (Gail Badner)
Last Modified: 14. May 2010, 23:20 CET (Steve Ebersole)
a)
Don't you do unit tests?
`parentheses were excluded from ( a + b ) / c, resulting in the expression evaluating using default operator precedence.`
b)
Without logging in I don't see anything at https://repository.jboss.org/nexus (search brings up nothing). I don't know what I would see with logging in, because I don't know how and don't want to.
http://repository.jboss.org/nexus in <repository> does not give me org.hibernate.entitymanager 3.5.1 or 3.5.2
http://repository.jboss.org/maven2 in <repository> does give me
org.hibernate.entitymanager 3.5.1 but not 3.5.2
I am getting this upset, because I really rely on Hibernate as infrastructure, and don't want to test this in addition to the things I anyway test.
Your wiki markup is also a bit strange
So, to paraphrase, you are because a bug happened to slip in to a completely new set of code? Wow, tough crowd. Can I monitor your project somewhere?
The post identifies 2 maven URLs. Did you read the sentence? ...
Now both and are linked. points to https://repository.jboss.org/nexus/content/groups/public/org/hibernate/ points to https://repository.jboss.org/nexus/
I mean which seems logical to contain the Hibernate ? I go to https://repository.jboss.org/nexus/content/groups/public/org/hibernate/ and see 3.5.1, 3.5.2, etc.
Hell Gail even linked to a page describing the the new Maven repository and everything about it. Sorry you were not able to follow.
All true, sorry for being so stupid (guess it wont help anymore).
best wishes,
To be honest it has nothing to do with being stupid; I am quite stupid on a fairly regular basis. It has more to do with the rude tone in your original comment.
Hi,
I'm currently looking at upgrading our application to Hibernate 3.5.2-Final, but I'm hitting an Assertion Failure, which has been reported in Jira. Apparently I'm not the only one, since has the highest number of votes for 3.5.x. I've tried the patch and it seems to work fine (I'm also having trouble with Spring 3.0.2, but that's another issue).
Any chance this can be included in a 3.5.3 snapshot any time soon?
Also, I've looked at the wiki page for building from source to build a patched Hibernate entitymanager, and it still refers to the old JBoss Maven repositories. Could you have a look at this too?
Many thanks and keep up the good work!
Erik-Berndt
I can't get 3.5.2-Final or 3.5.1-Final in https://repository.jboss.org/nexus repository
8/26/10 7:54:24 PM BRT: Missing artifact org.hiberante:hiberante-entitymanager:jar:3.5.1:compile 8/26/10 7:54:24 PM BRT: Missing artifact mysql:mysql-connector-java:jar:5.1.44:compile
'3.5.1' and '3.5.1-Final' are not the same! Look at the error message.
https://repository.jboss.org/nexus/content/groups/public/org/hibernate/hibernate-entitymanager/3.5.1-Final/
https://repository.jboss.org/nexus/content/groups/public/org/hibernate/hibernate-entitymanager/3.5.2-Final/
Both are there.
Dunno, I have nothing to do with the mysql project. Can't help you there. But not sure why you expect the mysql artifacts to be in the JBoss repository. I see these in central though:
http://repo1.maven.org/maven2/mysql/mysql-connector-java/