The interactive file manager requires Javascript. Please enable it or use sftp or scp.
You may still browse the files here.

Download Latest Version daomedgegen-10.9.4-31082025.zip (2.3 MB)
Email in envelope

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

Home / 10.9.3
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-08-13 2.8 kB
reservedwordsmap.properties 2025-08-13 1.4 kB
daomedge-src-10.9.3-13082025.zip 2025-08-13 165.8 kB
daomedgegen-src-10.9.3-13082025.zip 2025-08-13 2.2 MB
examplecodedtypes-10.9.3-13082025.zip 2025-08-13 27.2 kB
lgpl.txt 2025-08-13 7.4 kB
daomedge-javadoc-10.9.3-13082025.zip 2025-08-13 678.4 kB
daomedgegen-10.9.3-13082025.zip 2025-08-13 2.3 MB
daomanual-10.9.3-13082025.pdf 2025-08-13 2.6 MB
daomedge-10.9.3-13082025.jar 2025-08-13 189.3 kB
daomanual-10.9.3-13082025.odt 2025-08-13 2.1 MB
daobrowser-10.9.3-13082025.zip 2025-08-13 221.1 kB
daobrowser-src-10.9.3-13082025.zip 2025-08-13 42.1 kB
browser.png 2025-08-13 2.4 kB
dao.png 2025-08-13 1.8 kB
Totals: 15 Items   10.6 MB 0

NOTE:

DAOMedge targets Java 17 and doesn't, strictly speaking, conform to the DAO pattern. It was developed over many years and simply works well as it is.

For convenience the daomedgegen uses the latest daomedge.jar, but without the version number and date. This is useful to keep the projects together. You just really need the generator (daomedgegen-10.9.3-13082025.zip when it is released) as that has daomedgegen.jar, daomedge.jar (in lib/), the reservedwordsmap.properties (for syntax highlighting and reserve word avoidance), documentation, and a rather cheesey icon.

The actual daomedge.jar has a version number in the file name but you can use either one.

I've attempted to ensure the documentation is extensive and up to date. You can grab either the source (daomedge.odt) or the compiled version (daomedge.pdf)
They are also in the source and compiled zips respectively.

Bash script to run the generator:

  #!/bin/bash  
  cd /folder/daomedge/daomedgegen/  
  java -Xmx2g -jar daomedgegen.jar

Bash script to run the generator command line interface:

  #!/bin/bash  
  cd /folder/daomedge/daomedgegen/  
  java -Xmx2g -jar daomedgegen.jar my_database

Or even:

  #!/bin/bash  
  cd /folder/daomedge/daomedgegen/  
  java -Xmx2g -jar daomedgegen.jar $*

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


Version 10.9.3 changelog


Stopped the 'archiving' of the first, empty extn files.
Looking for the NPE + Index out of range exception issue I saw only the once!
Added option to included/exclude debug information.
Found a thread called "Controlled" no idea what it was meant to be doing, but it was doing nothing! So I removed it.
Bug where "<> null" was translated to "is null" rather than "is not null".
LocalDateTimeEncoder didn't fall back on String like DateEncoder if the value used was a String.
In NotSQL "!=" now behaves as "<>".
Transactions now work correctly.

10.9.3 was released on 13th August 2025.

Source: README.md, updated 2025-08-13