Tabnine Logo
ArrayHelper.isAllFalse
Code IndexAdd Tabnine to your IDE (free)

How to use
isAllFalse
method
in
org.hibernate.internal.util.collections.ArrayHelper

Best Java code snippets using org.hibernate.internal.util.collections.ArrayHelper.isAllFalse (Showing top 13 results out of 315)

origin: hibernate/hibernate-orm

public boolean isUpdateable() {
  // if the property mapping consists of all formulas,
  // make it non-updateable
  return updateable && !ArrayHelper.isAllFalse( value.getColumnUpdateability() );
}
origin: hibernate/hibernate-orm

public boolean isInsertable() {
  // if the property mapping consists of all formulas, 
  // make it non-insertable
  final boolean[] columnInsertability = value.getColumnInsertability();
  return insertable && (
      columnInsertability.length==0 ||
      !ArrayHelper.isAllFalse( columnInsertability )
    );
}
origin: hibernate/hibernate-orm

private String determinePkByNaturalIdQuery(boolean[] valueNullness) {
  if ( !hasNaturalIdentifier() ) {
    throw new HibernateException(
        "Attempt to build natural-id -> PK resolution query for entity that does not define natural id"
    );
  }
  // performance shortcut for cases where the natural-id is defined as completely non-nullable
  if ( isNaturalIdNonNullable() ) {
    if ( valueNullness != null && !ArrayHelper.isAllFalse( valueNullness ) ) {
      throw new HibernateException( "Null value(s) passed to lookup by non-nullable natural-id" );
    }
    if ( cachedPkByNonNullableNaturalIdQuery == null ) {
      cachedPkByNonNullableNaturalIdQuery = generateEntityIdByNaturalIdSql( null );
    }
    return cachedPkByNonNullableNaturalIdQuery;
  }
  // Otherwise, regenerate it each time
  return generateEntityIdByNaturalIdSql( valueNullness );
}
origin: hibernate/hibernate-orm

@Override
protected int doUpdateRows(Serializable id, PersistentCollection collection, SharedSessionContractImplementor session)
    throws HibernateException {
  if ( ArrayHelper.isAllFalse( elementColumnIsSettable ) ) {
    return 0;
origin: org.hibernate/com.springsource.org.hibernate.core

public boolean isUpdateable() {
  // if the property mapping consists of all formulas,
  // make it non-updateable
  return updateable && !ArrayHelper.isAllFalse( value.getColumnUpdateability() );
}
origin: org.hibernate.orm/hibernate-core

@Override
public boolean isUpdateable() {
  // if the property mapping consists of all formulas,
  // make it non-updateable
  return updateable && !ArrayHelper.isAllFalse( value.getColumnUpdateability() );
}
origin: org.hibernate/com.springsource.org.hibernate.core

public boolean isInsertable() {
  // if the property mapping consists of all formulas, 
  // make it non-insertable
  final boolean[] columnInsertability = value.getColumnInsertability();
  return insertable && (
      columnInsertability.length==0 ||
      !ArrayHelper.isAllFalse( columnInsertability )
    );
}
origin: org.hibernate/com.springsource.org.hibernate

public boolean isUpdateable() {
  // if the property mapping consists of all formulas,
  // make it non-updateable
  return updateable && !ArrayHelper.isAllFalse( value.getColumnUpdateability() );
}
origin: org.hibernate/com.springsource.org.hibernate

public boolean isInsertable() {
  // if the property mapping consists of all formulas, 
  // make it non-insertable
  final boolean[] columnInsertability = value.getColumnInsertability();
  return insertable && (
      columnInsertability.length==0 ||
      !ArrayHelper.isAllFalse( columnInsertability )
    );
}
origin: org.hibernate.orm/hibernate-core

@Override
public boolean isInsertable() {
  // if the property mapping consists of all formulas,
  // make it non-insertable
  final boolean[] columnInsertability = value.getColumnInsertability();
  return insertable && (
      columnInsertability.length==0 ||
      !ArrayHelper.isAllFalse( columnInsertability )
    );
}
origin: hibernate/hibernate-ogm

@Override
protected int doUpdateRows(Serializable key, PersistentCollection collection, SharedSessionContractImplementor session)
    throws HibernateException {
  if ( ArrayHelper.isAllFalse( elementColumnIsSettable ) ) {
    return 0;
origin: org.hibernate/com.springsource.org.hibernate

  throws HibernateException {
if ( ArrayHelper.isAllFalse(elementColumnIsSettable) ) return 0;
origin: org.hibernate/com.springsource.org.hibernate.core

  throws HibernateException {
if ( ArrayHelper.isAllFalse(elementColumnIsSettable) ) return 0;
org.hibernate.internal.util.collectionsArrayHelperisAllFalse

Popular methods of ArrayHelper

  • fillArray
  • countTrue
  • join
  • getBatchSizes
  • getNextBatchSize
  • hash
    calculate the array hash (only the first level)
  • indexOf
  • toIntArray
  • toString
  • toStringArray
  • addAll
  • countNonNull
  • addAll,
  • countNonNull,
  • isAllNegative,
  • slice,
  • to2DIntArray,
  • to2DStringArray,
  • toBooleanArray,
  • toList,
  • toTypeArray

Popular in Java

  • Making http post requests using okhttp
  • onCreateOptionsMenu (Activity)
  • getContentResolver (Context)
  • runOnUiThread (Activity)
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • ImageIO (javax.imageio)
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Top Vim plugins
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