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

org.hibernate.sql.ast.produce.package-info Maven / Gradle / Ivy

There is a newer version: 7.0.0.Alpha3
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 http://www.gnu.org/licenses/lgpl-2.1.html
 */

/**
 * This package defines support for producing an SQL AST tree ({@link org.hibernate.sql.ast.tree}),
 * as well as 2 implementations of suh tree generation:
    *
  • * Query sources (HQL, Criteria, etc) which produce SQL AST trees based on an SQM tree. * See {@link org.hibernate.sql.ast.produce.sqm} *
  • *
  • * Persister-based load, remove, etc handling which directly produces *
  • *
*

* In either case, persisters are responsible for generating the various SQL AST * sub-trees such as its contributions to a QuerySpec's FROM clause, SELECT * clause, etc. It was decided to have persisters directly produce SQL AST trees * in handling _Persister-based load, remove, etc calls_ because:

    *
  • It already knows how to generate the necessary sub-trees.
  • *
  • Is more performant than generation the SQM view and then walking that SQM.
  • *
*/ package org.hibernate.sql.ast.produce;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy