Download Latest Version daomedgegen-10.9.1-02072025.zip (2.1 MB)
Email in envelope

Get an email when there's a new version of DAOMedge

Home
Name Modified Size InfoDownloads / Week
10.9.2 < 9 hours ago
10.9.1 2025-07-02
10.9.0 2025-07-02
10.8.1 2025-05-31
10.8.0 2025-05-07
README.md 2025-07-25 1.4 kB
Totals: 6 Items   1.4 kB 1

Important note: DAOMedge targets Java 17.

You only need to grab the latest generator (e.g. daomedgegen-10.V.V-DDMMYYYY.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.

The current version is 10.8.0 and I have a plan for 10.8.1 (see rc2).

Download the examplecodedtypes-10.V.V-DDMMYYYY.zip for examples of, well, coded types.


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});

Source: README.md, updated 2025-07-25