@@ -0,0 +1,1094 @@
+package com.vladmihalcea.book.hpjp.hibernate.identifier;%0A%0Aimport org.hibernate.cfg.AvailableSettings;%0Aimport org.junit.Test;%0A%0Aimport javax.persistence.*;%0Aimport java.util.Properties;%0A%0Apublic class PreferredPooledLoSequenceIdentifierTest extends AbstractPooledSequenceIdentifierTest %7B%0A%0A    @Override%0A    protected Class%3C?%3E%5B%5D entities() %7B%0A        return new Class%3C?%3E%5B%5D %7B%0A                Post.class%0A        %7D;%0A    %7D%0A%0A    @Override%0A    protected void additionalProperties(Properties properties) %7B%0A        properties.put(AvailableSettings.PREFERRED_POOLED_OPTIMIZER, %22pooled-lo%22);%0A    %7D%0A%0A    @Override%0A    protected Object newEntityInstance() %7B%0A        return new Post();%0A    %7D%0A%0A    @Test%0A    public void testOptimizer() %7B%0A        insertSequences();%0A    %7D%0A%0A    @Entity(name = %22Post%22)%0A    public static class Post %7B%0A%0A        @Id%0A        @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = %22post_sequence%22)%0A        @SequenceGenerator(%0A            name = %22post_sequence%22,%0A            sequenceName = %22post_sequence%22,%0A            allocationSize = 3%0A        )%0A        private Long id;%0A    %7D%0A%7D%0A

Add test case for setting the preferred pooled optimizer strategy