unique « MySQL « JPA Q&A





1. Need to put @Index even when I marked with @Column(unique=true)?    stackoverflow.com

Need to put @Index even when I marked with @Column(unique=true) ? I have a property that will be used frequently to retrieve the entity and wanted to make it an index column ...

2. how to pull unique results    stackoverflow.com

im looking for query to load and group the data i do have 1:n relationship of Parent:Child and i want to pull latest child,instead of children, of a parent that means each ...