Best code examples for Hibernate ORM Column class (org.hibernate.mapping.Column)

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Hibernate ORM Column class.
You can now enable Codota on your own code to easily search and navigate your Java codebase.

Hibernate ORM Column examples from Open Source projects
This code example shows how to use the following methods: equals, getCanonicalName, isUnique
54:	assertTrue(keyCol.isUnique() ); 
-
56:	assertSame(keyCol, table.getColumn(keyCol) ); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: equals, getCanonicalName
80:	assertSame(fk.getColumn(0), child.getColumn(new Column(identifier("masterref") ) ) ); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: equals, getCanonicalName
76:	Column nameCol = table.getColumn( new Column( identifier( "name" ) ) ); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: equals, getCanonicalName
76:	Column nameCol = table.getColumn( new Column( identifier( "name" ) ) ); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getLength, getName, getPrecision, getScale, getSqlType
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
This code example shows how to use the following methods: equals, getCanonicalName
81:	Column nameCol = table.getColumn( new Column( identifier( "name" ) ) ); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: setValue
30:	Column column = new Column(); 
-
33:	column.setValue(sv); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: equals, getCanonicalName
This code example shows how to use the following methods: getSqlType
60:	assertEquals(second.getSqlType(), "int"); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getName
This code example shows how to use the following methods: getLength, isNullable
52:	assertEquals( zipColumn.getLength(), 5 ); 
53:	assertFalse( zipColumn.isNullable() ); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods:
329:	Column column = persistentClass.getTable().getColumn(new Column(propertyName)); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getName
66:	assertEquals( "CN_specified_column", stateColumn.getName() ); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: isNullable
97:	assertFalse( "DDL constraints are not applied", countryColumn.isNullable() ); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: isNullable
67:	assertTrue( "DDL constraints are applied", countryColumn.isNullable() ); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: equals, getCanonicalName, setName
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
This code example shows how to use the following methods: setComment
217:	column.setComment(referClass.getTable().getComment() + " ID"); 
Full Snippet Info
4
CodeRank