HHH-6200 - Split org.hibernate.hql package into api/spi/internal
This commit is contained in:
parent
a806626a27
commit
360317eedf
|
@ -287,8 +287,8 @@
|
|||
</row>
|
||||
<row>
|
||||
<entry>factory_class</entry>
|
||||
<entry><para><literal>org.hibernate.hql.ast.ASTQueryTranslatorFactory</literal> or
|
||||
<literal>org.hibernate.hql.classic.ClassicQueryTranslatorFactory</literal></para></entry>
|
||||
<entry><para><literal>org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory</literal> or
|
||||
<literal>org.hibernate.hql.internal.classic.ClassicQueryTranslatorFactory</literal></para></entry>
|
||||
<entry>Chooses the HQL parser implementation.</entry>
|
||||
</row>
|
||||
<row>
|
||||
|
|
|
@ -869,9 +869,9 @@ hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect</programlisting>
|
|||
|
||||
<entry>Chooses the HQL parser implementation. <para> <emphasis
|
||||
role="strong">e.g.</emphasis>
|
||||
<literal>org.hibernate.hql.ast.ASTQueryTranslatorFactory</literal>
|
||||
<literal>org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory</literal>
|
||||
or
|
||||
<literal>org.hibernate.hql.classic.ClassicQueryTranslatorFactory</literal>
|
||||
<literal>org.hibernate.hql.internal.classic.ClassicQueryTranslatorFactory</literal>
|
||||
</para></entry>
|
||||
</row>
|
||||
|
||||
|
@ -1291,7 +1291,7 @@ hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect</programlisting>
|
|||
</row>
|
||||
|
||||
<row>
|
||||
<entry><literal>org.hibernate.hql.ast.AST</literal></entry>
|
||||
<entry><literal>org.hibernate.hql.internal.ast.AST</literal></entry>
|
||||
|
||||
<entry>Log HQL and SQL ASTs during query parsing</entry>
|
||||
</row>
|
||||
|
|
|
@ -9,7 +9,7 @@ hibernate.query.substitutions yes 'Y', no 'N'
|
|||
|
||||
## select the classic query parser
|
||||
|
||||
#hibernate.query.factory_class org.hibernate.hql.classic.ClassicQueryTranslatorFactory
|
||||
#hibernate.query.factory_class org.hibernate.hql.internal.classic.ClassicQueryTranslatorFactory
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
header
|
||||
{
|
||||
package org.hibernate.hql.antlr;
|
||||
package org.hibernate.hql.internal.antlr;
|
||||
|
||||
import org.hibernate.internal.CoreMessageLogger;
|
||||
import org.jboss.logging.Logger;
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
header
|
||||
{
|
||||
// $Id: hql.g 10163 2006-07-26 15:07:50Z steve.ebersole@jboss.com $
|
||||
package org.hibernate.hql.internal.antlr;
|
||||
|
||||
package org.hibernate.hql.antlr;
|
||||
|
||||
import org.hibernate.hql.ast.*;
|
||||
import org.hibernate.hql.ast.util.*;
|
||||
import org.hibernate.hql.internal.ast.*;
|
||||
import org.hibernate.hql.internal.ast.util.*;
|
||||
|
||||
}
|
||||
/**
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
header
|
||||
{
|
||||
// $Id: sql-gen.g 10001 2006-06-08 21:08:04Z steve.ebersole@jboss.com $
|
||||
package org.hibernate.hql.antlr;
|
||||
|
||||
package org.hibernate.hql.internal.antlr;
|
||||
}
|
||||
/**
|
||||
* SQL Generator Tree Parser, providing SQL rendering of SQL ASTs produced by the previous phase, HqlSqlWalker. All
|
||||
|
|
|
@ -29,7 +29,7 @@ import org.hibernate.EntityMode;
|
|||
import org.hibernate.MultiTenancyStrategy;
|
||||
import org.hibernate.cache.spi.QueryCacheFactory;
|
||||
import org.hibernate.cache.spi.RegionFactory;
|
||||
import org.hibernate.hql.QueryTranslatorFactory;
|
||||
import org.hibernate.hql.spi.QueryTranslatorFactory;
|
||||
import org.hibernate.service.jta.platform.spi.JtaPlatform;
|
||||
import org.hibernate.tuple.entity.EntityTuplizerFactory;
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ import org.hibernate.cache.internal.bridge.RegionFactoryCacheProviderBridge;
|
|||
import org.hibernate.engine.jdbc.spi.ExtractedDatabaseMetaData;
|
||||
import org.hibernate.engine.jdbc.spi.JdbcServices;
|
||||
import org.hibernate.engine.transaction.spi.TransactionFactory;
|
||||
import org.hibernate.hql.QueryTranslatorFactory;
|
||||
import org.hibernate.hql.spi.QueryTranslatorFactory;
|
||||
import org.hibernate.internal.CoreMessageLogger;
|
||||
import org.hibernate.internal.util.StringHelper;
|
||||
import org.hibernate.internal.util.config.ConfigurationHelper;
|
||||
|
@ -358,7 +358,7 @@ public class SettingsFactory implements Serializable {
|
|||
|
||||
protected QueryTranslatorFactory createQueryTranslatorFactory(Properties properties, ServiceRegistry serviceRegistry) {
|
||||
String className = ConfigurationHelper.getString(
|
||||
Environment.QUERY_TRANSLATOR, properties, "org.hibernate.hql.ast.ASTQueryTranslatorFactory"
|
||||
Environment.QUERY_TRANSLATOR, properties, "org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory"
|
||||
);
|
||||
LOG.debugf( "Query translator: %s", className );
|
||||
try {
|
||||
|
|
|
@ -39,14 +39,14 @@ import org.hibernate.engine.spi.QueryParameters;
|
|||
import org.hibernate.engine.spi.RowSelection;
|
||||
import org.hibernate.engine.spi.SessionFactoryImplementor;
|
||||
import org.hibernate.engine.spi.SessionImplementor;
|
||||
import org.hibernate.hql.internal.QuerySplitter;
|
||||
import org.hibernate.hql.spi.ParameterTranslations;
|
||||
import org.hibernate.hql.spi.QueryTranslator;
|
||||
import org.hibernate.internal.CoreMessageLogger;
|
||||
import org.hibernate.QueryException;
|
||||
import org.hibernate.ScrollableResults;
|
||||
import org.hibernate.event.spi.EventSource;
|
||||
import org.hibernate.hql.FilterTranslator;
|
||||
import org.hibernate.hql.ParameterTranslations;
|
||||
import org.hibernate.hql.QuerySplitter;
|
||||
import org.hibernate.hql.QueryTranslator;
|
||||
import org.hibernate.hql.spi.FilterTranslator;
|
||||
import org.hibernate.internal.util.collections.ArrayHelper;
|
||||
import org.hibernate.internal.util.collections.EmptyIterator;
|
||||
import org.hibernate.internal.util.collections.IdentitySet;
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
*/
|
||||
package org.hibernate.engine.query.spi;
|
||||
import org.hibernate.QueryException;
|
||||
import org.hibernate.hql.classic.ParserHelper;
|
||||
import org.hibernate.hql.internal.classic.ParserHelper;
|
||||
import org.hibernate.internal.util.StringHelper;
|
||||
|
||||
/**
|
||||
|
|
|
@ -38,7 +38,7 @@ import org.hibernate.LockOptions;
|
|||
import org.hibernate.QueryException;
|
||||
import org.hibernate.ScrollMode;
|
||||
import org.hibernate.dialect.Dialect;
|
||||
import org.hibernate.hql.classic.ParserHelper;
|
||||
import org.hibernate.hql.internal.classic.ParserHelper;
|
||||
import org.hibernate.internal.CoreMessageLogger;
|
||||
import org.hibernate.internal.FilterImpl;
|
||||
import org.hibernate.internal.util.collections.ArrayHelper;
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql;
|
||||
package org.hibernate.hql.internal;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import org.hibernate.persister.collection.CollectionPropertyNames;
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql;
|
||||
package org.hibernate.hql.internal;
|
||||
|
||||
import java.util.Map;
|
||||
import org.hibernate.MappingException;
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql;
|
||||
package org.hibernate.hql.internal;
|
||||
import java.lang.reflect.Constructor;
|
||||
import org.hibernate.transform.AliasToBeanConstructorResultTransformer;
|
||||
import org.hibernate.transform.ResultTransformer;
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql;
|
||||
package org.hibernate.hql.internal;
|
||||
import org.hibernate.MappingException;
|
||||
import org.hibernate.engine.spi.SessionFactoryImplementor;
|
||||
import org.hibernate.type.Type;
|
|
@ -1,38 +1,38 @@
|
|||
/*
|
||||
* Hibernate, Relational Persistence for Idiomatic Java
|
||||
*
|
||||
* Copyright (c) 2008, Red Hat Middleware LLC or third-party contributors as
|
||||
* indicated by the @author tags or express copyright attribution
|
||||
* statements applied by the authors. All third-party contributions are
|
||||
* distributed under license by Red Hat Middleware LLC.
|
||||
*
|
||||
* This copyrighted material is made available to anyone wishing to use, modify,
|
||||
* copy, or redistribute it subject to the terms and conditions of the GNU
|
||||
* Lesser General Public License, as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
|
||||
* for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with this distribution; if not, write to:
|
||||
* Free Software Foundation, Inc.
|
||||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql;
|
||||
import org.hibernate.QueryException;
|
||||
|
||||
/**
|
||||
* Expecting to execute an illegal operation regarding the query type
|
||||
*
|
||||
* @author Emmanuel Bernard
|
||||
*/
|
||||
public class QueryExecutionRequestException extends QueryException {
|
||||
|
||||
public QueryExecutionRequestException(String message, String queryString) {
|
||||
super( message, queryString );
|
||||
}
|
||||
}
|
||||
/*
|
||||
* Hibernate, Relational Persistence for Idiomatic Java
|
||||
*
|
||||
* Copyright (c) 2008, Red Hat Middleware LLC or third-party contributors as
|
||||
* indicated by the @author tags or express copyright attribution
|
||||
* statements applied by the authors. All third-party contributions are
|
||||
* distributed under license by Red Hat Middleware LLC.
|
||||
*
|
||||
* This copyrighted material is made available to anyone wishing to use, modify,
|
||||
* copy, or redistribute it subject to the terms and conditions of the GNU
|
||||
* Lesser General Public License, as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
|
||||
* for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with this distribution; if not, write to:
|
||||
* Free Software Foundation, Inc.
|
||||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.internal;
|
||||
import org.hibernate.QueryException;
|
||||
|
||||
/**
|
||||
* Expecting to execute an illegal operation regarding the query type
|
||||
*
|
||||
* @author Emmanuel Bernard
|
||||
*/
|
||||
public class QueryExecutionRequestException extends QueryException {
|
||||
|
||||
public QueryExecutionRequestException(String message, String queryString) {
|
||||
super( message, queryString );
|
||||
}
|
||||
}
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql;
|
||||
package org.hibernate.hql.internal;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashSet;
|
||||
|
@ -31,7 +31,7 @@ import java.util.Set;
|
|||
import org.hibernate.engine.spi.SessionFactoryImplementor;
|
||||
import org.hibernate.internal.CoreMessageLogger;
|
||||
import org.hibernate.MappingException;
|
||||
import org.hibernate.hql.classic.ParserHelper;
|
||||
import org.hibernate.hql.internal.classic.ParserHelper;
|
||||
import org.hibernate.internal.util.StringHelper;
|
||||
import org.jboss.logging.Logger;
|
||||
|
|
@ -22,14 +22,14 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast;
|
||||
package org.hibernate.hql.internal.ast;
|
||||
import java.util.Map;
|
||||
|
||||
import org.hibernate.engine.spi.SessionFactoryImplementor;
|
||||
import org.hibernate.hql.spi.QueryTranslator;
|
||||
import org.hibernate.hql.spi.QueryTranslatorFactory;
|
||||
import org.hibernate.internal.CoreMessageLogger;
|
||||
import org.hibernate.hql.FilterTranslator;
|
||||
import org.hibernate.hql.QueryTranslator;
|
||||
import org.hibernate.hql.QueryTranslatorFactory;
|
||||
import org.hibernate.hql.spi.FilterTranslator;
|
||||
|
||||
import org.jboss.logging.Logger;
|
||||
|
||||
|
@ -49,7 +49,7 @@ public class ASTQueryTranslatorFactory implements QueryTranslatorFactory {
|
|||
}
|
||||
|
||||
/**
|
||||
* @see QueryTranslatorFactory#createQueryTranslator
|
||||
* @see org.hibernate.hql.spi.QueryTranslatorFactory#createQueryTranslator
|
||||
*/
|
||||
public QueryTranslator createQueryTranslator(
|
||||
String queryIdentifier,
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast;
|
||||
package org.hibernate.hql.internal.ast;
|
||||
import java.io.PrintStream;
|
||||
import java.io.PrintWriter;
|
||||
import antlr.SemanticException;
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast;
|
||||
package org.hibernate.hql.internal.ast;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast;
|
||||
package org.hibernate.hql.internal.ast;
|
||||
import antlr.RecognitionException;
|
||||
|
||||
/**
|
|
@ -22,8 +22,8 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast;
|
||||
import org.hibernate.hql.ast.tree.Node;
|
||||
package org.hibernate.hql.internal.ast;
|
||||
import org.hibernate.hql.internal.ast.tree.Node;
|
||||
import antlr.ASTFactory;
|
||||
|
||||
/**
|
|
@ -22,11 +22,11 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast;
|
||||
package org.hibernate.hql.internal.ast;
|
||||
import java.io.InputStream;
|
||||
import java.io.Reader;
|
||||
import org.hibernate.QueryException;
|
||||
import org.hibernate.hql.antlr.HqlBaseLexer;
|
||||
import org.hibernate.hql.internal.antlr.HqlBaseLexer;
|
||||
import antlr.Token;
|
||||
|
||||
/**
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast;
|
||||
package org.hibernate.hql.internal.ast;
|
||||
|
||||
import java.io.PrintStream;
|
||||
import java.io.PrintWriter;
|
||||
|
@ -30,10 +30,10 @@ import java.io.StringReader;
|
|||
|
||||
import org.hibernate.internal.CoreMessageLogger;
|
||||
import org.hibernate.QueryException;
|
||||
import org.hibernate.hql.antlr.HqlBaseParser;
|
||||
import org.hibernate.hql.antlr.HqlTokenTypes;
|
||||
import org.hibernate.hql.ast.util.ASTPrinter;
|
||||
import org.hibernate.hql.ast.util.ASTUtil;
|
||||
import org.hibernate.hql.internal.antlr.HqlBaseParser;
|
||||
import org.hibernate.hql.internal.antlr.HqlTokenTypes;
|
||||
import org.hibernate.hql.internal.ast.util.ASTPrinter;
|
||||
import org.hibernate.hql.internal.ast.util.ASTUtil;
|
||||
import org.hibernate.internal.util.StringHelper;
|
||||
|
||||
import org.jboss.logging.Logger;
|
||||
|
@ -59,7 +59,7 @@ public final class HqlParser extends HqlBaseParser {
|
|||
private ASTPrinter printer = getASTPrinter();
|
||||
|
||||
private static ASTPrinter getASTPrinter() {
|
||||
return new ASTPrinter( org.hibernate.hql.antlr.HqlTokenTypes.class );
|
||||
return new ASTPrinter( org.hibernate.hql.internal.antlr.HqlTokenTypes.class );
|
||||
}
|
||||
|
||||
public static HqlParser getInstance(String hql) {
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast;
|
||||
package org.hibernate.hql.internal.ast;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
|
@ -37,48 +37,48 @@ import java.util.Map;
|
|||
import java.util.Set;
|
||||
import org.hibernate.HibernateException;
|
||||
import org.hibernate.engine.spi.SessionFactoryImplementor;
|
||||
import org.hibernate.hql.spi.QueryTranslator;
|
||||
import org.hibernate.internal.CoreMessageLogger;
|
||||
import org.hibernate.QueryException;
|
||||
import org.hibernate.engine.internal.JoinSequence;
|
||||
import org.hibernate.engine.internal.ParameterBinder;
|
||||
import org.hibernate.hql.QueryTranslator;
|
||||
import org.hibernate.hql.antlr.HqlSqlBaseWalker;
|
||||
import org.hibernate.hql.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.antlr.HqlTokenTypes;
|
||||
import org.hibernate.hql.antlr.SqlTokenTypes;
|
||||
import org.hibernate.hql.ast.tree.AggregateNode;
|
||||
import org.hibernate.hql.ast.tree.AssignmentSpecification;
|
||||
import org.hibernate.hql.ast.tree.CollectionFunction;
|
||||
import org.hibernate.hql.ast.tree.ConstructorNode;
|
||||
import org.hibernate.hql.ast.tree.DeleteStatement;
|
||||
import org.hibernate.hql.ast.tree.DotNode;
|
||||
import org.hibernate.hql.ast.tree.FromClause;
|
||||
import org.hibernate.hql.ast.tree.FromElement;
|
||||
import org.hibernate.hql.ast.tree.FromElementFactory;
|
||||
import org.hibernate.hql.ast.tree.FromReferenceNode;
|
||||
import org.hibernate.hql.ast.tree.IdentNode;
|
||||
import org.hibernate.hql.ast.tree.IndexNode;
|
||||
import org.hibernate.hql.ast.tree.InsertStatement;
|
||||
import org.hibernate.hql.ast.tree.IntoClause;
|
||||
import org.hibernate.hql.ast.tree.MethodNode;
|
||||
import org.hibernate.hql.ast.tree.OperatorNode;
|
||||
import org.hibernate.hql.ast.tree.ParameterContainer;
|
||||
import org.hibernate.hql.ast.tree.ParameterNode;
|
||||
import org.hibernate.hql.ast.tree.QueryNode;
|
||||
import org.hibernate.hql.ast.tree.ResolvableNode;
|
||||
import org.hibernate.hql.ast.tree.RestrictableStatement;
|
||||
import org.hibernate.hql.ast.tree.ResultVariableRefNode;
|
||||
import org.hibernate.hql.ast.tree.SelectClause;
|
||||
import org.hibernate.hql.ast.tree.SelectExpression;
|
||||
import org.hibernate.hql.ast.tree.UpdateStatement;
|
||||
import org.hibernate.hql.ast.util.ASTPrinter;
|
||||
import org.hibernate.hql.ast.util.ASTUtil;
|
||||
import org.hibernate.hql.ast.util.AliasGenerator;
|
||||
import org.hibernate.hql.ast.util.JoinProcessor;
|
||||
import org.hibernate.hql.ast.util.LiteralProcessor;
|
||||
import org.hibernate.hql.ast.util.NodeTraverser;
|
||||
import org.hibernate.hql.ast.util.SessionFactoryHelper;
|
||||
import org.hibernate.hql.ast.util.SyntheticAndFactory;
|
||||
import org.hibernate.hql.internal.antlr.HqlSqlBaseWalker;
|
||||
import org.hibernate.hql.internal.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.internal.antlr.HqlTokenTypes;
|
||||
import org.hibernate.hql.internal.antlr.SqlTokenTypes;
|
||||
import org.hibernate.hql.internal.ast.tree.AggregateNode;
|
||||
import org.hibernate.hql.internal.ast.tree.AssignmentSpecification;
|
||||
import org.hibernate.hql.internal.ast.tree.CollectionFunction;
|
||||
import org.hibernate.hql.internal.ast.tree.ConstructorNode;
|
||||
import org.hibernate.hql.internal.ast.tree.DeleteStatement;
|
||||
import org.hibernate.hql.internal.ast.tree.DotNode;
|
||||
import org.hibernate.hql.internal.ast.tree.FromClause;
|
||||
import org.hibernate.hql.internal.ast.tree.FromElement;
|
||||
import org.hibernate.hql.internal.ast.tree.FromElementFactory;
|
||||
import org.hibernate.hql.internal.ast.tree.FromReferenceNode;
|
||||
import org.hibernate.hql.internal.ast.tree.IdentNode;
|
||||
import org.hibernate.hql.internal.ast.tree.IndexNode;
|
||||
import org.hibernate.hql.internal.ast.tree.InsertStatement;
|
||||
import org.hibernate.hql.internal.ast.tree.IntoClause;
|
||||
import org.hibernate.hql.internal.ast.tree.MethodNode;
|
||||
import org.hibernate.hql.internal.ast.tree.OperatorNode;
|
||||
import org.hibernate.hql.internal.ast.tree.ParameterContainer;
|
||||
import org.hibernate.hql.internal.ast.tree.ParameterNode;
|
||||
import org.hibernate.hql.internal.ast.tree.QueryNode;
|
||||
import org.hibernate.hql.internal.ast.tree.ResolvableNode;
|
||||
import org.hibernate.hql.internal.ast.tree.RestrictableStatement;
|
||||
import org.hibernate.hql.internal.ast.tree.ResultVariableRefNode;
|
||||
import org.hibernate.hql.internal.ast.tree.SelectClause;
|
||||
import org.hibernate.hql.internal.ast.tree.SelectExpression;
|
||||
import org.hibernate.hql.internal.ast.tree.UpdateStatement;
|
||||
import org.hibernate.hql.internal.ast.util.ASTPrinter;
|
||||
import org.hibernate.hql.internal.ast.util.ASTUtil;
|
||||
import org.hibernate.hql.internal.ast.util.AliasGenerator;
|
||||
import org.hibernate.hql.internal.ast.util.JoinProcessor;
|
||||
import org.hibernate.hql.internal.ast.util.LiteralProcessor;
|
||||
import org.hibernate.hql.internal.ast.util.NodeTraverser;
|
||||
import org.hibernate.hql.internal.ast.util.SessionFactoryHelper;
|
||||
import org.hibernate.hql.internal.ast.util.SyntheticAndFactory;
|
||||
import org.hibernate.id.IdentifierGenerator;
|
||||
import org.hibernate.id.PostInsertIdentifierGenerator;
|
||||
import org.hibernate.id.SequenceGenerator;
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast;
|
||||
package org.hibernate.hql.internal.ast;
|
||||
|
||||
|
||||
/**
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast;
|
||||
package org.hibernate.hql.internal.ast;
|
||||
import antlr.SemanticException;
|
||||
|
||||
/**
|
|
@ -1,41 +1,41 @@
|
|||
/*
|
||||
* Hibernate, Relational Persistence for Idiomatic Java
|
||||
*
|
||||
* Copyright (c) 2008, Red Hat Middleware LLC or third-party contributors as
|
||||
* indicated by the @author tags or express copyright attribution
|
||||
* statements applied by the authors. All third-party contributions are
|
||||
* distributed under license by Red Hat Middleware LLC.
|
||||
*
|
||||
* This copyrighted material is made available to anyone wishing to use, modify,
|
||||
* copy, or redistribute it subject to the terms and conditions of the GNU
|
||||
* Lesser General Public License, as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
|
||||
* for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with this distribution; if not, write to:
|
||||
* Free Software Foundation, Inc.
|
||||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast;
|
||||
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*
|
||||
* @author Steve Ebersole
|
||||
*/
|
||||
public class InvalidWithClauseException extends QuerySyntaxException {
|
||||
public InvalidWithClauseException(String message) {
|
||||
super( message );
|
||||
}
|
||||
|
||||
public InvalidWithClauseException(String message, String queryString) {
|
||||
super( message, queryString );
|
||||
}
|
||||
}
|
||||
/*
|
||||
* Hibernate, Relational Persistence for Idiomatic Java
|
||||
*
|
||||
* Copyright (c) 2008, Red Hat Middleware LLC or third-party contributors as
|
||||
* indicated by the @author tags or express copyright attribution
|
||||
* statements applied by the authors. All third-party contributions are
|
||||
* distributed under license by Red Hat Middleware LLC.
|
||||
*
|
||||
* This copyrighted material is made available to anyone wishing to use, modify,
|
||||
* copy, or redistribute it subject to the terms and conditions of the GNU
|
||||
* Lesser General Public License, as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
|
||||
* for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with this distribution; if not, write to:
|
||||
* Free Software Foundation, Inc.
|
||||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.internal.ast;
|
||||
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*
|
||||
* @author Steve Ebersole
|
||||
*/
|
||||
public class InvalidWithClauseException extends QuerySyntaxException {
|
||||
public InvalidWithClauseException(String message) {
|
||||
super( message );
|
||||
}
|
||||
|
||||
public InvalidWithClauseException(String message, String queryString) {
|
||||
super( message, queryString );
|
||||
}
|
||||
}
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast;
|
||||
package org.hibernate.hql.internal.ast;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
|
@ -31,7 +31,7 @@ import java.util.Iterator;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import org.hibernate.hql.ParameterTranslations;
|
||||
import org.hibernate.hql.spi.ParameterTranslations;
|
||||
import org.hibernate.internal.util.collections.ArrayHelper;
|
||||
import org.hibernate.param.NamedParameterSpecification;
|
||||
import org.hibernate.param.ParameterSpecification;
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast;
|
||||
package org.hibernate.hql.internal.ast;
|
||||
import org.hibernate.QueryException;
|
||||
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast;
|
||||
package org.hibernate.hql.internal.ast;
|
||||
import org.hibernate.QueryException;
|
||||
import antlr.RecognitionException;
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.hql.ast;
|
||||
package org.hibernate.hql.internal.ast;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
|
@ -40,30 +40,30 @@ import org.hibernate.HibernateException;
|
|||
import org.hibernate.engine.spi.QueryParameters;
|
||||
import org.hibernate.engine.spi.RowSelection;
|
||||
import org.hibernate.engine.spi.SessionImplementor;
|
||||
import org.hibernate.hql.internal.QueryExecutionRequestException;
|
||||
import org.hibernate.hql.spi.ParameterTranslations;
|
||||
import org.hibernate.internal.CoreMessageLogger;
|
||||
import org.hibernate.MappingException;
|
||||
import org.hibernate.QueryException;
|
||||
import org.hibernate.ScrollableResults;
|
||||
import org.hibernate.engine.spi.SessionFactoryImplementor;
|
||||
import org.hibernate.event.spi.EventSource;
|
||||
import org.hibernate.hql.FilterTranslator;
|
||||
import org.hibernate.hql.ParameterTranslations;
|
||||
import org.hibernate.hql.QueryExecutionRequestException;
|
||||
import org.hibernate.hql.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.antlr.HqlTokenTypes;
|
||||
import org.hibernate.hql.antlr.SqlTokenTypes;
|
||||
import org.hibernate.hql.ast.exec.BasicExecutor;
|
||||
import org.hibernate.hql.ast.exec.MultiTableDeleteExecutor;
|
||||
import org.hibernate.hql.ast.exec.MultiTableUpdateExecutor;
|
||||
import org.hibernate.hql.ast.exec.StatementExecutor;
|
||||
import org.hibernate.hql.ast.tree.AggregatedSelectExpression;
|
||||
import org.hibernate.hql.ast.tree.FromElement;
|
||||
import org.hibernate.hql.ast.tree.InsertStatement;
|
||||
import org.hibernate.hql.ast.tree.QueryNode;
|
||||
import org.hibernate.hql.ast.tree.Statement;
|
||||
import org.hibernate.hql.ast.util.ASTPrinter;
|
||||
import org.hibernate.hql.ast.util.ASTUtil;
|
||||
import org.hibernate.hql.ast.util.NodeTraverser;
|
||||
import org.hibernate.hql.spi.FilterTranslator;
|
||||
import org.hibernate.hql.internal.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.internal.antlr.HqlTokenTypes;
|
||||
import org.hibernate.hql.internal.antlr.SqlTokenTypes;
|
||||
import org.hibernate.hql.internal.ast.exec.BasicExecutor;
|
||||
import org.hibernate.hql.internal.ast.exec.MultiTableDeleteExecutor;
|
||||
import org.hibernate.hql.internal.ast.exec.MultiTableUpdateExecutor;
|
||||
import org.hibernate.hql.internal.ast.exec.StatementExecutor;
|
||||
import org.hibernate.hql.internal.ast.tree.AggregatedSelectExpression;
|
||||
import org.hibernate.hql.internal.ast.tree.FromElement;
|
||||
import org.hibernate.hql.internal.ast.tree.InsertStatement;
|
||||
import org.hibernate.hql.internal.ast.tree.QueryNode;
|
||||
import org.hibernate.hql.internal.ast.tree.Statement;
|
||||
import org.hibernate.hql.internal.ast.util.ASTPrinter;
|
||||
import org.hibernate.hql.internal.ast.util.ASTUtil;
|
||||
import org.hibernate.hql.internal.ast.util.NodeTraverser;
|
||||
import org.hibernate.internal.util.ReflectHelper;
|
||||
import org.hibernate.internal.util.StringHelper;
|
||||
import org.hibernate.internal.util.collections.IdentitySet;
|
|
@ -22,50 +22,50 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast;
|
||||
package org.hibernate.hql.internal.ast;
|
||||
import java.lang.reflect.Constructor;
|
||||
import org.hibernate.hql.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.ast.tree.AggregateNode;
|
||||
import org.hibernate.hql.ast.tree.BetweenOperatorNode;
|
||||
import org.hibernate.hql.ast.tree.BinaryArithmeticOperatorNode;
|
||||
import org.hibernate.hql.ast.tree.BinaryLogicOperatorNode;
|
||||
import org.hibernate.hql.ast.tree.BooleanLiteralNode;
|
||||
import org.hibernate.hql.ast.tree.Case2Node;
|
||||
import org.hibernate.hql.ast.tree.CaseNode;
|
||||
import org.hibernate.hql.ast.tree.CollectionFunction;
|
||||
import org.hibernate.hql.ast.tree.ConstructorNode;
|
||||
import org.hibernate.hql.ast.tree.CountNode;
|
||||
import org.hibernate.hql.ast.tree.DeleteStatement;
|
||||
import org.hibernate.hql.ast.tree.DotNode;
|
||||
import org.hibernate.hql.ast.tree.FromClause;
|
||||
import org.hibernate.hql.ast.tree.FromElement;
|
||||
import org.hibernate.hql.ast.tree.IdentNode;
|
||||
import org.hibernate.hql.ast.tree.ImpliedFromElement;
|
||||
import org.hibernate.hql.ast.tree.InLogicOperatorNode;
|
||||
import org.hibernate.hql.ast.tree.IndexNode;
|
||||
import org.hibernate.hql.ast.tree.InitializeableNode;
|
||||
import org.hibernate.hql.ast.tree.InsertStatement;
|
||||
import org.hibernate.hql.ast.tree.IntoClause;
|
||||
import org.hibernate.hql.ast.tree.IsNotNullLogicOperatorNode;
|
||||
import org.hibernate.hql.ast.tree.IsNullLogicOperatorNode;
|
||||
import org.hibernate.hql.ast.tree.JavaConstantNode;
|
||||
import org.hibernate.hql.ast.tree.LiteralNode;
|
||||
import org.hibernate.hql.ast.tree.MapEntryNode;
|
||||
import org.hibernate.hql.ast.tree.MapKeyNode;
|
||||
import org.hibernate.hql.ast.tree.MapValueNode;
|
||||
import org.hibernate.hql.ast.tree.MethodNode;
|
||||
import org.hibernate.hql.ast.tree.OrderByClause;
|
||||
import org.hibernate.hql.ast.tree.ParameterNode;
|
||||
import org.hibernate.hql.ast.tree.QueryNode;
|
||||
import org.hibernate.hql.ast.tree.ResultVariableRefNode;
|
||||
import org.hibernate.hql.ast.tree.SelectClause;
|
||||
import org.hibernate.hql.ast.tree.SelectExpressionImpl;
|
||||
import org.hibernate.hql.ast.tree.SessionFactoryAwareNode;
|
||||
import org.hibernate.hql.ast.tree.SqlFragment;
|
||||
import org.hibernate.hql.ast.tree.SqlNode;
|
||||
import org.hibernate.hql.ast.tree.UnaryArithmeticNode;
|
||||
import org.hibernate.hql.ast.tree.UnaryLogicOperatorNode;
|
||||
import org.hibernate.hql.ast.tree.UpdateStatement;
|
||||
import org.hibernate.hql.internal.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.internal.ast.tree.AggregateNode;
|
||||
import org.hibernate.hql.internal.ast.tree.BetweenOperatorNode;
|
||||
import org.hibernate.hql.internal.ast.tree.BinaryArithmeticOperatorNode;
|
||||
import org.hibernate.hql.internal.ast.tree.BinaryLogicOperatorNode;
|
||||
import org.hibernate.hql.internal.ast.tree.BooleanLiteralNode;
|
||||
import org.hibernate.hql.internal.ast.tree.Case2Node;
|
||||
import org.hibernate.hql.internal.ast.tree.CaseNode;
|
||||
import org.hibernate.hql.internal.ast.tree.CollectionFunction;
|
||||
import org.hibernate.hql.internal.ast.tree.ConstructorNode;
|
||||
import org.hibernate.hql.internal.ast.tree.CountNode;
|
||||
import org.hibernate.hql.internal.ast.tree.DeleteStatement;
|
||||
import org.hibernate.hql.internal.ast.tree.DotNode;
|
||||
import org.hibernate.hql.internal.ast.tree.FromClause;
|
||||
import org.hibernate.hql.internal.ast.tree.FromElement;
|
||||
import org.hibernate.hql.internal.ast.tree.IdentNode;
|
||||
import org.hibernate.hql.internal.ast.tree.ImpliedFromElement;
|
||||
import org.hibernate.hql.internal.ast.tree.InLogicOperatorNode;
|
||||
import org.hibernate.hql.internal.ast.tree.IndexNode;
|
||||
import org.hibernate.hql.internal.ast.tree.InitializeableNode;
|
||||
import org.hibernate.hql.internal.ast.tree.InsertStatement;
|
||||
import org.hibernate.hql.internal.ast.tree.IntoClause;
|
||||
import org.hibernate.hql.internal.ast.tree.IsNotNullLogicOperatorNode;
|
||||
import org.hibernate.hql.internal.ast.tree.IsNullLogicOperatorNode;
|
||||
import org.hibernate.hql.internal.ast.tree.JavaConstantNode;
|
||||
import org.hibernate.hql.internal.ast.tree.LiteralNode;
|
||||
import org.hibernate.hql.internal.ast.tree.MapEntryNode;
|
||||
import org.hibernate.hql.internal.ast.tree.MapKeyNode;
|
||||
import org.hibernate.hql.internal.ast.tree.MapValueNode;
|
||||
import org.hibernate.hql.internal.ast.tree.MethodNode;
|
||||
import org.hibernate.hql.internal.ast.tree.OrderByClause;
|
||||
import org.hibernate.hql.internal.ast.tree.ParameterNode;
|
||||
import org.hibernate.hql.internal.ast.tree.QueryNode;
|
||||
import org.hibernate.hql.internal.ast.tree.ResultVariableRefNode;
|
||||
import org.hibernate.hql.internal.ast.tree.SelectClause;
|
||||
import org.hibernate.hql.internal.ast.tree.SelectExpressionImpl;
|
||||
import org.hibernate.hql.internal.ast.tree.SessionFactoryAwareNode;
|
||||
import org.hibernate.hql.internal.ast.tree.SqlFragment;
|
||||
import org.hibernate.hql.internal.ast.tree.SqlNode;
|
||||
import org.hibernate.hql.internal.ast.tree.UnaryArithmeticNode;
|
||||
import org.hibernate.hql.internal.ast.tree.UnaryLogicOperatorNode;
|
||||
import org.hibernate.hql.internal.ast.tree.UpdateStatement;
|
||||
import antlr.ASTFactory;
|
||||
import antlr.Token;
|
||||
import antlr.collections.AST;
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast;
|
||||
package org.hibernate.hql.internal.ast;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
|
@ -33,14 +33,14 @@ import org.hibernate.engine.spi.SessionFactoryImplementor;
|
|||
import org.hibernate.internal.CoreMessageLogger;
|
||||
import org.hibernate.QueryException;
|
||||
import org.hibernate.dialect.function.SQLFunction;
|
||||
import org.hibernate.hql.antlr.SqlGeneratorBase;
|
||||
import org.hibernate.hql.antlr.SqlTokenTypes;
|
||||
import org.hibernate.hql.ast.tree.FromElement;
|
||||
import org.hibernate.hql.ast.tree.FunctionNode;
|
||||
import org.hibernate.hql.ast.tree.Node;
|
||||
import org.hibernate.hql.ast.tree.ParameterContainer;
|
||||
import org.hibernate.hql.ast.tree.ParameterNode;
|
||||
import org.hibernate.hql.ast.util.ASTPrinter;
|
||||
import org.hibernate.hql.internal.antlr.SqlGeneratorBase;
|
||||
import org.hibernate.hql.internal.antlr.SqlTokenTypes;
|
||||
import org.hibernate.hql.internal.ast.tree.FromElement;
|
||||
import org.hibernate.hql.internal.ast.tree.FunctionNode;
|
||||
import org.hibernate.hql.internal.ast.tree.Node;
|
||||
import org.hibernate.hql.internal.ast.tree.ParameterContainer;
|
||||
import org.hibernate.hql.internal.ast.tree.ParameterNode;
|
||||
import org.hibernate.hql.internal.ast.util.ASTPrinter;
|
||||
import org.hibernate.internal.util.StringHelper;
|
||||
import org.hibernate.param.ParameterSpecification;
|
||||
import org.hibernate.type.Type;
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.hql.ast;
|
||||
package org.hibernate.hql.internal.ast;
|
||||
import org.hibernate.type.Type;
|
||||
|
||||
/**
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.hql.ast.exec;
|
||||
package org.hibernate.hql.internal.ast.exec;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.sql.PreparedStatement;
|
||||
|
@ -37,8 +37,8 @@ import org.hibernate.engine.spi.SessionFactoryImplementor;
|
|||
import org.hibernate.engine.jdbc.spi.JdbcServices;
|
||||
import org.hibernate.engine.jdbc.spi.SqlExceptionHelper;
|
||||
import org.hibernate.event.spi.EventSource;
|
||||
import org.hibernate.hql.ast.HqlSqlWalker;
|
||||
import org.hibernate.hql.ast.SqlGenerator;
|
||||
import org.hibernate.hql.internal.ast.HqlSqlWalker;
|
||||
import org.hibernate.hql.internal.ast.SqlGenerator;
|
||||
import org.hibernate.internal.util.StringHelper;
|
||||
import org.hibernate.jdbc.AbstractWork;
|
||||
import org.hibernate.persister.entity.Queryable;
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.exec;
|
||||
package org.hibernate.hql.internal.ast.exec;
|
||||
import java.sql.PreparedStatement;
|
||||
import java.sql.SQLException;
|
||||
import java.util.Iterator;
|
||||
|
@ -31,9 +31,9 @@ import org.hibernate.HibernateException;
|
|||
import org.hibernate.engine.spi.QueryParameters;
|
||||
import org.hibernate.engine.spi.RowSelection;
|
||||
import org.hibernate.engine.spi.SessionImplementor;
|
||||
import org.hibernate.hql.ast.HqlSqlWalker;
|
||||
import org.hibernate.hql.ast.QuerySyntaxException;
|
||||
import org.hibernate.hql.ast.SqlGenerator;
|
||||
import org.hibernate.hql.internal.ast.HqlSqlWalker;
|
||||
import org.hibernate.hql.internal.ast.QuerySyntaxException;
|
||||
import org.hibernate.hql.internal.ast.SqlGenerator;
|
||||
import org.hibernate.param.ParameterSpecification;
|
||||
import org.hibernate.persister.entity.Queryable;
|
||||
import antlr.RecognitionException;
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.exec;
|
||||
package org.hibernate.hql.internal.ast.exec;
|
||||
|
||||
import java.sql.PreparedStatement;
|
||||
import java.sql.SQLException;
|
||||
|
@ -31,9 +31,9 @@ import org.hibernate.HibernateException;
|
|||
import org.hibernate.engine.spi.SessionImplementor;
|
||||
import org.hibernate.internal.CoreMessageLogger;
|
||||
import org.hibernate.engine.spi.QueryParameters;
|
||||
import org.hibernate.hql.ast.HqlSqlWalker;
|
||||
import org.hibernate.hql.ast.tree.DeleteStatement;
|
||||
import org.hibernate.hql.ast.tree.FromElement;
|
||||
import org.hibernate.hql.internal.ast.HqlSqlWalker;
|
||||
import org.hibernate.hql.internal.ast.tree.DeleteStatement;
|
||||
import org.hibernate.hql.internal.ast.tree.FromElement;
|
||||
import org.hibernate.internal.util.StringHelper;
|
||||
import org.hibernate.param.ParameterSpecification;
|
||||
import org.hibernate.persister.entity.Queryable;
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.exec;
|
||||
package org.hibernate.hql.internal.ast.exec;
|
||||
|
||||
import java.sql.PreparedStatement;
|
||||
import java.sql.SQLException;
|
||||
|
@ -33,10 +33,10 @@ import org.hibernate.HibernateException;
|
|||
import org.hibernate.engine.spi.QueryParameters;
|
||||
import org.hibernate.engine.spi.SessionImplementor;
|
||||
import org.hibernate.internal.CoreMessageLogger;
|
||||
import org.hibernate.hql.ast.HqlSqlWalker;
|
||||
import org.hibernate.hql.ast.tree.AssignmentSpecification;
|
||||
import org.hibernate.hql.ast.tree.FromElement;
|
||||
import org.hibernate.hql.ast.tree.UpdateStatement;
|
||||
import org.hibernate.hql.internal.ast.HqlSqlWalker;
|
||||
import org.hibernate.hql.internal.ast.tree.AssignmentSpecification;
|
||||
import org.hibernate.hql.internal.ast.tree.FromElement;
|
||||
import org.hibernate.hql.internal.ast.tree.UpdateStatement;
|
||||
import org.hibernate.internal.util.StringHelper;
|
||||
import org.hibernate.param.ParameterSpecification;
|
||||
import org.hibernate.persister.entity.Queryable;
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.exec;
|
||||
package org.hibernate.hql.internal.ast.exec;
|
||||
import org.hibernate.HibernateException;
|
||||
import org.hibernate.engine.spi.QueryParameters;
|
||||
import org.hibernate.engine.spi.SessionImplementor;
|
|
@ -19,11 +19,11 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
|
||||
import java.util.Map;
|
||||
import org.hibernate.hql.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.ast.util.ColumnHelper;
|
||||
import org.hibernate.hql.internal.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.internal.ast.util.ColumnHelper;
|
||||
import org.hibernate.internal.util.StringHelper;
|
||||
import org.hibernate.persister.collection.QueryableCollection;
|
||||
import org.hibernate.type.CollectionType;
|
|
@ -22,11 +22,11 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
|
||||
import org.hibernate.HibernateException;
|
||||
import org.hibernate.engine.spi.SessionFactoryImplementor;
|
||||
import org.hibernate.hql.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.internal.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.internal.util.StringHelper;
|
||||
import org.hibernate.type.Type;
|
||||
import antlr.collections.AST;
|
|
@ -22,10 +22,10 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import org.hibernate.internal.CoreMessageLogger;
|
||||
import org.hibernate.hql.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.ast.util.ASTUtil;
|
||||
import org.hibernate.hql.internal.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.internal.ast.util.ASTUtil;
|
||||
import antlr.collections.AST;
|
||||
|
||||
/**
|
||||
|
@ -44,7 +44,7 @@ public abstract class AbstractRestrictableStatement extends AbstractStatement im
|
|||
protected abstract CoreMessageLogger getLog();
|
||||
|
||||
/**
|
||||
* @see org.hibernate.hql.ast.tree.RestrictableStatement#getFromClause
|
||||
* @see org.hibernate.hql.internal.ast.tree.RestrictableStatement#getFromClause
|
||||
*/
|
||||
public final FromClause getFromClause() {
|
||||
if ( fromClause == null ) {
|
||||
|
@ -62,7 +62,7 @@ public abstract class AbstractRestrictableStatement extends AbstractStatement im
|
|||
}
|
||||
|
||||
/**
|
||||
* @see org.hibernate.hql.ast.tree.RestrictableStatement#getWhereClause
|
||||
* @see org.hibernate.hql.internal.ast.tree.RestrictableStatement#getWhereClause
|
||||
*/
|
||||
public final AST getWhereClause() {
|
||||
if ( whereClause == null ) {
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import org.hibernate.type.Type;
|
||||
import antlr.SemanticException;
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import java.util.Iterator;
|
||||
|
||||
/**
|
|
@ -21,11 +21,11 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import org.hibernate.internal.CoreMessageLogger;
|
||||
import org.hibernate.dialect.function.SQLFunction;
|
||||
import org.hibernate.dialect.function.StandardSQLFunction;
|
||||
import org.hibernate.hql.ast.util.ColumnHelper;
|
||||
import org.hibernate.hql.internal.ast.util.ColumnHelper;
|
||||
import org.hibernate.type.Type;
|
||||
import org.jboss.logging.Logger;
|
||||
import antlr.SemanticException;
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import java.util.Collections;
|
||||
import java.util.HashSet;
|
||||
import java.util.Iterator;
|
||||
|
@ -30,9 +30,9 @@ import java.util.List;
|
|||
import java.util.Set;
|
||||
import org.hibernate.QueryException;
|
||||
import org.hibernate.engine.spi.SessionFactoryImplementor;
|
||||
import org.hibernate.hql.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.ast.SqlGenerator;
|
||||
import org.hibernate.hql.ast.util.ASTUtil;
|
||||
import org.hibernate.hql.internal.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.internal.ast.SqlGenerator;
|
||||
import org.hibernate.hql.internal.ast.util.ASTUtil;
|
||||
import org.hibernate.param.ParameterSpecification;
|
||||
import org.hibernate.persister.entity.Queryable;
|
||||
import org.hibernate.persister.entity.UnionSubclassEntityPersister;
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
|
||||
import antlr.SemanticException;
|
||||
|
|
@ -21,12 +21,12 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
|
||||
import antlr.SemanticException;
|
||||
|
||||
import org.hibernate.hql.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.ast.util.ColumnHelper;
|
||||
import org.hibernate.hql.internal.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.internal.ast.util.ColumnHelper;
|
||||
import org.hibernate.type.StandardBasicTypes;
|
||||
import org.hibernate.type.Type;
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
|
||||
import antlr.SemanticException;
|
||||
import antlr.collections.AST;
|
||||
|
@ -29,7 +29,7 @@ import antlr.collections.AST;
|
|||
import org.hibernate.HibernateException;
|
||||
import org.hibernate.TypeMismatchException;
|
||||
import org.hibernate.engine.spi.SessionFactoryImplementor;
|
||||
import org.hibernate.hql.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.internal.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.internal.util.StringHelper;
|
||||
import org.hibernate.param.ParameterSpecification;
|
||||
import org.hibernate.type.OneToOneType;
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
|
||||
|
||||
/**
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
|
||||
import org.hibernate.QueryException;
|
||||
import org.hibernate.engine.spi.SessionFactoryImplementor;
|
|
@ -22,8 +22,8 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
import org.hibernate.hql.ast.util.ColumnHelper;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import org.hibernate.hql.internal.ast.util.ColumnHelper;
|
||||
import org.hibernate.type.Type;
|
||||
import antlr.SemanticException;
|
||||
|
|
@ -22,8 +22,8 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
import org.hibernate.hql.ast.util.ColumnHelper;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import org.hibernate.hql.internal.ast.util.ColumnHelper;
|
||||
import org.hibernate.type.Type;
|
||||
import antlr.SemanticException;
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import antlr.SemanticException;
|
||||
import antlr.collections.AST;
|
||||
|
|
@ -21,10 +21,10 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
|
||||
import org.hibernate.QueryException;
|
||||
import org.hibernate.hql.NameGenerator;
|
||||
import org.hibernate.hql.internal.NameGenerator;
|
||||
import org.hibernate.internal.util.StringHelper;
|
||||
import org.hibernate.persister.collection.QueryableCollection;
|
||||
import org.hibernate.persister.entity.PropertyMapping;
|
||||
|
@ -94,7 +94,7 @@ public class ComponentJoin extends FromElement {
|
|||
// used to "resolve" the IdentNode when our alias is encountered *by itself* in the query; so
|
||||
// here we use the component
|
||||
// NOTE : ^^ is true *except for* when encountered by itself in the SELECT clause. That gets
|
||||
// routed through org.hibernate.hql.ast.tree.ComponentJoin.ComponentFromElementType.renderScalarIdentifierSelect()
|
||||
// routed through org.hibernate.hql.internal.ast.tree.ComponentJoin.ComponentFromElementType.renderScalarIdentifierSelect()
|
||||
// which we also override to account for
|
||||
return columns;
|
||||
}
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
|
||||
import java.lang.reflect.Constructor;
|
||||
import java.util.Arrays;
|
||||
|
@ -33,7 +33,7 @@ import antlr.collections.AST;
|
|||
|
||||
import org.hibernate.PropertyNotFoundException;
|
||||
import org.hibernate.QueryException;
|
||||
import org.hibernate.hql.ast.DetailedSemanticException;
|
||||
import org.hibernate.hql.internal.ast.DetailedSemanticException;
|
||||
import org.hibernate.internal.util.ReflectHelper;
|
||||
import org.hibernate.internal.util.StringHelper;
|
||||
import org.hibernate.transform.AliasToBeanConstructorResultTransformer;
|
|
@ -22,8 +22,8 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
import org.hibernate.hql.ast.util.ColumnHelper;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import org.hibernate.hql.internal.ast.util.ColumnHelper;
|
||||
import org.hibernate.type.Type;
|
||||
import antlr.SemanticException;
|
||||
|
|
@ -22,10 +22,10 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import org.hibernate.internal.CoreMessageLogger;
|
||||
import org.hibernate.hql.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.antlr.SqlTokenTypes;
|
||||
import org.hibernate.hql.internal.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.internal.antlr.SqlTokenTypes;
|
||||
|
||||
import org.jboss.logging.Logger;
|
||||
|
||||
|
@ -39,14 +39,14 @@ public class DeleteStatement extends AbstractRestrictableStatement {
|
|||
private static final CoreMessageLogger LOG = Logger.getMessageLogger(CoreMessageLogger.class, DeleteStatement.class.getName());
|
||||
|
||||
/**
|
||||
* @see org.hibernate.hql.ast.tree.Statement#getStatementType()
|
||||
* @see org.hibernate.hql.internal.ast.tree.Statement#getStatementType()
|
||||
*/
|
||||
public int getStatementType() {
|
||||
return HqlSqlTokenTypes.DELETE;
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.hibernate.hql.ast.tree.Statement#needsExecutor()
|
||||
* @see org.hibernate.hql.internal.ast.tree.Statement#needsExecutor()
|
||||
*/
|
||||
public boolean needsExecutor() {
|
||||
return true;
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
|
||||
|
||||
/**
|
|
@ -22,15 +22,15 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
|
||||
import org.hibernate.engine.internal.JoinSequence;
|
||||
import org.hibernate.internal.CoreMessageLogger;
|
||||
import org.hibernate.QueryException;
|
||||
import org.hibernate.hql.CollectionProperties;
|
||||
import org.hibernate.hql.antlr.SqlTokenTypes;
|
||||
import org.hibernate.hql.ast.util.ASTUtil;
|
||||
import org.hibernate.hql.ast.util.ColumnHelper;
|
||||
import org.hibernate.hql.internal.CollectionProperties;
|
||||
import org.hibernate.hql.internal.antlr.SqlTokenTypes;
|
||||
import org.hibernate.hql.internal.ast.util.ASTUtil;
|
||||
import org.hibernate.hql.internal.ast.util.ColumnHelper;
|
||||
import org.hibernate.internal.util.StringHelper;
|
||||
import org.hibernate.persister.collection.QueryableCollection;
|
||||
import org.hibernate.persister.entity.EntityPersister;
|
|
@ -1,37 +1,37 @@
|
|||
/*
|
||||
* Hibernate, Relational Persistence for Idiomatic Java
|
||||
*
|
||||
* Copyright (c) 2008, Red Hat Middleware LLC or third-party contributors as
|
||||
* indicated by the @author tags or express copyright attribution
|
||||
* statements applied by the authors. All third-party contributions are
|
||||
* distributed under license by Red Hat Middleware LLC.
|
||||
*
|
||||
* This copyrighted material is made available to anyone wishing to use, modify,
|
||||
* copy, or redistribute it subject to the terms and conditions of the GNU
|
||||
* Lesser General Public License, as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
|
||||
* for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with this distribution; if not, write to:
|
||||
* Free Software Foundation, Inc.
|
||||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
import org.hibernate.type.Type;
|
||||
|
||||
/**
|
||||
* Interface for nodes which wish to be made aware of any determined "expected
|
||||
* type" based on the context within they appear in the query.
|
||||
*
|
||||
* @author Steve Ebersole
|
||||
*/
|
||||
public interface ExpectedTypeAwareNode {
|
||||
public void setExpectedType(Type expectedType);
|
||||
public Type getExpectedType();
|
||||
}
|
||||
/*
|
||||
* Hibernate, Relational Persistence for Idiomatic Java
|
||||
*
|
||||
* Copyright (c) 2008, Red Hat Middleware LLC or third-party contributors as
|
||||
* indicated by the @author tags or express copyright attribution
|
||||
* statements applied by the authors. All third-party contributions are
|
||||
* distributed under license by Red Hat Middleware LLC.
|
||||
*
|
||||
* This copyrighted material is made available to anyone wishing to use, modify,
|
||||
* copy, or redistribute it subject to the terms and conditions of the GNU
|
||||
* Lesser General Public License, as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
|
||||
* for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with this distribution; if not, write to:
|
||||
* Free Software Foundation, Inc.
|
||||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import org.hibernate.type.Type;
|
||||
|
||||
/**
|
||||
* Interface for nodes which wish to be made aware of any determined "expected
|
||||
* type" based on the context within they appear in the query.
|
||||
*
|
||||
* @author Steve Ebersole
|
||||
*/
|
||||
public interface ExpectedTypeAwareNode {
|
||||
public void setExpectedType(Type expectedType);
|
||||
public Type getExpectedType();
|
||||
}
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.Iterator;
|
||||
|
@ -32,9 +32,9 @@ import java.util.Map;
|
|||
import java.util.Set;
|
||||
|
||||
import org.hibernate.internal.CoreMessageLogger;
|
||||
import org.hibernate.hql.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.ast.util.ASTIterator;
|
||||
import org.hibernate.hql.ast.util.ASTUtil;
|
||||
import org.hibernate.hql.internal.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.internal.ast.util.ASTIterator;
|
||||
import org.hibernate.hql.internal.ast.util.ASTUtil;
|
||||
import org.jboss.logging.Logger;
|
||||
import antlr.SemanticException;
|
||||
import antlr.collections.AST;
|
|
@ -22,21 +22,21 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
|
||||
import org.hibernate.engine.internal.JoinSequence;
|
||||
import org.hibernate.hql.spi.QueryTranslator;
|
||||
import org.hibernate.internal.CoreMessageLogger;
|
||||
import org.hibernate.QueryException;
|
||||
import org.hibernate.hql.CollectionProperties;
|
||||
import org.hibernate.hql.QueryTranslator;
|
||||
import org.hibernate.hql.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.antlr.SqlTokenTypes;
|
||||
import org.hibernate.hql.ast.TypeDiscriminatorMetadata;
|
||||
import org.hibernate.hql.ast.util.ASTUtil;
|
||||
import org.hibernate.hql.internal.CollectionProperties;
|
||||
import org.hibernate.hql.internal.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.internal.antlr.SqlTokenTypes;
|
||||
import org.hibernate.hql.internal.ast.TypeDiscriminatorMetadata;
|
||||
import org.hibernate.hql.internal.ast.util.ASTUtil;
|
||||
import org.hibernate.internal.util.StringHelper;
|
||||
import org.hibernate.param.ParameterSpecification;
|
||||
import org.hibernate.persister.collection.QueryableCollection;
|
|
@ -22,15 +22,15 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
|
||||
import org.hibernate.engine.internal.JoinSequence;
|
||||
import org.hibernate.internal.CoreMessageLogger;
|
||||
import org.hibernate.hql.antlr.SqlTokenTypes;
|
||||
import org.hibernate.hql.ast.util.ASTUtil;
|
||||
import org.hibernate.hql.ast.util.AliasGenerator;
|
||||
import org.hibernate.hql.ast.util.PathHelper;
|
||||
import org.hibernate.hql.ast.util.SessionFactoryHelper;
|
||||
import org.hibernate.hql.internal.antlr.SqlTokenTypes;
|
||||
import org.hibernate.hql.internal.ast.util.ASTUtil;
|
||||
import org.hibernate.hql.internal.ast.util.AliasGenerator;
|
||||
import org.hibernate.hql.internal.ast.util.PathHelper;
|
||||
import org.hibernate.hql.internal.ast.util.SessionFactoryHelper;
|
||||
import org.hibernate.internal.util.StringHelper;
|
||||
import org.hibernate.persister.collection.QueryableCollection;
|
||||
import org.hibernate.persister.entity.EntityPersister;
|
|
@ -22,19 +22,19 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.hibernate.engine.internal.JoinSequence;
|
||||
import org.hibernate.hql.internal.CollectionProperties;
|
||||
import org.hibernate.hql.internal.CollectionSubqueryFactory;
|
||||
import org.hibernate.hql.internal.NameGenerator;
|
||||
import org.hibernate.internal.CoreMessageLogger;
|
||||
import org.hibernate.MappingException;
|
||||
import org.hibernate.QueryException;
|
||||
import org.hibernate.hql.CollectionProperties;
|
||||
import org.hibernate.hql.CollectionSubqueryFactory;
|
||||
import org.hibernate.hql.NameGenerator;
|
||||
import org.hibernate.hql.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.internal.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.internal.util.collections.ArrayHelper;
|
||||
import org.hibernate.param.ParameterSpecification;
|
||||
import org.hibernate.persister.collection.CollectionPropertyMapping;
|
||||
|
@ -338,7 +338,7 @@ class FromElementType {
|
|||
Map enabledFilters = fromElement.getWalker().getEnabledFilters();
|
||||
String subquery = CollectionSubqueryFactory.createCollectionSubquery(
|
||||
joinSequence.copy().setUseThetaStyle( true ),
|
||||
enabledFilters,
|
||||
enabledFilters,
|
||||
propertyMapping.toColumns( tableAlias, path )
|
||||
);
|
||||
LOG.debugf("toColumns(%s,%s) : subquery = %s", tableAlias, path, subquery);
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import org.hibernate.internal.CoreMessageLogger;
|
||||
|
||||
import org.jboss.logging.Logger;
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import org.hibernate.dialect.function.SQLFunction;
|
||||
import org.hibernate.type.Type;
|
||||
|
|
@ -22,10 +22,10 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
import org.hibernate.hql.ast.HqlSqlWalker;
|
||||
import org.hibernate.hql.ast.util.AliasGenerator;
|
||||
import org.hibernate.hql.ast.util.SessionFactoryHelper;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import org.hibernate.hql.internal.ast.HqlSqlWalker;
|
||||
import org.hibernate.hql.internal.ast.util.AliasGenerator;
|
||||
import org.hibernate.hql.internal.ast.util.SessionFactoryHelper;
|
||||
import antlr.ASTFactory;
|
||||
|
||||
/**
|
|
@ -22,13 +22,13 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
|
||||
import java.util.List;
|
||||
import org.hibernate.QueryException;
|
||||
import org.hibernate.dialect.function.SQLFunction;
|
||||
import org.hibernate.hql.antlr.SqlTokenTypes;
|
||||
import org.hibernate.hql.ast.util.ColumnHelper;
|
||||
import org.hibernate.hql.internal.antlr.SqlTokenTypes;
|
||||
import org.hibernate.hql.internal.ast.util.ColumnHelper;
|
||||
import org.hibernate.internal.util.StringHelper;
|
||||
import org.hibernate.persister.collection.QueryableCollection;
|
||||
import org.hibernate.persister.entity.Queryable;
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
|
||||
|
||||
/**
|
|
@ -22,12 +22,12 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import org.hibernate.engine.spi.SessionFactoryImplementor;
|
||||
import org.hibernate.hql.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.antlr.HqlTokenTypes;
|
||||
import org.hibernate.hql.internal.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.internal.antlr.HqlTokenTypes;
|
||||
import org.hibernate.param.ParameterSpecification;
|
||||
import org.hibernate.type.Type;
|
||||
import antlr.SemanticException;
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import java.sql.PreparedStatement;
|
||||
import java.sql.SQLException;
|
||||
import java.util.Iterator;
|
||||
|
@ -33,8 +33,8 @@ import org.hibernate.internal.CoreMessageLogger;
|
|||
import org.hibernate.QueryException;
|
||||
import org.hibernate.engine.internal.JoinSequence;
|
||||
import org.hibernate.engine.spi.QueryParameters;
|
||||
import org.hibernate.hql.ast.SqlGenerator;
|
||||
import org.hibernate.hql.ast.util.SessionFactoryHelper;
|
||||
import org.hibernate.hql.internal.ast.SqlGenerator;
|
||||
import org.hibernate.hql.internal.ast.util.SessionFactoryHelper;
|
||||
import org.hibernate.param.ParameterSpecification;
|
||||
import org.hibernate.persister.collection.QueryableCollection;
|
||||
import org.hibernate.type.CollectionType;
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
|
||||
|
||||
/**
|
|
@ -22,9 +22,9 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import org.hibernate.QueryException;
|
||||
import org.hibernate.hql.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.internal.antlr.HqlSqlTokenTypes;
|
||||
|
||||
/**
|
||||
* Defines a top-level AST node representing an HQL "insert select" statement.
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
|
||||
import java.sql.Types;
|
||||
import java.util.ArrayList;
|
|
@ -22,8 +22,8 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
import org.hibernate.hql.antlr.HqlSqlTokenTypes;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import org.hibernate.hql.internal.antlr.HqlSqlTokenTypes;
|
||||
|
||||
/**
|
||||
* IsNotNullLogicOperatorNode implementation
|
|
@ -22,8 +22,8 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
import org.hibernate.hql.antlr.HqlSqlTokenTypes;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import org.hibernate.hql.internal.antlr.HqlSqlTokenTypes;
|
||||
|
||||
/**
|
||||
* Represents a 'is null' check.
|
|
@ -22,12 +22,12 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
|
||||
import org.hibernate.QueryException;
|
||||
import org.hibernate.dialect.Dialect;
|
||||
import org.hibernate.engine.spi.SessionFactoryImplementor;
|
||||
import org.hibernate.hql.QueryTranslator;
|
||||
import org.hibernate.hql.spi.QueryTranslator;
|
||||
import org.hibernate.internal.util.ReflectHelper;
|
||||
import org.hibernate.internal.util.StringHelper;
|
||||
import org.hibernate.type.LiteralType;
|
|
@ -21,12 +21,12 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
|
||||
import antlr.SemanticException;
|
||||
|
||||
import org.hibernate.hql.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.ast.util.ColumnHelper;
|
||||
import org.hibernate.hql.internal.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.internal.ast.util.ColumnHelper;
|
||||
import org.hibernate.type.StandardBasicTypes;
|
||||
import org.hibernate.type.Type;
|
||||
|
|
@ -19,14 +19,14 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import org.hibernate.HibernateException;
|
||||
import org.hibernate.engine.spi.SessionFactoryImplementor;
|
||||
import org.hibernate.hql.NameGenerator;
|
||||
import org.hibernate.hql.internal.NameGenerator;
|
||||
import org.hibernate.persister.collection.QueryableCollection;
|
||||
import org.hibernate.persister.entity.Queryable;
|
||||
import org.hibernate.sql.AliasGenerator;
|
|
@ -19,7 +19,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import org.hibernate.persister.collection.QueryableCollection;
|
||||
import org.hibernate.type.Type;
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import org.hibernate.persister.collection.QueryableCollection;
|
||||
import org.hibernate.type.Type;
|
||||
|
|
@ -22,16 +22,16 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import java.util.Arrays;
|
||||
|
||||
import org.hibernate.hql.internal.CollectionProperties;
|
||||
import org.hibernate.internal.CoreMessageLogger;
|
||||
import org.hibernate.dialect.function.SQLFunction;
|
||||
import org.hibernate.hql.CollectionProperties;
|
||||
import org.hibernate.hql.antlr.SqlTokenTypes;
|
||||
import org.hibernate.hql.ast.TypeDiscriminatorMetadata;
|
||||
import org.hibernate.hql.ast.util.ASTUtil;
|
||||
import org.hibernate.hql.ast.util.ColumnHelper;
|
||||
import org.hibernate.hql.internal.antlr.SqlTokenTypes;
|
||||
import org.hibernate.hql.internal.ast.TypeDiscriminatorMetadata;
|
||||
import org.hibernate.hql.internal.ast.util.ASTUtil;
|
||||
import org.hibernate.hql.internal.ast.util.ColumnHelper;
|
||||
import org.hibernate.persister.collection.CollectionPropertyNames;
|
||||
import org.hibernate.persister.collection.QueryableCollection;
|
||||
import org.hibernate.type.Type;
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
|
||||
import org.hibernate.engine.spi.SessionFactoryImplementor;
|
||||
import org.hibernate.internal.util.StringHelper;
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import org.hibernate.type.Type;
|
||||
import antlr.SemanticException;
|
||||
|
|
@ -22,9 +22,9 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
import org.hibernate.hql.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.ast.util.ASTUtil;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import org.hibernate.hql.internal.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.internal.ast.util.ASTUtil;
|
||||
import antlr.collections.AST;
|
||||
|
||||
/**
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import org.hibernate.param.ParameterSpecification;
|
||||
|
||||
/**
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import org.hibernate.engine.spi.SessionFactoryImplementor;
|
||||
import org.hibernate.param.ParameterSpecification;
|
||||
import org.hibernate.type.Type;
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
|
||||
|
||||
/**
|
|
@ -22,12 +22,12 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import org.hibernate.internal.CoreMessageLogger;
|
||||
import org.hibernate.hql.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.antlr.SqlTokenTypes;
|
||||
import org.hibernate.hql.ast.util.ASTUtil;
|
||||
import org.hibernate.hql.ast.util.ColumnHelper;
|
||||
import org.hibernate.hql.internal.antlr.HqlSqlTokenTypes;
|
||||
import org.hibernate.hql.internal.antlr.SqlTokenTypes;
|
||||
import org.hibernate.hql.internal.ast.util.ASTUtil;
|
||||
import org.hibernate.hql.internal.ast.util.ColumnHelper;
|
||||
import org.hibernate.type.Type;
|
||||
import org.jboss.logging.Logger;
|
||||
import antlr.SemanticException;
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import antlr.SemanticException;
|
||||
import antlr.collections.AST;
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import antlr.collections.AST;
|
||||
|
||||
/**
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
|
||||
import org.hibernate.engine.spi.SessionFactoryImplementor;
|
||||
import org.hibernate.internal.util.StringHelper;
|
|
@ -22,15 +22,15 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import org.hibernate.QueryException;
|
||||
import org.hibernate.hql.antlr.SqlTokenTypes;
|
||||
import org.hibernate.hql.ast.util.ASTAppender;
|
||||
import org.hibernate.hql.ast.util.ASTIterator;
|
||||
import org.hibernate.hql.ast.util.ASTPrinter;
|
||||
import org.hibernate.hql.internal.antlr.SqlTokenTypes;
|
||||
import org.hibernate.hql.internal.ast.util.ASTAppender;
|
||||
import org.hibernate.hql.internal.ast.util.ASTIterator;
|
||||
import org.hibernate.hql.internal.ast.util.ASTPrinter;
|
||||
import org.hibernate.type.Type;
|
||||
import antlr.SemanticException;
|
||||
import antlr.collections.AST;
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import org.hibernate.type.Type;
|
||||
import antlr.SemanticException;
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
package org.hibernate.hql.internal.ast.tree;
|
||||
import antlr.SemanticException;
|
||||
import antlr.collections.AST;
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue