Tabnine Logo
SQLDataService.getSQLDataValidator
Code IndexAdd Tabnine to your IDE (free)

How to use
getSQLDataValidator
method
in
org.eclipse.datatools.sqltools.core.services.SQLDataService

Best Java code snippets using org.eclipse.datatools.sqltools.core.services.SQLDataService.getSQLDataValidator (Showing top 3 results out of 315)

origin: org.eclipse/org.eclipse.datatools.sqltools.editor.core

/**
 * Return a special SQLDataValidator to verify user's input value
 * 
 * @param profileName
 * @return
 */
public static ISqlDataValidator getSQLDataValidator(DatabaseIdentifier databaseIdentifier)
{
  SQLDataService s = getSQLDataService(databaseIdentifier, null);
  if (s != null)
  {
    return s.getSQLDataValidator(databaseIdentifier);
  }
  return null;
}
origin: org.eclipse/org.eclipse.datatools.sqltools.editor.core

try
  ISqlDataValidator validator = SQLToolsFacade.getConfiguration(null, _pd.getDatabaseIdentifier()).getSQLDataService().getSQLDataValidator(_pd.getDatabaseIdentifier());
  if (validator == null)
origin: org.eclipse/org.eclipse.datatools.sqltools.routineeditor

try 
  ISqlDataValidator validator = SQLToolsFacade.getConfiguration(null, getDatabaseIdentifier()).getSQLDataService().getSQLDataValidator(getDatabaseIdentifier());
  v = validator.convert(pws[i].getParameterDescriptor().getTypeName(), value, getDatabaseIdentifier().getProfileName(), getDatabaseIdentifier().getDBname());
org.eclipse.datatools.sqltools.core.servicesSQLDataServicegetSQLDataValidator

Javadoc

Returns a ISqlDataValidator object which is used to validate data types and values for a database

Popular methods of SQLDataService

  • <init>
  • getDataTypeProvider
    Returns the data type provider for this database

Popular in Java

  • Reading from database using SQL prepared statement
  • startActivity (Activity)
  • setScale (BigDecimal)
  • setRequestProperty (URLConnection)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • JButton (javax.swing)
  • Best IntelliJ 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