Actual running code
Actual test
addRanking() method
Annotations
Hibernate mappings
Hibernate-specific persistence annotations
Hibernate XML Configuration file
JPA 2 persistence
API
Artificial identifier
AuditQuery
AuditReader
AuditReaderFactory
Automatic resource management (ARM)
B
@Basic annotation
@BeforeSuite method
CacheMode setting
CacheProvider interface
chapter10.QueryTest
@Column annotation
count(…) method
Criteria API
pagination
projections
restrictions
ne() method
or() method
setMaxResults() method
sorting
uniqueResult() method
Criteria Query API
CriteriaQuery.orderBy() method
Detached objects
@DiscriminatorColumn annotation
doWithEntityManager() method
@ElementCollection annotation
Email code
Entities
associations
bidirectional
corrected Email class
corrected message class
Email class
mappingBy attribute
Message class
misleading behavior
owner
relationship management
types
delete() method
loading
basic load() methods
get() methods
getEntityName() method
lock mode
Supplier ID
mappings
merging
refresh() methods
save method
entityName argument
object updation
Session interface
simple object
testSaveLoad() method
testSavingEntitiesTwice() method
updation
@Entity annotation
Envers information
equals() method
Filters
activating filters
advantage of
annotations
application
combining filters
custom queries
definition
@ElementCollection
FilterTests.java
Lombok
non-parameterized filter
parameter
wildcard query
XML mapping documents
findPerson() method
flush() method
@GeneratedValue annotation
getRankingFor() method
getReference()
getSession() method
getSingleResult() method
Hibernate
API
JDBC
mappings
message object
ORM
persistence solution
POJOs
Hibernate approach
Hibernate binary download
hibernate.cache.provider_class property
Hibernate envers
Hibernate mappings
Hibernate Query Language (HQL)
aggregate methods
alias
associations
basic syntax
ANTLR grammar
DELETE
INSERT
SELECT
UPDATE
bulk deletes
bulk updates
commenting SQL
definition
executeUpdate() method
from clause
JMX MBean
logging the SQL
named parameters
named queries
class-level annotations
createQuery() method
Basic Product entity
Software entity
Supplier entity
test method
native SQL
pagination
query’s expressions
select clause and projection
sorting
uniqueResult() method
Hibernate Search
Hibernate-specific persistence annotations
@Immutable annotation
natural ID
HIB_SEQ
HQL statement
@Id annotation
@Immutable annotation
Install Maven
Assert.fail()
@BeforeSuite method
child projects
dialect
PersistenceTest.java
pom.xml file
project object model
SessionFactory
@Test
UNIX users
Integration and configuration
C3P0
concept
database driver and libraries
Install Maven
Java application
JDBC connection management
JNDI
Isolation levels
J2EE Connector Architecture (JCA)
Java application
JavaBean
Java class
Java Database Connectivity (JDBC)
approach
code
connections
Java Management Extensions (JMX)
Java Naming and Directory Interface (JNDI)
Java objects
Java persistence architecture (JPA)
data validation
@AllArgsConstructor annotation
Bean Validation specification
class-level annotation
coordinate validation test
hibernate validator
implementation
persist() method
SimpleValidatedPerson entity
testing
validator API
external entity listeners
JPASessionUtil class
lifecycle events
lifecycle phases
lifecycle test driver
LifecycleThing
project object model
query mechanism
testing JPASessionUtil
EntityManager.remove()
Lombok-annotated Entity
testSession() method
Java Persistence Query Language (JPQL)
join() method
JPA 2 persistence annotations
@Basic annotation
Book class, unannotated
@Column annotation
compound primary keys
DDL
@Embeddable annotations
@EmbeddedId Annotation
@Id annotation
@IdClass annotation
element collections
@Entity annotation
inheritance
joined table
single table
table-per-class approach
@Lob annotation
many-to-many association
@MappedSuperclass
one-to-one association
cascading operations
conventional
@Embedded annotation
@OrderColumn annotation
@OrderColumn
@NamedNativeQuery annotation
@NamedQueries
primary keys
@GeneratedValue annotation
@Id annotation
property access
@SequenceGenerator
@TableGenerator
@SecondaryTable annotation
@Table annotation
temporal data
@Transient annotation
Life cycle
cascading operations
configuration option
JPA
library object
orphan removal
Failed save()
detached objects
entities
identifiers
artificial
columns
@Id annotation
natural
lazy loading
object equality and identity
persistent objects
querying objects
removed objects
transient objects
@Lob annotation
LockMode object
Lucene directory
@MappedSuperclass
Mapping
associations
entity relationship
many-to-many association
many-to-one association
one-to-many association
one-to-one association
public customer
column types and sizes
Email object acquiring
inheritance relationships
lazy loading
data subset selection
userId and username
mandatory and unique constraints
object-oriented association
primary keys
ambiguous table updation
row identification
string object
User and Usernumber
relational association
SQL formula–based properties
user class
customer and Email classes
customer and Email table
password field
tool design
Maven
Maven projects
Message code
Misleading behavior
MongoDB
@NamedNativeQuery annotation
@NamedQuery annotations
NoSQL datastores
BaseOGMTest.java Skeleton
flexible data
Hibernate Search
HQL query
@Indexed and @Field
InfinispanTest.java
Lucene directory
mongodb
object model
OGM Project’s pom.xml
persistence.xml file
removing entities
scalability
testCR method
testing updates
“Where Clause” statement
Object/relational mapping (ORM)
@OrderColumn annotation
Optimistic locking
org.hibernate.Filter interface
Parent project’s configuration file
PersistenceTest.java
Pessimistic locking
Plain old Java objects (POJOs)
Hibernate, role of
mapping annotations
Rose-Tinted View
pom.xml
Project object model
Querying audited data
Ranking class
Ranking
addition
getRankingFor() method
internal method
public and private mechanisms
RankingService Interface
test
average
findings
control-break mechanism
highest ranked subject
service methods
test code
removal
updation
service’s code
tests
RankingService Interface
Removed object
revertToRevision() method
@SecondaryTable annotation
select() method
seq1
@SequenceGenerator
Sequence mechanism
SessionFactory objects
Session object
caching
CacheMode options
database server
implementations
L1 and L2 cache
properties
supplier entity
usage
deadlocks
hibernate method
JDBC approach
locking
SessionFactory objects
threads
transactions
ACID tests
database and manipulate
dirty read
JDBC isolation levels
nonrepeatable read
phantom read
setCacheMode() method
setFirstResult() method
setMaxResults
setParameter() method
Simple application
data reading
findPerson() method
“name” attribute
person instance
ranking instance
ranking object
ranking operation testing
data removing
data updation
data writing
data model
object finding
person entity
person object
query mechanism
entities
persistence contexts
ranking
data reading and writing
entity relationship diagram
ignore simple mutators
JavaBean
person’s skill
transactions
writing
application server
object model
ranking
ranking
session retrieving
SessionUtil Class test
user interactions
SQL access
@Table annotation
@TableGenerator
Table mechanism
@Transient annotation
Transient objects
uniqueResult() method
UNIX
updateUser() test
XML mapping documents