openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Riou" <matthieu.r...@gmail.com>
Subject Using _attributes
Date Mon, 15 Jan 2007 16:45:07 GMT
Hi,

We're using _attributes notations for instance attributes in Ode and I've
found slight problems with it in OpenJPA. If you use this notation the
default column names chosen by OpenJPA will start with _ which forces you to
use @Column and @ElementJoinColumn (unfortunately OpenJPA specific) all over
the place to have it work on some databases (at least Derby).

I think it could be nicer and a bit easier if OpenJPA was automatically
eliminating the first _ from attribute names to build its default coumn
names, don't you think?

Thanks,

Matthieu

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message