> -----Original Message-----
> From: Patrik Nordwall [mailto:patrik.nordw...@gmail.com]
> 
> Intersting, any idea of how we should solve it?
> Do you know if it is the same when using @javax.persistence.Lob ?

Yes, the annotation does nothing to the merge process.

 
> Feels like a stupid limitation in Hibernate. Is it the same in
> EclipseLink?

As far as I checked, EclipseLink does not prevent the merging of an Blob.

 
> Maybe we could check if the id is not assigned and then use persist
> instead of merge.

Shouldn't this be the default behavior of the SaveAccessor? 


> You can of course do that in your own AccessObject right away.

Well, that's not really the idea behind Sculptor, isn't it?
I thought that own AccessObjects are for special treatments not for default 
ones.


Regards,
Sascha Broich

-- 
Sascha Broich
Development

TSA - Teleport Sachsen-Anhalt Service GmbH
Herrenstraße 20 - D-06108 Halle

Tel: +49 39203 8 2524 - Fax: +49 39203 8 2511
E-Mail: sascha.bro...@tsa.de

Firmensitz: Steinfeldstraße 5, D-39179 Barleben
Niederlassung: Herrenstraße 20, D-06108 Halle
Geschäftsführer: Marco Langhof, Thomas Patzelt
Prokurist: Heiko Bosse
Amtsgericht: Stendal HRB 6388
http://www.tsa.de




------------------------------------------------------------------------------
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to