cancel
Showing results for 
Search instead for 
Did you mean: 

generation of dependent classes DDL

Former Member
0 Kudos

Hello

I have project which is dependent of some other project, which serves EJB services for database operations. Classes which are used in EJB are JPA entities. And when I use thiose classes in my main project DDL generation creates project's tables + theese dependent ones. How to get rid of them? Some dependency is wrong set?

TIA

Regards

Maciej Gottfried

Accepted Solutions (1)

Accepted Solutions (1)

lbreddemann
Active Contributor
0 Kudos

> I have project which is dependent of some other project, which serves EJB services for database operations. Classes which are used in EJB are JPA entities. And when I use thiose classes in my main project DDL generation creates project's tables + theese dependent ones. How to get rid of them? Some dependency is wrong set?

Hi Maciej,

sorry but there is nothing the database can do about this.

The dependencies between your classes are defined on application level and not on db-level.

Therefore you'll either have to figure out how to re-configure the oo-relational-mapper of your application server (so that it stops creating these dependend tables) or you've to manually remove them from the database after the generation.

regards,

Lars

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks a lot

Regards

Maciej