Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dali » Entity Bean Generation from Postgres 8.4 database
Entity Bean Generation from Postgres 8.4 database [message #831186] Wed, 28 March 2012 11:28 Go to previous message
shalin lazar is currently offline shalin lazar
Messages: 18
Registered: February 2012
Junior Member
Hi all,

I've posted elsewhere on the boards, and a kind individual has directed me here. I built a PostgreSQL 8.4 database, but am having problems generating the Entity Beans via JPA's generation tool.I was informed that this wasn't an issue with EclipseLink, so here I am.

Basically I have two problems:

1) Not all Entity Beans are generated (database has around 250 tables).
2) I'm getting various association 'naming' errors.

Basically, I didn't name my foreign key columns <foreignTableName>_<foreignTableColumnName>. Is there any way around this issue (not considering going through all the tables and renaming columns)? And if that is the only option, what would I do if I have two columns referencing the same column on the same table?

Eg. accountTransactCenter.accountId -> account.id and accountTransactCenter.contraAccountId -> account.id

I would really appreciate any help. If you need more information, please let me know.

Thanks and best regards.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Bug or a feature? @Column annotation is not always generated.
Next Topic:validation error
Goto Forum:
  


Current Time: Sat May 25 21:26:03 EDT 2013

Powered by FUDForum. Page generated in 0.01628 seconds