Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

06_jaqu_comparison.mkd 2.5KB

12 anos atrás
12 anos atrás
12 anos atrás
11 anos atrás
12 anos atrás
12 anos atrás
12 anos atrás
12 anos atrás
12345678910111213141516171819202122232425262728293031
  1. ## Comparison to JaQu
  2. This is an overview of the fundamental differences between the original JaQu project and the current featureset of iciql.
  3. <table class="table">
  4. <tr><th></th><th>Iciql</th><th>JaQu</th></tr>
  5. <tr><th colspan="3">core</th></tr>
  6. <tr><td>deployment</td><td>small, discrete library</td><td>depends on H2 database jar file</td></tr>
  7. <tr><td>databases</td><td>H2, HSQL, Derby, MySQL, and PostreSQL</td><td>H2 only</td></tr>
  8. <tr><td>logging</td><td>console, SLF4J, or custom logging</td><td>console logging</td></tr>
  9. <tr><td>exceptions</td><td>always includes generated statement in exception, when available</td><td>--</td></tr>
  10. <tr><td>column mappings</td><td>wildcard queries index result sets by column name</td><td>all result sets built by field index<br/>this can fail for wildcard queries</td></tr>
  11. <tr><td>savepoints</td><td>bulk operations (insert, update, delete) use savepoints with rollback in the event of failure</td><td>--</td></tr>
  12. <tr><th colspan="3">syntax and api</th></tr>
  13. <tr><td>VIEWs</td><td>create readonly views either from a class definition or from a fluent statement</td><td>--</td></tr>
  14. <tr><td>dynamic queries</td><td>methods and where clauses for dynamic queries that build iciql objects</td><td>--</td></tr>
  15. <tr><td>DROP</td><td>syntax to drop a table or view</td><td></td></tr>
  16. <tr><td>BETWEEN</td><td>syntax for specifying a BETWEEN x AND y clause</td><td>--</td></tr>
  17. <tr><th colspan="3">types</th></tr>
  18. <tr><td>primitives</td><td>fully supported</td><td>--</td></tr>
  19. <tr><td>enums</td><td>fully supported</td><td>--</td></tr>
  20. <tr><td>DECIMAL(length,scale)</td><td>can specify length/precision and scale</td><td>--</td></tr>
  21. <tr><td>BOOLEAN</td><td>flexible mapping of boolean as bool, varchar, or int</td><td>--</td></tr>
  22. <tr><td>BLOB</td><td>partially supported <em>(can not be used in a WHERE clause)</em></td><td>--</td></tr>
  23. <tr><td>UUID</td><td>fully supported <em>(H2 only)</em> </td><td>--</td></tr>
  24. <tr><th colspan="3">configuration</th></tr>
  25. <tr><td>DEFAULT values</td><td>set from annotation, <em>default object values</em>, or Define.defaultValue()</td><td>set from annotations</td></tr>
  26. <tr><td>Interface Configuration<br/>Mapped Fields</td><td><em>all fields</em> are mapped regardless of scope<br/>fields are ignored by annotating with @IQIgnore</td><td><em>all public fields</em> are mapped<br/>fields are ignored by reducing their scope</td></tr>
  27. <tr><td>Index names</td><td>can be set</td><td>--</td></tr>
  28. </table>