Code examples for RootClass

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.
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
62:	RootClass persistentClass = new RootClass(); 
-
65:	persistentClass.setIdentifierProperty(idProperty); 
-
68:	HibernateEntityValueEncoder<SampleEntity> encoder = new HibernateEntityValueEncoder<SampleEntity>( 
Full Snippet Info
6
CodeRank
24:	PersistentClass pc = new RootClass(); 
25:	assertTrue(c2h.needsTable(pc)); 
Full Snippet Info
6
CodeRank
56:	assertTrue( "Discriminator should be forced", root.isForceDiscriminator() ); 
57:	assertFalse( "Discriminator should not be insertable", root.isDiscriminatorInsertable() ); 
Full Snippet Info
5
CodeRank
70:	RootClass rootClass = new RootClass(); 
71:	assertThat( resolver.getEntityPersisterClass( rootClass ) ).isEqualTo( SingleTableOgmEntityPersister.class ); 
Full Snippet Info
4
CodeRank
71:	addTableRule( mapping.getTable().getName(), mapping.getClassName() ); 
Full Snippet Info
3
CodeRank