I'm having difficulty determining the right way to write a Predicate with QueryDSL and Spring Data JPA.
Take the following Data model:
public class Company {
@OneToMany
private Set<Employee>...
Type: Posts; User: donlyon; Keyword(s):
I'm having difficulty determining the right way to write a Predicate with QueryDSL and Spring Data JPA.
Take the following Data model:
public class Company {
@OneToMany
private Set<Employee>...
The default name for the version field, "version", conflicts with Oracle's reserved word list. In most cases this is ok, but we use Oracle's Workspace Manager for auditing, and it refuses to work if...
I added the following profile to my pom for when I wanted to deploy on JBoss. I'm using JBoss6 M5, but it's probably similar for JBoss 5.
<profile>
<id>jboss6</id>
<dependencies>...
Any ideas on how to best implement something like this?
One approach I tried was to create a new plugin that allowed params to be passed into the enum constructor. That works. However, creating...
For mapping enums to the database, I'm not satisfied with the JPA options. Saving the ordinal value seems like a bad idea, and the string value only slightly better. Unfortunately, since JPA2...