You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

jackcess-3.xml 2.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?xml version="1.0"?>
  2. <document>
  3. <properties>
  4. <author email="jahlborn@users.sf.net">James Ahlborn</author>
  5. <title>Upgrading from Jackcess 2.x to 3.x</title>
  6. </properties>
  7. <body>
  8. <section name="Jackcess 3.0">
  9. <subsection name="So what changed?">
  10. <p>
  11. Unlike the change from 1.x to 2.x, the change from 2.x to 3.x is
  12. relatively non-impactful. The major change was that 3.x requires
  13. Java 8+. Other than that, the Jackcess API should be binary
  14. compatible with existing code. Some additional notes:
  15. </p>
  16. <ul>
  17. <li><b>Dependencies have been updated.</b></li>
  18. <ul>
  19. <li>Commons-lang has been replaced with Commons-lang3. This is
  20. used internally so it should not really affect code using the
  21. Jackcess API.</li>
  22. <li>Log4j is no longer referenced at all. The included logging
  23. file is now configured for the java.util logging framework. Of
  24. course any bridge compatible with Commons-logging may still be
  25. utilized.</li>
  26. <li>The optional Apache POI dependency has been updated to
  27. 4.0 (if utilized for advanced OLE support).</li>
  28. </ul>
  29. <li><b>LocalDateTime is now the preferred date/time type.</b></li>
  30. <ul>
  31. <li>There are now parallel LocalDateTime based methods for all
  32. Date based methods. That said, use of these two collections of
  33. methods is mutally exclusive. By default, the backwards
  34. compatible Date based methods are enabled. The LocalDateTime
  35. based methods can be enabled by setting the appropriate
  36. <a href="apidocs/com/healthmarketscience/jackcess/DateTimeType.html">DateTimeType</a> on the Database.</li>
  37. </ul>
  38. <li><b>Path is now supported.</b></li>
  39. <ul>
  40. <li>There are now parallel Path based methods for all File based
  41. methods.</li>
  42. </ul>
  43. </ul>
  44. <h4>Working with Jackcess Encrypt</h4>
  45. <p>
  46. If you are using the <a href="https://jackcessencrypt.sourceforge.io/">Jackcess Encrypt</a> project, then you will need to
  47. use a version compatible with the relevant Jackess API.
  48. Fortunately, the major versions match, so it's pretty simple:
  49. </p>
  50. <ul>
  51. <li>Jackcess 3.x -&gt; Jackcess Encrypt 3.y</li>
  52. <li>Jackcess 2.x -&gt; Jackcess Encrypt 2.y</li>
  53. <li>Jackcess 1.x -&gt; Jackcess Encrypt 1.y</li>
  54. </ul>
  55. </subsection>
  56. <subsection name="What does this mean for 2.x?">
  57. <p>
  58. Moving forward, all new feature development will be in Jackcess 3.x.
  59. Some bugfixes may be backported to a 2.x branch on a case by case
  60. basis. However, no new feature development will be done on the 2.x
  61. branch.
  62. </p>
  63. </subsection>
  64. </section>
  65. </body>
  66. </document>