Name | Modified | Size | Downloads / Week |
---|---|---|---|
10.9.4 | 2025-08-31 | ||
10.9.3 | 2025-08-13 | ||
README.md | 2025-08-26 | 1.8 kB | |
Totals: 3 Items | 1.8 kB | 1 |
Important note: DAOMedge targets Java 17.
The current version is 10.9.3.
You only need to grab the latest generator (Currently daomedgegen-10.9.3-13082025.zip).
The zip file has the generator and the daomedge.jar in the lib folder, which is all the java you need.
The reserved words properties file is used for the syntax highlighting on edit panels that show Java in the generator.
Download the examplecodedtypes-10.9.3-13082025.zip for examples of, well, coded types.
Known Issues
There is a weird issue when adding the first interface, sometimes it works, other times it fails
and doesn't show up even though it is there (if yuou attempt to add the interface again it tells you that it is already there) I think it is a race condition, but am not sure. If you attempt to add another interface it fails with an index out of bounds exception. To get around this simply exit and restart.
Sample Code
Simplest:
List<Customer> customers = dao.select(Customer.class);
Pattern Matching:
Customer c = new Customer();
c.setSurname("Smith");
List<Customer> customers = dao.select(c);
Sort and Filter:
daotable table = dao.getTable(Customer.class);
daoproperty property1 = dao.getProperty(Customer.class, Customer.SURNAME);
daoproperty property2 = dao.getProperty(Customer.class, Customer.GIVENS);
OrderBy orderBy2 = new OrderBy(property2);
SelectColumn column1 = new SelectColumn(property1);
SelectColumn column2 = new SelectColumn(property2);
Filter filter = new PropertyFilter(table, property1, "Smith");
List<Customer> customers = dao.select(table, new SelectColumn[]{column1, column2}, filter, new OrderBy[]{orderBy2});