Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Problem with circular references
Problem with circular references [message #1855325] Sat, 08 October 2022 04:07
Alexander Roytman is currently offline Alexander RoytmanFriend
Messages: 5
Registered: March 2018
Junior Member

I have issue with circular references where creating mutually referencing instances would first insert shallow record with all FK columns null and then update them to proper values. The problem is that many of my FKs are not null not to mention an extra useless update statement. My PK values are not managed by eclipeselink but set explicitly so there is no need to do it that way (flush to get PK values from sequences or identity columns) my referential integrity constraints are all deferred so I do not care much for SQL ordering.

Is there any way to tell eclipselink not to do two step persisting (insert shallow and then update FKs)?

There is a similar issue with delete. Before deleting an instance it tries to set ALL FKs in that instance table to NULL and then delete. It fails on not null columns

I would greatly appreciate if you could point me in right direction

Thank you,
Previous Topic:Customizer for VARRAY column
Next Topic:Schema changes on application upgrade
Goto Forum:

Current Time: Mon Dec 04 11:20:44 GMT 2023

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

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

Back to the top