Hi,

is there a way to overrride the convention of jpa column-naming for
embeddables?

For example:
@Entity class ClassA {
  private String name;
  private ClassB b;
}

@Embeddable class ClassB {
  private String name;
}

This would ideally result in a column named "b_name" therefore no clashing
of names ;-)

I'm aware of @AttributeOverrides, I am looking for a more general solution.

-- Frank


-- 
View this message in context: 
http://n2.nabble.com/Naming-strategy-of-embeddable-tp3681193p3681193.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to