Install any skill in seconds. Free to start, no credit card required.
Get Started Free →vibeeval/jpa-patterns
JPA/Hibernate patterns for entity design, relationships, query optimization, transactions, auditing, indexing, pagination, and pooling in Spring Boot.
Passed 19 of 22 test cases with the skill, and 18 of 22 without it.
1 fixed18 passed either way3 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
A test case the skill fixed. Same model, same prompt, with and without the skill.
We are setting up production database configurations and testing patterns for a Spring Boot app using PostgreSQL. Please provide recommended HikariCP properties for application.properties and write a Spring Data JPA test class that turns on detailed SQL query and parameter logging.
| Checked | Without skill | With skill |
|---|---|---|
| Specifies maximum-pool-size as 20 | Missed | Passed |
| Configures connection-timeout as 30000 | Passed | Passed |
| Includes validation-timeout set to 5000 | Missed | Passed |
| Includes hibernate.jdbc.lob.non_contextual_creation set to true | Missed | Passed |
| Sets org.hibernate.SQL logging level to DEBUG | Passed | Passed |
| Sets org.hibernate.orm.jdbc.bind logging level to TRACE | Passed | Passed |
The instructions your model reads when the skill loads.
Use for data modeling, repositories, and performance tuning in Spring Boot.
@Entity
@Table(name = "markets", indexes = {
@Index(name = "idx_markets_slug", columnList = "slug", unique = true)
})
@EntityListeners(AuditingEntityListener.class)
public class MarketEntity {
@Id @GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
@Column(nullable = false, length = 200)
private String name;
@Column(nullable = false, unique = true, length = 120)
private String slug;
@Enumerated(EnumType.STRING)
private MarketStatus status = MarketStatus.ACTIVE;
@CreatedDate private Instant createdAt;
@LastModifiedDate private Instant updatedAt;
}
Enable auditing:
@Configuration
@EnableJpaAuditing
class JpaConfig {}
test cases passed, vs 18 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.