Search:

Type: Posts; User: donlyon; Keyword(s):

Search: Search took 0.02 seconds.

  1. Forming a QueryDSL Predicate through a OneToMany join

    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>...
  2. Replies
    4
    Views
    1,150

    Version Field Override

    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...
  3. JBoss changes

    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>...
  4. Replies
    1
    Views
    572

    Any ideas on how to best implement something like...

    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...
  5. Replies
    1
    Views
    572

    Enums with parameters

    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...
Results 1 to 5 of 5