Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » automatic persist without cascade, persist replacing entity
automatic persist without cascade, persist replacing entity [message #778454] Thu, 12 January 2012 06:37 Go to next message
Tom Eugelink is currently offline Tom Eugelink
Messages: 807
Registered: July 2009
Senior Member
I've got one of those things again, I'm not able to make heads or tails of.

I have a diamond setup:

Batchtransfer
/ \
N:1 1:N
/ \
Productionorder BatchtransferLine
\ /
1:N N:1
\ /
ProductionorderInputline

All references have CascadeType.REFRESH.

Conceptually the diamond structure comes down to this:
- Batchtransfer handles stock changes (transfering a batch from one stock to the other).
- Productionorder uses a Batchtransfer to do its stock changes, so a Productionorder has one Batchtransfer.
- Each ProductionorderInputline is linked to one BatchtransferLine in the Batchtransfer.

The situation I have is that the Productionorder already is persisted, and I am going to add an inputline.

This results in the following data:
Productionorder@79de1d&Productionordernr=1001 --> Batchtransfer@7598d7&Batchtransfernr=null -> Batchtransferline@1acd90a&Batchtransferlinenr=null
--> ProductionorderInputline@6e06d7&ProductionorderInputlinenr=null -> Batchtransferline@1acd90a&Batchtransferlinenr=null

What you see in this line is that the Productionorder got a new Batchtransfer assigned, and that Batchtransfer has a new Batchtransferline.
On the second line you see that Productionorder also has a new ProductionorderInputline and it refers to the same Batchtransferline.
This is how it should be.

Now a new transaction is started, the Productionorder is merged and a persist is called on the ProductionorderInputline (Eclipselink log below).
After this, the data looks like:
nl.reinders.bm.Productionorder@138113d&Productionordernr=1001 --> nl.reinders.bm.Batchtransfer@15ffded&Batchtransfernr=3296 -> nl.reinders.bm.Batchtransferline@17ace67&Batchtransferlinenr=8534
--> nl.reinders.bm.ProductionorderInputline@6e06d7&ProductionorderInputlinenr=1023 -> nl.reinders.bm.Batchtransferline@17ace67&Batchtransferlinenr=8534

Productionorder was merged, so I have a new instance. Correct.
ProductionorderInputline was persisted, so it is the same instance, only got a number assigned. Correct.
Batchtransfer and BatchtransferLine were persisted, but they became new instances. Incorrect?

What is strange in the first place is that Batchtransfer and BatchtransferLine were persisted. There is no cascade persist anywhere, and the application never persists them.

Eclipselog:
!!! nl.reinders.bm.Productionorder@79de1d&Productionordernr=1001 --> nl.reinders.bm.Batchtransfer@7598d7&Batchtransfernr=null -> nl.reinders.bm.Batchtransferline@1acd90a&Batchtransferlinenr=null / nl.reinders.bm.ProductionorderInputline@6e06d7&ProductionorderInputlinenr=null -> nl.reinders.bm.Batchtransferline@1acd90a&Batchtransferlinenr=null
2012-01-12 10:55:49,913 DEBUG nl.knowledgeplaza.util.jpa.EntityManagerExtender.invoke(EntityManagerExtender.java:298) #cb531c lock(java.lang.Object@e3a004, WRITE)
2012-01-12 10:55:49,913 DEBUG nl.knowledgeplaza.util.jpa.EntityManagerExtender.invoke(EntityManagerExtender.java:306) #cb531c Marking the next clear as to NOT clear the remembered entities
2012-01-12 10:55:49,913 DEBUG nl.knowledgeplaza.util.jpa.EntityManagerExtender.invoke(EntityManagerExtender.java:298) #cb531c clear()
[EL Finer]: 2012-01-12 10:55:49.913--UnitOfWork(22624361)--Thread(Thread[AWT-EventQueue-0,6,main])--initialize identitymaps
[EL Finer]: 2012-01-12 10:55:49.913--ClientSession(2001130)--Thread(Thread[AWT-EventQueue-0,6,main])--initialize identitymaps
2012-01-12 10:55:49,913 DEBUG nl.knowledgeplaza.util.jpa.EntityManagerExtender.invoke(EntityManagerExtender.java:404) #cb531c Clear without clearing the remembered entities
2012-01-12 10:55:49,929 DEBUG nl.knowledgeplaza.util.jpa.EntityManagerExtender.invoke(EntityManagerExtender.java:298) #cb531c getTransaction()
2012-01-12 10:55:49,929 DEBUG nl.knowledgeplaza.util.jpa.EntityManagerExtender.invoke(EntityManagerExtender.java:412) #cb531c Returning wrapped transaction
[EL Finer]: 2012-01-12 10:55:49.96--ServerSession(3016177)--Thread(Thread[AWT-EventQueue-0,6,main])--client acquired
2012-01-12 10:55:49,960 DEBUG nl.knowledgeplaza.util.jpa.EntityManagerExtender.invoke(EntityManagerExtender.java:298) #cb531c lock(java.lang.Object@28547e, WRITE)
2012-01-12 10:55:49,960 DEBUG nl.knowledgeplaza.util.jpa.EntityManagerExtender.invoke(EntityManagerExtender.java:321) #cb531c Execute the delayed persist actions
2012-01-12 10:55:49,960 DEBUG nl.knowledgeplaza.util.jpa.EntityManagerExtender.executeDelayedPersistActions(EntityManagerExtender.java:203) #cb531c Persisting entity: nl.reinders.bm.ProductionorderInputline@6e06d7&ProductionorderInputlinenr=null
[EL Finer]: 2012-01-12 10:55:49.96--ClientSession(12905927)--Connection(3539560)--Thread(Thread[AWT-EventQueue-0,6,main])--begin transaction
[EL Finest]: 2012-01-12 10:55:49.976--UnitOfWork(10201033)--Thread(Thread[AWT-EventQueue-0,6,main])--PERSIST operation called on: nl.reinders.bm.ProductionorderInputline@6e06d7&ProductionorderInputlinenr=null.
[EL Finer]: 2012-01-12 10:55:49.976--ClientSession(12905927)--Connection(5426636)--Thread(Thread[AWT-EventQueue-0,6,main])--begin transaction
[EL Finest]: 2012-01-12 10:55:49.976--ClientSession(12905927)--Thread(Thread[AWT-EventQueue-0,6,main])--Execute query DataModifyQuery(sql="UPDATE sequence SET seq_count = seq_count + ? WHERE seq_name = ?")
[EL Fine]: 2012-01-12 10:55:49.976--ClientSession(12905927)--Connection(5426636)--Thread(Thread[AWT-EventQueue-0,6,main])--UPDATE sequence SET seq_count = seq_count + ? WHERE seq_name = ?
bind => [1, productionorder_inputlinenr]
[EL Finest]: 2012-01-12 10:55:49.991--ClientSession(12905927)--Thread(Thread[AWT-EventQueue-0,6,main])--Execute query ValueReadQuery(sql="SELECT seq_count FROM sequence WHERE seq_name = ?")
[EL Fine]: 2012-01-12 10:55:49.991--ClientSession(12905927)--Connection(5426636)--Thread(Thread[AWT-EventQueue-0,6,main])--SELECT seq_count FROM sequence WHERE seq_name = ?
bind => [productionorder_inputlinenr]
[EL Finer]: 2012-01-12 10:55:50.022--ClientSession(12905927)--Connection(5426636)--Thread(Thread[AWT-EventQueue-0,6,main])--commit transaction
[EL Finest]: 2012-01-12 10:55:50.022--UnitOfWork(10201033)--Thread(Thread[AWT-EventQueue-0,6,main])--assign sequence to the object (1,023 -> nl.reinders.bm.ProductionorderInputline@6e06d7&ProductionorderInputlinenr=null)
2012-01-12 10:55:50,022 DEBUG nl.knowledgeplaza.util.jpa.EntityManagerExtender.invoke(EntityManagerExtender.java:323) #cb531c Execute the delayed persist actions done
!!! nl.reinders.bm.Productionorder@79de1d&Productionordernr=1001 --> nl.reinders.bm.Batchtransfer@7598d7&Batchtransfernr=null -> nl.reinders.bm.Batchtransferline@1acd90a&Batchtransferlinenr=null / nl.reinders.bm.ProductionorderInputline@6e06d7&ProductionorderInputlinenr=1023 -> nl.reinders.bm.Batchtransferline@1acd90a&Batchtransferlinenr=null
[EL Finer]: 2012-01-12 10:55:57.529--ClientSession(12905927)--Connection(5426636)--Thread(Thread[AWT-EventQueue-0,6,main])--begin transaction
[EL Finest]: 2012-01-12 10:55:57.529--ClientSession(12905927)--Thread(Thread[AWT-EventQueue-0,6,main])--Execute query DataModifyQuery(sql="UPDATE sequence SET seq_count = seq_count + ? WHERE seq_name = ?")
[EL Fine]: 2012-01-12 10:55:57.529--ClientSession(12905927)--Connection(5426636)--Thread(Thread[AWT-EventQueue-0,6,main])--UPDATE sequence SET seq_count = seq_count + ? WHERE seq_name = ?
bind => [1, batchtransferlinenr]
[EL Finest]: 2012-01-12 10:55:57.529--ClientSession(12905927)--Thread(Thread[AWT-EventQueue-0,6,main])--Execute query ValueReadQuery(sql="SELECT seq_count FROM sequence WHERE seq_name = ?")
[EL Fine]: 2012-01-12 10:55:57.529--ClientSession(12905927)--Connection(5426636)--Thread(Thread[AWT-EventQueue-0,6,main])--SELECT seq_count FROM sequence WHERE seq_name = ?
bind => [batchtransferlinenr]
[EL Finer]: 2012-01-12 10:55:57.529--ClientSession(12905927)--Connection(5426636)--Thread(Thread[AWT-EventQueue-0,6,main])--commit transaction
2012-01-12 10:55:57,560 DEBUG nl.knowledgeplaza.util.jpa.EntityManagerExtender.invoke(EntityManagerExtender.java:298) #cb531c createQuery(select t from Permissionnode t where t.iActionname=:actionname)
[EL Finest]: 2012-01-12 10:55:57.56--UnitOfWork(10201033)--Thread(Thread[AWT-EventQueue-0,6,main])--Execute query ReadAllQuery(referenceClass=Permissionnode sql="SELECT permissionnodenr, dwhmodified, lazylock, dwhby, actionname, description FROM permissionnode WHERE (actionname = ?)")
[EL Fine]: 2012-01-12 10:55:57.56--ClientSession(12905927)--Connection(3539560)--Thread(Thread[AWT-EventQueue-0,6,main])--SELECT permissionnodenr, dwhmodified, lazylock, dwhby, actionname, description FROM permissionnode WHERE (actionname = ?)
bind => [Batchtransferline.batchtransferlinenr]
2012-01-12 10:55:57,560 DEBUG nl.knowledgeplaza.util.jpa.EntityManagerExtender.invoke(EntityManagerExtender.java:298) #cb531c merge(nl.reinders.bm.Productionorder@79de1d&Productionordernr=1001)
[EL Finest]: 2012-01-12 10:55:57.575--UnitOfWork(10201033)--Thread(Thread[AWT-EventQueue-0,6,main])--Merge clone with references nl.reinders.bm.Productionorder@79de1d&Productionordernr=1001
[EL Finest]: 2012-01-12 10:55:57.575--UnitOfWork(10201033)--Thread(Thread[AWT-EventQueue-0,6,main])--Execute query ReadObjectQuery(referenceClass=Productionorder )
[EL Fine]: 2012-01-12 10:55:57.575--ClientSession(12905927)--Connection(3539560)--Thread(Thread[AWT-EventQueue-0,6,main])--SELECT productionordernr, lazylock, relationnr, dwhmodified, batchtransfernr, state, dwhby, description, storage_domainnr FROM productionorder WHERE (productionordernr = ?)
bind => [1001]
2012-01-12 10:55:57,591 DEBUG nl.knowledgeplaza.util.jpa.EntityManagerExtender.invoke(EntityManagerExtender.java:298) #cb531c find(class nl.reinders.bm.Employee, 24)
[EL Finest]: 2012-01-12 10:55:57.591--UnitOfWork(10201033)--Thread(Thread[AWT-EventQueue-0,6,main])--Execute query ReadObjectQuery(referenceClass=Employee sql="SELECT employeenr, lazylock, dwhmodified, dwhby, name FROM employee WHERE (employeenr = ?)")
[EL Fine]: 2012-01-12 10:55:57.591--ClientSession(12905927)--Connection(3539560)--Thread(Thread[AWT-EventQueue-0,6,main])--SELECT employeenr, lazylock, dwhmodified, dwhby, name FROM employee WHERE (employeenr = ?)
bind => [24]
[EL Finest]: 2012-01-12 10:55:57.591--UnitOfWork(10201033)--Thread(Thread[AWT-EventQueue-0,6,main])--Register the object nl.reinders.bm.Productionorder@79de1d&Productionordernr=1001
[EL Finest]: 2012-01-12 10:55:57.591--UnitOfWork(10201033)--Thread(Thread[AWT-EventQueue-0,6,main])--Register the object nl.reinders.bm.Employee@1e04525&Employeenr=24
[EL Finest]: 2012-01-12 10:55:57.591--UnitOfWork(10201033)--Thread(Thread[AWT-EventQueue-0,6,main])--Register the object nl.reinders.bm.Batchtransferline@1acd90a&Batchtransferlinenr=8534
[EL Finest]: 2012-01-12 10:55:57.591--UnitOfWork(10201033)--Thread(Thread[AWT-EventQueue-0,6,main])--Execute query DoesExistQuery(referenceClass=Batchtransferline )
[EL Fine]: 2012-01-12 10:55:57.591--ClientSession(12905927)--Connection(3539560)--Thread(Thread[AWT-EventQueue-0,6,main])--SELECT batchtransferlinenr FROM batchtransferline WHERE (batchtransferlinenr = ?)
bind => [8534]
[EL Finest]: 2012-01-12 10:55:57.622--ClientSession(12905927)--Connection(3539560)--Thread(Thread[AWT-EventQueue-0,6,main])--No data:02000 - null
[EL Finest]: 2012-01-12 10:55:57.622--UnitOfWork(10201033)--Thread(Thread[AWT-EventQueue-0,6,main])--Register the object nl.reinders.bm.Batchtype@7fb716&Batchtypenr=1&Description=PLANO
[EL Finest]: 2012-01-12 10:55:57.622--UnitOfWork(10201033)--Thread(Thread[AWT-EventQueue-0,6,main])--Execute query DoesExistQuery(referenceClass=Batchtype )
[EL Fine]: 2012-01-12 10:55:57.622--ClientSession(12905927)--Connection(3539560)--Thread(Thread[AWT-EventQueue-0,6,main])--SELECT batchtypenr FROM batchtype WHERE (batchtypenr = ?)
bind => [1]
[EL Finest]: 2012-01-12 10:55:57.622--UnitOfWork(10201033)--Thread(Thread[AWT-EventQueue-0,6,main])--Register the object nl.reinders.bm.Batchtype@7fb716&Batchtypenr=1&Description=PLANO
[EL Finest]: 2012-01-12 10:55:57.622--UnitOfWork(10201033)--Thread(Thread[AWT-EventQueue-0,6,main])--Register the object nl.reinders.bm.StorageDomain@106a6f1&StorageDomainnr=2
[EL Finest]: 2012-01-12 10:55:57.622--UnitOfWork(10201033)--Thread(Thread[AWT-EventQueue-0,6,main])--Execute query DoesExistQuery(referenceClass=StorageDomain )
[EL Fine]: 2012-01-12 10:55:57.622--ClientSession(12905927)--Connection(3539560)--Thread(Thread[AWT-EventQueue-0,6,main])--SELECT storage_domainnr FROM storage_domain WHERE (storage_domainnr = ?)
bind => [2]
[EL Finest]: 2012-01-12 10:55:57.638--UnitOfWork(10201033)--Thread(Thread[AWT-EventQueue-0,6,main])--Register the object nl.reinders.bm.StorageDomain@4c6dcb&StorageDomainnr=1
[EL Finest]: 2012-01-12 10:55:57.638--UnitOfWork(10201033)--Thread(Thread[AWT-EventQueue-0,6,main])--Execute query DoesExistQuery(referenceClass=StorageDomain )
[EL Fine]: 2012-01-12 10:55:57.638--ClientSession(12905927)--Connection(3539560)--Thread(Thread[AWT-EventQueue-0,6,main])--SELECT storage_domainnr FROM storage_domain WHERE (storage_domainnr = ?)
bind => [1]
[EL Finest]: 2012-01-12 10:55:57.638--UnitOfWork(10201033)--Thread(Thread[AWT-EventQueue-0,6,main])--Register the object nl.reinders.bm.ProductionorderInputline@6e06d7&ProductionorderInputlinenr=1023
[EL Finest]: 2012-01-12 10:55:57.638--UnitOfWork(10201033)--Thread(Thread[AWT-EventQueue-0,6,main])--Register the object nl.reinders.bm.Batchtransfer@7598d7&Batchtransfernr=null
[EL Finest]: 2012-01-12 10:55:57.638--UnitOfWork(10201033)--Thread(Thread[AWT-EventQueue-0,6,main])--Register the object nl.reinders.bm.Article@e6210d&Articlenr=17248
[EL Finest]: 2012-01-12 10:55:57.638--UnitOfWork(10201033)--Thread(Thread[AWT-EventQueue-0,6,main])--Execute query DoesExistQuery(referenceClass=Article )
[EL Fine]: 2012-01-12 10:55:57.638--ClientSession(12905927)--Connection(3539560)--Thread(Thread[AWT-EventQueue-0,6,main])--SELECT articlenr FROM article WHERE (articlenr = ?)
bind => [17248]
[EL Finer]: 2012-01-12 10:55:57.653--ClientSession(12905927)--Connection(5426636)--Thread(Thread[AWT-EventQueue-0,6,main])--begin transaction
[EL Finest]: 2012-01-12 10:55:57.653--ClientSession(12905927)--Thread(Thread[AWT-EventQueue-0,6,main])--Execute query DataModifyQuery(sql="UPDATE sequence SET seq_count = seq_count + ? WHERE seq_name = ?")
[EL Fine]: 2012-01-12 10:55:57.653--ClientSession(12905927)--Connection(5426636)--Thread(Thread[AWT-EventQueue-0,6,main])--UPDATE sequence SET seq_count = seq_count + ? WHERE seq_name = ?
bind => [1, batchtransfernr]
[EL Finest]: 2012-01-12 10:55:57.653--ClientSession(12905927)--Thread(Thread[AWT-EventQueue-0,6,main])--Execute query ValueReadQuery(sql="SELECT seq_count FROM sequence WHERE seq_name = ?")
[EL Fine]: 2012-01-12 10:55:57.653--ClientSession(12905927)--Connection(5426636)--Thread(Thread[AWT-EventQueue-0,6,main])--SELECT seq_count FROM sequence WHERE seq_name = ?
bind => [batchtransfernr]
[EL Finer]: 2012-01-12 10:55:57.669--ClientSession(12905927)--Connection(5426636)--Thread(Thread[AWT-EventQueue-0,6,main])--commit transaction
[EL Finest]: 2012-01-12 10:55:57.669--UnitOfWork(10201033)--Thread(Thread[AWT-EventQueue-0,6,main])--assign sequence to the object (3,296 -> nl.reinders.bm.Batchtransfer@15ffded&Batchtransfernr=null)
[EL Finest]: 2012-01-12 10:55:57.669--UnitOfWork(10201033)--Thread(Thread[AWT-EventQueue-0,6,main])--Execute query ReadObjectQuery(referenceClass=Relation )
[EL Fine]: 2012-01-12 10:55:57.669--ClientSession(12905927)--Connection(3539560)--Thread(Thread[AWT-EventQueue-0,6,main])--SELECT relationnr, sellorder_state_20_allowed, isreinders, billprefix, delivery_addressnr, webshop_url, shortname, ritnr, relationid3, edifact_desadv_no_zero_amount, edifact_desadv_builder, tobepaidwithin, edifact_invoic_no_zero_amount, grootboeknr, edifact_desadv_builder_test, info, wholesale, dwhmodified, banknaam, use_pricerules, currencynr, incassobanknr, edifact_invoic_builder, incassodagen, btwnummer, name, rabatt, lazylock, relationnr2, allow_backorders, potential_customer, reinders_lieferantenkode, btwnr, report_countrycodenr, uses_pricegroups, external_sellorder_mandatory, incassoreknr, delivery_relationnr, reinders_relationnr, officeid, officegroupid, haspriceagreement, bill_info, retour, relationsegmentnr, payment_agreement, internalnr, agreement_info, belastingnr, allow_buyorder, edifact_invoic_no_credits, skonto, bez, allow_sellorder,
external_sellorder_pattern, ritnr2, istransport, skontodagen, externalnr, dwhby, edifact_invoic_builder_test, relationgroupnr FROM relation WHERE (relationnr = ?)
bind => [1]
[EL Finest]: 2012-01-12 10:55:57.685--UnitOfWork(10201033)--Thread(Thread[AWT-EventQueue-0,6,main])--Execute query ReadObjectQuery(name="iRelation" referenceClass=Relation )
[EL Finest]: 2012-01-12 10:55:57.685--UnitOfWork(10201033)--Thread(Thread[AWT-EventQueue-0,6,main])--Execute query ReadAllQuery(name="iProductionorderInputlinesWhereIAmProductionorder" referenceClass=ProductionorderInputline sql="SELECT productionorder_inputlinenr, batchtransferlinenr, lazylock, amount, articlenr, dwhmodified, comment, dwhby, productionordernr, batchtypenr FROM productionorder_inputline WHERE (productionordernr = ?)")
[EL Fine]: 2012-01-12 10:55:57.685--ClientSession(12905927)--Connection(3539560)--Thread(Thread[AWT-EventQueue-0,6,main])--SELECT productionorder_inputlinenr, batchtransferlinenr, lazylock, amount, articlenr, dwhmodified, comment, dwhby, productionordernr, batchtypenr FROM productionorder_inputline WHERE (productionordernr = ?)
bind => [1001]
[EL Finest]: 2012-01-12 10:55:57.685--ClientSession(12905927)--Connection(3539560)--Thread(Thread[AWT-EventQueue-0,6,main])--No data:02000 - null
[EL Finest]: 2012-01-12 10:55:57.685--UnitOfWork(10201033)--Thread(Thread[AWT-EventQueue-0,6,main])--Execute query ReadObjectQuery(name="iStorageDomain" referenceClass=StorageDomain )
[EL Finest]: 2012-01-12 10:55:57.685--UnitOfWork(10201033)--Thread(Thread[AWT-EventQueue-0,6,main])--Execute query ReadAllQuery(name="iProductionorderOutputlinesWhereIAmProductionorder" referenceClass=ProductionorderOutputline sql="SELECT productionorder_outputlinenr, batchtransferlinenr, lazylock, amount, articlenr, dwhmodified, comment, dwhby, productionordernr, batchtypenr FROM productionorder_outputline WHERE (productionordernr = ?)")
[EL Fine]: 2012-01-12 10:55:57.7--ClientSession(12905927)--Connection(3539560)--Thread(Thread[AWT-EventQueue-0,6,main])--SELECT productionorder_outputlinenr, batchtransferlinenr, lazylock, amount, articlenr, dwhmodified, comment, dwhby, productionordernr, batchtypenr FROM productionorder_outputline WHERE (productionordernr = ?)
bind => [1001]
[EL Finest]: 2012-01-12 10:55:57.7--ClientSession(12905927)--Connection(3539560)--Thread(Thread[AWT-EventQueue-0,6,main])--No data:02000 - null
!!! nl.reinders.bm.Productionorder@138113d&Productionordernr=1001 --> nl.reinders.bm.Batchtransfer@15ffded&Batchtransfernr=3296 -> nl.reinders.bm.Batchtransferline@17ace67&Batchtransferlinenr=8534 / nl.reinders.bm.ProductionorderInputline@6e06d7&ProductionorderInputlinenr=1023 -> nl.reinders.bm.Batchtransferline@17ace67&Batchtransferlinenr=8534
Re: automatic persist without cascade, persist replacing entity [message #778543 is a reply to message #778454] Fri, 13 January 2012 03:02 Go to previous message
Tom Eugelink is currently offline Tom Eugelink
Messages: 807
Registered: July 2009
Senior Member
The post before was a simplification of a complexer problem: originally all collections had CascadeType MERGE and PERSIST, and in that setup Eclipselink replaced my original Batchtransfer and BatchtransferLine. This did not occur with these cascade types off, but I did not understand the fact that the BT and BTL were still persisted.

By now I have found a (probably, it still in test) working solution: it turned out the MERGE was the cause of the behavior, so I removed that and added an explicit EM.merge() call on the PropertyChangeEvents of all entities.

Never the less, for my understanding, I would still like to know why BT and BTL are persisted if there is no cascade and no persist call.

Tom
Previous Topic:QueryHints.LEFT_FETCH not working
Next Topic:Query field created by the @OrderColumn
Goto Forum:
  


Current Time: Thu Aug 21 08:23:29 EDT 2014

Powered by FUDForum. Page generated in 0.10770 seconds