Example usage for org.hibernate.criterion Property getProperty

List of usage examples for org.hibernate.criterion Property getProperty

Introduction

In this page you can find the example usage for org.hibernate.criterion Property getProperty.

Prototype

public Property getProperty(String propertyName) 

Source Link

Document

Get a component attribute of this property.

Usage

From source file:io.github.jonestimd.finance.dao.hibernate.HibernateDao.java

License:Open Source License

protected Property getProperty(String name, String... paths) {
    Property property = Property.forName(name);
    for (String path : paths) {
        property = property.getProperty(path);
    }//  ww  w .  java 2 s  .  c  o m
    return property;
}