Tabnine Logo
Template.isFunction
Code IndexAdd Tabnine to your IDE (free)

How to use
isFunction
method
in
org.hibernate.sql.Template

Best Java code snippets using org.hibernate.sql.Template.isFunction (Showing top 5 results out of 315)

origin: hibernate/hibernate-orm

private static boolean isFunctionOrKeyword(
    String lcToken,
    String nextToken,
    Dialect dialect,
    SQLFunctionRegistry functionRegistry) {
  return "(".equals( nextToken ) ||
      KEYWORDS.contains( lcToken ) ||
      isType( lcToken, dialect ) ||
      isFunction( lcToken, nextToken, functionRegistry ) ||
      dialect.getKeywords().contains( lcToken ) ||
      FUNCTION_KEYWORDS.contains( lcToken );
}
origin: org.hibernate/com.springsource.org.hibernate

private static boolean isFunctionOrKeyword(String lcToken, String nextToken, Dialect dialect, SQLFunctionRegistry functionRegistry) {
  return "(".equals(nextToken) ||
    KEYWORDS.contains(lcToken) ||
    isFunction(lcToken, nextToken, functionRegistry ) ||
    dialect.getKeywords().contains(lcToken) ||
    FUNCTION_KEYWORDS.contains(lcToken);
}
origin: org.hibernate/com.springsource.org.hibernate.core

private static boolean isFunctionOrKeyword(String lcToken, String nextToken, Dialect dialect, SQLFunctionRegistry functionRegistry) {
  return "(".equals(nextToken) ||
    KEYWORDS.contains(lcToken) ||
    isFunction(lcToken, nextToken, functionRegistry ) ||
    dialect.getKeywords().contains(lcToken) ||
    FUNCTION_KEYWORDS.contains(lcToken);
}
origin: org.hibernate.orm/hibernate-core

private static boolean isFunctionOrKeyword(
    String lcToken,
    String nextToken,
    Dialect dialect,
    SqmFunctionRegistry functionRegistry) {
  return "(".equals( nextToken ) ||
      KEYWORDS.contains( lcToken ) ||
      isType( lcToken, dialect ) ||
      isFunction( lcToken, nextToken, functionRegistry ) ||
      dialect.getKeywords().contains( lcToken ) ||
      FUNCTION_KEYWORDS.contains( lcToken );
}
origin: hibernate/hibernate

  !isFunction(lcToken, nextToken, dialect)
) {
  result.append(placeholder)
org.hibernate.sqlTemplateisFunction

Popular methods of Template

  • renderWhereStringTemplate
  • isNamedParameter
  • renderOrderByStringTemplate
    Performs order-by template rendering allowing ColumnMapper. An ORDER BY template has all column refe
  • isIdentifier
  • extractUntil
  • isFunctionOrKeyword
  • isBoolean
  • isType
  • renderTransformerReadFragment
  • translateOrderBy
    Performs order-by template rendering allowing ColumnMapper. An ORDER BY template has all column refe

Popular in Java

  • Reading from database using SQL prepared statement
  • addToBackStack (FragmentTransaction)
  • getContentResolver (Context)
  • setScale (BigDecimal)
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • JOptionPane (javax.swing)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now