Best code examples for Hibernate ORM ProjectionList class (org.hibernate.criterion.ProjectionList)

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

Hibernate ORM ProjectionList examples from Open Source projects
This code example shows how to use the following methods: add
45:	fields.add(getColumn("id")); 
46:	fields.add(getColumn("description")); 
47:	fields.add(getColumn("name")); 
48:	fields.add(getColumn("shortName")); 
49:	fields.add(Projections.property("publicGroup").as("isPublic")); 
50:	fields.add(getColumn("updatesCount")); 
51:	fields.add(getColumn("followersCount")); 
52:	fields.add(getColumn("dateAdded")); 
53:	fields.add(getColumn("avatarId")); 
54:	fields.add(getColumn("avatarCropSize")); 
55:	fields.add(getColumn("avatarCropX")); 
56:	fields.add(getColumn("avatarCropY")); 
57:	fields.add(getColumn("bannerId")); 
58:	fields.add(getColumn("overview")); 
59:	fields.add(getColumn("commentable")); 
60:	fields.add(getColumn("streamPostable")); 
61:	fields.add(getColumn("url")); 
62:	fields.add(getColumn("stickyActivityId")); 
63:	fields.add(Projections.property("cb.accountId").as("personCreatedByAccountId")); 
64:	fields.add(Projections.property("cb.displayName").as("personCreatedByDisplayName")); 
65:	fields.add(Projections.property("cb.companyName").as("personCreatedByCompanyName")); 
66:	fields.add(Projections.property("stream.id").as("streamId")); 
67:	criteria.setProjection(fields); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: add
44:	fields.add(getColumn("id")); 
45:	fields.add(getColumn("dateAdded")); 
46:	fields.add(getColumn("accountId")); 
47:	fields.add(getColumn("openSocialId")); 
48:	fields.add(getColumn("avatarId")); 
49:	fields.add(getColumn("avatarCropX")); 
50:	fields.add(getColumn("avatarCropY")); 
51:	fields.add(getColumn("avatarCropSize")); 
52:	fields.add(getColumn("lastName")); 
53:	fields.add(getColumn("displayNameSuffix")); 
54:	fields.add(getColumn("displayName")); 
55:	fields.add(getColumn("preferredName")); 
56:	fields.add(getColumn("jobDescription")); 
57:	fields.add(getColumn("title")); 
58:	fields.add(getColumn("overview")); 
59:	fields.add(getColumn("followersCount")); 
60:	fields.add(getColumn("followingCount")); 
61:	fields.add(getColumn("groupsCount")); 
62:	fields.add(getColumn("optOutVideoIds")); 
63:	fields.add(getColumn("updatesCount")); 
64:	fields.add(getColumn("email")); 
65:	fields.add(getColumn("commentable")); 
66:	fields.add(getColumn("companyName")); 
67:	fields.add(getColumn("streamPostable")); 
68:	fields.add(getColumn("additionalProperties")); 
69:	fields.add(getColumn("groupStreamHiddenLineIndex")); 
70:	fields.add(getColumn("lastAcceptedTermsOfService")); 
71:	fields.add(getColumn("accountLocked")); 
72:	fields.add(getColumn("accountDeactivated")); 
73:	fields.add(getColumn("workPhone")); 
74:	fields.add(getColumn("cellPhone")); 
75:	fields.add(getColumn("fax")); 
76:	fields.add(Projections.property("streamViewHiddenLineIndex").as("compositeStreamHiddenLineIndex")); 
77:	fields.add(Projections.property("stream.id").as("streamId")); 
78:	criteria.setProjection(fields); 
-
100:	} 
Full Snippet Info
7
CodeRank