I've opened a JIRA to fix the database naming.
https://issues.apache.org/jira/browse/IMAP-228

I wonder if we could have the tables/columns names defined in persistence.xml while leaving the rest (queries,...) in classes annotations ?

Tks,

Eric

On 16/11/2010 06:49, Eric Charles wrote:
Hi Mohammad,

The tables are created via JPA with domain classes in
https://svn.apache.org/repos/asf/james/imap/trunk/jpa/src/main/java/org/apache/james/mailbox/jpa/mail/model

The tables and columns names should be defined in those classes with JPA annotations.

Tks,

Eric


On 15/11/2010 19:38, Mohammad Naghavi wrote:
Hi again,
I'm in a situation that want to append some prefixes to table names of james but as sqlResources file is deprecated I didn't find any other place that I
can modify sql queries used. are they in code or are configurable?

thanks,
MN
________________________________________
PHP&  ASP .Net 3.5 web developer
Java&  C# desktop developer
www.mohamnag.com



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to