There is no impact on users of either the ActiveObjects library or the Atlassian plugin - it is backwards compatible with 1.1.x.
Added support for composite indexes. Composite indexes can be declared using @Indexes annotation. Example usage is shown below:
1 2import net.java.ao.Entity; import net.java.ao.schema.Index; import net.java.ao.schema.Indexes; @Indexes({ @Index(name = "names", methodNames = {"getFirstName", "getLastName"}), @Index(name = "age", methodNames = "getAge") }) public interface Person extends Entity { public String getFirstName(); public void setFirstName(String firstName); public void setLastName(String lastName); public String getLastName(); public int getAge(); public void setAge(int age); }
Please note two things:
For more information please refer to java docs.
There are no bugfixes in this release.
Key | Summary | T | Created | Updated | Assignee | Reporter | P | Status | Resolution | Fix Version/S |
---|---|---|---|---|---|---|---|---|---|---|
AO-96 | Add possibility in AO to create multi-column indexes | Feb 02, 2011 | Apr 27, 2017 | Sebastian Pawlak | Samuel Berrigaud | RESOLVED | Fixed | 1.2.0 |
Rate this page: