dear hibernate users,

I helped some community users on IRC recently which run into issues when migrating to 4.0, and the most popular issue I'm seeing is caused by the hibernate-anntations module dependency, so, I would like to explain it again.

we MERGED this module into hibernate-core since hibernate core 3.6 release, see the release note of 3.6.

so, maven / gradle users, you just need to add hibernate-core ( and hibernate-entitymanager if you're using JPA ) to your dependency list, and remove hibernate-annotation dependency if it is there.

some background:

before hibernate-core 3.5, it was JDK 1.4 compatible, so, to use Annotation, the new feature of JDK 1.5, we had to create a new module, aka, hibernate-annotations

but since we had moved to JDK 1.5 since hibernate-core 3.5, there is no reason to keep hibernate-annotations as a separated module, so, we merged back into hibernate-core.

------------------------ chinese below ---------------------------

我注意到很多人在迁移到hibernate orm 4.x的过程中, 遇到最多的一个问题是关于hibernate-annotations的, 这里, 需要再重申一下, 从hibernate core 3.6开始, 就没有hibernate-annotations这个项目了, 它已经被整合进了hibernate-core, 所以, 如果你在使用hibernate-core 3.6 / 4.x的话, 请把hibernate-annotation这个依赖移除掉 (事实上, 如果有的话, 那你可能在使用错误的版本, 因为根本就不存在 3.6 / 4.x 版本的hibernate-annotations)

在hibernate core 3.2 / 3.3的时代, hibernate-core需要兼容JDK1.4, 所以为了能够使用JDK1.5中出现的annotation, 我们必须创建一个新的项目, 即hibernate-annotations, 而从hibernate-core 3.5开始, 我们抛弃了JDK1.4转向了1.5, 所以, 就没有必要在把annotations放在一个单独的项目当中了.

01. Sep 2014, 12:03 CET | Link

Regular visits here are the best way to thank you for your dental implants lauderhill effort, which is the reason why I'm visiting the site everyday, looking for new, interesting info. Many, many thanks!

18. Sep 2014, 14:10 CET | Link

IWC Schaffhausen IWC continuer à travailler avec tous les vieux, les Mercedes de constructeur automobile allemand - Benz en tenant compte de l'année dernière en Août 2004, deux organisations ont présenté leur développement initial ainsi que la coopération spécifique au véhicule, en particulier la deuxième CLS 55 AMG replique montres IWC il Engineer CBI. Car, les modèles SL63 AMG IWC clients IWC aussi se répète modèle fixe, couplé avec le modèle d'observation.

24. Sep 2014, 06:29 CET | Link

Hermes, which consists of continued and august past, has entered into the new century.Inside actualization world, the cast name Hermes agency nobleness, faddy and wealthiness.Hermes Replica handbags accoutrements are classified as the lots of absolute accoutrements on the planet.They accept a adult actualization that's empiric in added big-ticket artist handbags or purses. Some women achievement to have their unique Hermes bags. You will find alone a couple of women, who manage to get their Hermes handbags anon through the artist annually.The acumen with this continued delay is that anniversary backpack is produced by just one able craftsman. But humans still will to get about the delay account and accessible their purse for all bags. Hermes accoutrements accept absolute agreeableness indeed. Hermes accoutrements are cautiously crafted, fabricated with accurate expertise.Furthermore,these accoutrements are fabricated out from the lots of abiding materials, ensuring the constancy on the bag.all humans such as the a lot of actualization and newest online writing from the latest design. the artist handbags became one with the a great deal of admired accessaries for the ladies. humans antecedent for the famouse artist hermes replica handbags everywhere in the accessible abode and then try to get what they are thought of.

It really is Hermes designer replica handbags that creates the phenomenon of amazing the apple by the thread. The organization of Hermes was built on backbone of an stitch that can alone be achieved by hand,the saddle stitch, that's two all-overs alive two waxed linen accoutrement in compactness opposition. The appropriate and adaptable bond is completed altogether with a lot of able adroitness accomplished for a long time.Anniversary artisan of Hermes is alive like barbarian burying on land, and agilely to accretion accomplishment of handicraft.They allot on their own getting acute to each and every touch, getting capable to chase the easily are cogent and ascendancy them by memory. The plenty of accomplished artisans have the ability to stitch altogether despite the presence of eyes closed. At the start of the 19 century, the characteristic Hermes feature-tiny duke stitching-was accustomed from authoritative accouter accessories for aristocratic coronations. Anniversary stitch should be impeccably done within the chanel bags outlet covering or cottony grounding, and may never be rushed.

Post Comment