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

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

Hibernate ORM RootClass examples from Open Source projects
This code example shows how to use the following methods: setClassName, setMetaAttributes
256:	PersistentClass base = new RootClass(); 
257:	base.setClassName( "Base" ); 
-
262:	assertEquals( null, c2j.getPOJOClass(base).getExtends() ); 
-
281:	base.setMetaAttributes( m ); 
282:	assertEquals( "intf,java.io.Serializable", c2j.getPOJOClass(base).getImplements() ); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: setIdentifierProperty
62:	RootClass persistentClass = new RootClass(); 
-
65:	persistentClass.setIdentifierProperty(idProperty); 
-
68:	HibernateEntityValueEncoder<SampleEntity> encoder = new HibernateEntityValueEncoder<SampleEntity>( 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods:
24:	PersistentClass pc = new RootClass(); 
25:	assertTrue(c2h.needsTable(pc)); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: isDiscriminatorInsertable, isForceDiscriminator
56:	assertTrue( "Discriminator should be forced", root.isForceDiscriminator() ); 
57:	assertFalse( "Discriminator should not be insertable", root.isDiscriminatorInsertable() ); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods:
70:	RootClass rootClass = new RootClass(); 
71:	assertThat( resolver.getEntityPersisterClass( rootClass ) ).isEqualTo( SingleTableOgmEntityPersister.class ); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: getClassName, getTable
71:	addTableRule( mapping.getTable().getName(), mapping.getClassName() ); 
Full Snippet Info
3
CodeRank