Code examples for LockMode

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
57:	registerColumnType( Types.DATE, "date" ); 
58:	registerColumnType( Types.TIME, "time" ); 
59:	registerColumnType( Types.TIMESTAMP, "timestamp" ); 
-
71:	 
-
73:	return false; 
74:	} 
Full Snippet Info
6
CodeRank
57:	 
58:	registerColumnType( Types.BIT, "bit" ); 
59:	registerColumnType( Types.BIGINT, "longint" ); 
-
71:	registerColumnType( Types.NUMERIC, "numeric($p,$s)" ); 
-
73:	registerColumnType( Types.CLOB, "clob" ); 
74:	} 
Full Snippet Info
6
CodeRank
57:	registerColumnType( Types.VARCHAR, "varchar($l)" ); 
58:	registerColumnType( Types.FLOAT, "float" ); 
59:	registerColumnType( Types.DOUBLE, "double" ); 
-
71:	registerFunction( "abs", new StandardSQLFunction("abs") ); 
-
73:	registerFunction( "round", new StandardSQLFunction( "round", StandardBasicTypes.INTEGER ) ); 
74:	registerFunction( "mod", new StandardSQLFunction( "mod", StandardBasicTypes.INTEGER ) ); 
Full Snippet Info
5
CodeRank
57:	* 
58:	* @author Sherry Listgarten and Max Andersen 
59:	*/ 
-
71:	registerColumnType( Types.FLOAT, "FLOAT" ); 
-
73:	registerColumnType( Types.DATE, "DATE" ); 
74:	registerColumnType( Types.TIME, "TIME" ); 
Full Snippet Info
5
CodeRank
57:	*/ 
58:	public class RDMSOS2200Dialect extends Dialect { 
59:	 
-
71:	* characteristics. If StandardSQLFunction(...) is used, the RDMS BIF 
-
73:	* SQLFunctionTemplate(...) is used, the return type and a template 
74:	* string is provided, plus an optional hasParenthesesIfNoArgs flag. 
Full Snippet Info
5
CodeRank
58:	if ( lockMode.lessThan( LockMode.OPTIMISTIC_FORCE_INCREMENT ) ) { 
Full Snippet Info
5
CodeRank
59:	this.lockMode = lockMode; 
Full Snippet Info
5
CodeRank
57:	if ( lockMode.lessThan( LockMode.PESSIMISTIC_READ ) ) { 
Full Snippet Info
5
CodeRank
177:	int start = -1, end = -1; 
Full Snippet Info
5
CodeRank
68:	* @return The entity name 
Full Snippet Info
4
CodeRank