Code examples for Column

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.
54:	assertTrue(keyCol.isUnique() ); 
-
56:	assertSame(keyCol, table.getColumn(keyCol) ); 
Full Snippet Info
7
CodeRank
80:	assertSame(fk.getColumn(0), child.getColumn(new Column(identifier("masterref") ) ) ); 
Full Snippet Info
7
CodeRank
76:	Column nameCol = table.getColumn( new Column( identifier( "name" ) ) ); 
Full Snippet Info
7
CodeRank
76:	Column nameCol = table.getColumn( new Column( identifier( "name" ) ) ); 
Full Snippet Info
7
CodeRank
435:	annotations.append( "@" + importType("javax.persistence.Column") + "(name=\"" ).append( column.getName() ).append( "\"" ); 
-
439:	if (column.getPrecision() != Column.DEFAULT_PRECISION) { // the default is actually 0 in spec 
440:	annotations.append( ", precision=" ).append( column.getPrecision() ); 
-
442:	if (column.getScale() != Column.DEFAULT_SCALE) { // default is actually 0 in spec 
443:	annotations.append( ", scale=" ).append( column.getScale() ); 
-
445:	else if (column.getLength() != 255){ 
446:	annotations.append( ", length=" ).append( column.getLength() ); 
-
458:	if(column.isUnique()) { 
459:	annotations.append( ", unique=" ).append( column.isUnique() ); 
-
461:	if(!column.isNullable()) { 
462:	annotations.append( ", nullable=" ).append( column.isNullable() ); 
-
473:	String sqlType = column.getSqlType(); 
Full Snippet Info
6
CodeRank
81:	Column nameCol = table.getColumn( new Column( identifier( "name" ) ) ); 
Full Snippet Info
7
CodeRank
30:	Column column = new Column(); 
-
33:	column.setValue(sv); 
Full Snippet Info
6
CodeRank
60:	assertEquals(second.getSqlType(), "int"); 
Full Snippet Info
5
CodeRank
52:	assertEquals( zipColumn.getLength(), 5 ); 
53:	assertFalse( zipColumn.isNullable() ); 
Full Snippet Info
5
CodeRank
329:	Column column = persistentClass.getTable().getColumn(new Column(propertyName)); 
Full Snippet Info
5
CodeRank
66:	assertEquals( "CN_specified_column", stateColumn.getName() ); 
Full Snippet Info
5
CodeRank
97:	assertFalse( "DDL constraints are not applied", countryColumn.isNullable() ); 
Full Snippet Info
4
CodeRank
67:	assertTrue( "DDL constraints are applied", countryColumn.isNullable() ); 
Full Snippet Info
4
CodeRank
200:	log.debug("Foreign key " + fkName + " references unknown or filtered table " + Table.qualify(fkCatalog, fkSchema, fkTableName) ); 
-
202:	} else { 
-
845:	Column column = new Column(); 
846:	column.setName(quote(columnName)); 
Full Snippet Info
4
CodeRank
217:	column.setComment(referClass.getTable().getComment() + " ID"); 
Full Snippet Info
4
CodeRank