Over a million developers have joined DZone.

How to Optimize Hibernate ElementCollection Statements

DZone's Guide to

How to Optimize Hibernate ElementCollection Statements

Both basic types and Embeddables in Hiberate can be associated to an Entity through the @ElementCollection, in a one-Entity-many-non-Entity relationship.

· Database Zone ·
Free Resource

RavenDB vs MongoDB: Which is Better? This White Paper compares the two leading NoSQL Document Databases on 9 features to find out which is the best solution for your next project.  

Get comfortable using NoSQL in a free, self-directed learning course provided by RavenDB. Learn to create fully-functional real-world programs on NoSQL Databases. Register today.

sql ,hibernate ,elementcollection

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}