de.akquinet.jbosscc.guttenbase.hints.impl.DefaultTableOrderHint Maven / Gradle / Ivy
package de.akquinet.jbosscc.guttenbase.hints.impl;
import de.akquinet.jbosscc.guttenbase.hints.TableOrderHint;
import de.akquinet.jbosscc.guttenbase.mapping.TableOrderComparatorFactory;
/**
* By default order by natural order of table names.
*
*
* © 2012-2020 akquinet tech@spree
*
*
* @author M. Dahm
*/
public class DefaultTableOrderHint extends TableOrderHint {
@Override
public TableOrderComparatorFactory getValue() {
return () -> Comparable::compareTo;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy