Code examples for PersistentClass

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.
96:	assertNotNull(employee.getProperty("worksOns")); 
97:	assertNotNull("property should be renamed by reveng.xml", employee.getProperty("manager")); 
-
99:	Property setProperty = employee.getProperty("managedProjects"); 
-
104:	assertEquals(4, employee.getPropertyClosureSpan()); 
105:	assertEquals("id", employee.getIdentifierProperty().getName()); 
-
217:	employee.getProperty(name); 
Full Snippet Info
7
CodeRank
32:	this.nodeName =pc.getNodeName(); 
33:	this.entityName =pc.getEntityName(); 
Full Snippet Info
7
CodeRank
83:	return new IdentifierProperty( 
84:	type, 
85:	mappedEntity.hasEmbeddedIdentifier(), 
-
96:	mappedEntity.hasEmbeddedIdentifier(), 
-
105:	* 
Full Snippet Info
6
CodeRank
126:	MetaAttribute metaAttribute = cm.getMetaAttribute( "globalmutated" ); 
-
133:	Property property = cm.getProperty( "component" ); 
-
153:	property = cm.getProperty( "sortedEmployee" ); 
-
162:	property = cm.getProperty( "anotherSet" ); 
Full Snippet Info
6
CodeRank
126:	assertNotNull(pc); 
127:	Property prop = pc.getProperty("data"); 
Full Snippet Info
6
CodeRank
79:	final Class javaType = persistentClass.getMappedClass(); 
80:	context.pushEntityWorkedOn(persistentClass); 
81:	final MappedSuperclass superMappedSuperclass = persistentClass.getSuperMappedSuperclass(); 
-
87:	final PersistentClass superPersistentClass = persistentClass.getSuperclass(); 
-
95:	persistentClass.getJpaEntityName(), 
96:	persistentClass.hasIdentifierProperty(), 
97:	persistentClass.isVersioned() 
-
99:	context.registerEntityType( persistentClass, entityType ); 
100:	context.popEntityWorkedOn(persistentClass); 
Full Snippet Info
6
CodeRank
90:	Property id_prop = pc.getIdentifierProperty(); 
91:	Component id_mapper = pc.getIdentifierMapper(); 
-
102:	mapper = new MultipleIdMapper(((Component) pc.getIdentifier()).getComponentClassName()); 
Full Snippet Info
5
CodeRank
44:	assertEquals( "Incorrect Persister class for " + persistentClass.getMappedClass(), EntityPersister.class, 
45:	persistentClass.getEntityPersisterClass() ); 
Full Snippet Info
5
CodeRank
47:	PersistentClass superclass = pc.getSuperclass(); 
-
53:	Subclass subclass = (Subclass) superclass.getSubclassIterator().next(); 
Full Snippet Info
5
CodeRank
168:	return element.getClassName().replace('.', '/') + ".hbm.xml"; 
Full Snippet Info
5
CodeRank
131:	return create( persisterClass, ENTITY_PERSISTER_CONSTRUCTOR_ARGS, metadata, cacheAccessStrategy, factory, cfg ); 
-
133:	 
Full Snippet Info
5
CodeRank
64:	String path, 
Full Snippet Info
4
CodeRank
21:	return new DynamicInstantiator( persistentClass.getEntityName() ); 
Full Snippet Info
5
CodeRank
46:	return pc.getEntityName(); 
Full Snippet Info
4
CodeRank
329:	Column column = persistentClass.getTable().getColumn(new Column(propertyName)); 
-
334:	property = persistentClass.getProperty(propertyName); 
Full Snippet Info
5
CodeRank