All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.spatial.criteria.internal.JTSSpatialCriteriaExtension Maven / Gradle / Ivy

There is a newer version: 7.0.0.Beta2
Show newest version
/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
 * See the lgpl.txt file in the root directory or .
 */
package org.hibernate.spatial.criteria.internal;

import org.hibernate.query.criteria.HibernateCriteriaBuilder;
import org.hibernate.query.criteria.spi.CriteriaBuilderExtension;
import org.hibernate.spatial.criteria.JTSSpatialCriteriaBuilder;

/**
 * @author Marco Belladelli
 */
public class JTSSpatialCriteriaExtension implements CriteriaBuilderExtension {

	@Override
	public HibernateCriteriaBuilder extend(HibernateCriteriaBuilder cb) {
		return new JTSSpatialCriteriaBuilderImpl( cb );
	}

	@Override
	public Class getRegistrationKey() {
		return JTSSpatialCriteriaBuilder.class;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy