|
I am checking the APIs in the documentation folder(https://github.com/hibernate/hibernate-orm/tree/master/documentation/src/main/docbook/manual/en-US), and it seems that I found a lot of outdated APIs. I hope some contributors may confirm whether the followings are outdated or not:
1. ConnectionProvider The manual refers to “org.hibernate.connection.ConnectionProvider.” However, the ConnectionProvider has been deleted on Nov. 2010. Now, the code has “org.hibernate.engine.jdbc.connections.spi.ConnectionProvider.” For your convenience, I put the locations of the outdated API in the manual: -. Architecture.xml: 76th and 136th line “org.hibernate.connection.ConnectionProvider” -. best_practices.xml: 81st line “org.hibernate.connection.ConnectionProvider” -. configuration.xml: 291st, 573, 576 line “org.hibernate.connection.ConnectionProvider”
3. JTATransactionFactory It was deleted. The current name may be JtaTransactionFactory -. configuration.xml: 275, 780, 1621, and 1745 lines -. Transactons.xml: 580, and 1092 lines
4. JDBCTransactionFactory It was deleted. The current name may be JdbcTransactionFactory -. configuration.xml: 771 and 1731 lines -. Transactons.xml: 493 and 1093 lines
5. ForceDiscriminator -. Basic_mapping.xml, 3423rd line , ForceDiscriminator was deleted. The explanation that it was deprecated should be corrected.
6. Many APIs in configuration.xml -. org.hibernate.transaction.JBossTransactionManagerLookup at 277 and 1792 -. org.hibernate.jdbc.Batcher at 530 -. BatcherFactory at 533 -. PersisterClassProvider at 1552, 1564, 1578, and 1582 -. org.hibernate.transaction.CMTTransactionFactory at 1756 -. org.hibernate.transaction.WeblogicTransactionManagerLookup at 1798 -. org.hibernate.transaction.WebSphereTransactionManagerLookup at 1804 and 1810 -. org.hibernate.transaction.WebSphereExtendedJTATransactionLookup => renamed to org.hibernate.service.jta.platform.internal.WebSphereExtendedJtaPlatform -. OrionTransactionManagerLookup org.hibernate.transaction.OrionTransactionManagerLookup at 1816 -. org.hibernate.transaction.ResinTransactionManagerLookup at 1822 -. org.hibernate.transaction.JOTMTransactionManagerLookup at 1828 -. org.hibernate.transaction.JOnASTransactionManagerLookup at 1834 -. org.hibernate.transaction.JRun4TransactionManagerLookup at 1840 -. org.hibernate.transaction.BESTransactionManagerLookup at 1846 -. org.hibernate.transaction.JBossTSStandaloneTransactionManagerLookup at 1852
7. API in persisten_classes.xml -. getSession at 426 and 439
I also found about 40 outdated APIs in the developer guide and getting started. If you want, I can upload all of the outdated information.
Thanks in advance, Seonah
|