Reveng does not use @UniqueConstraint-Name for constraint-creation

Description

Similar to i need the correct constraint name. This is my source:

This is what reveng generates me:

As you see, the constraint-name in the Entity (ORDER_KEY) differs from the constraint-name of the table (MENUPOINT_order_key).

Why is this important?

I need to swap the "order" in a transaction. Therefore i make the constraint deferrable and deferre them in the Transaction using:

I hardly know that jpa/hibernate does not support deferrable constraints but this is not a feature-request for supporting deferrables, its a bug-report for a wrong creation of the database.

Environment

None

Activity

Show:

Koen AersDecember 12, 2024 at 9:56 AM

Maybe I am a bot, but then you too because you also post twice the same comments…

This is an open source project, it can live only by the grace of contributions of the users. If this request is really very important to you (even after lingering around for 8 years) than you can do the effort of contributing a solution (from which all the other users can benefit). If that’s not possible, than the issue is probably not too important and it can be closed.

And now I am going to post the same comment in .

Grim OireDecember 11, 2024 at 3:39 PM

I think you are a bot because you posted the same comments at .

You request to fix the project-owners bugs? Is he not honest enougth to fix his bugs by himself?

Koen AersDecember 11, 2024 at 2:02 PM

I have reopened this issue as you requested. So if you care about a solution, it’s up to you to contribute.

Grim OireDecember 11, 2024 at 1:56 PM

You already marked this bug as done. Why should I do that?

Koen AersDecember 11, 2024 at 1:25 PM

Can you please provide a pull request against the main branch with a failing test case that shows the issue you want to have fixed and accompany it with the fix.

Details

Assignee

Reporter

Bug Testcase Reminder (view)

Bug reports should generally be accompanied by a test case!

Bug Testcase Reminder (edit)

Bug reports should generally be accompanied by a test case!

Participants

Grim Oire
Koen Aers

Components

Fix versions

Affects versions

Priority

Created May 10, 2016 at 3:46 PM
Updated December 12, 2024 at 1:12 PM