Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » EclipseLink Create-Or-Extend-Tables Foreign Key already exists(Re-creation of foreign Key not supported)
EclipseLink Create-Or-Extend-Tables Foreign Key already exists [message #1801113] Mon, 14 January 2019 07:25
Andreas B is currently offline Andreas BFriend
Messages: 2
Registered: January 2019
Junior Member
I use eclipselink as JPA provider with the option
<property name="eclipselink.ddl-generation" value="create-or-extend-tables" />


Whenever I start my application for the first time, all the required tables and foreign keys will be generated as expected. But, for the second time the check / re-creation of the foreign key failed with the message "FK ... already exists".

The configuration of the different log levels did not solve the issue for me, as suggested within other posts. The failure message interrupts my deployment process and my application container will not start.

Is there any additional configuration parameter to disable this exception message?

I'm using eclipse link in the latest version 2.7.3.v20180807-4be1041 with a postgreSQL database (for testing all permissions for my test users allowed).

Thanks,
Andreas
Previous Topic:what really means weave and why is important
Next Topic:Deadlocks since activation of Shared Cache
Goto Forum:
  


Current Time: Sun Aug 25 11:24:03 GMT 2019

Powered by FUDForum. Page generated in 0.01442 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top