Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Teneo] comparison byte[] with Byte[]
[Teneo] comparison byte[] with Byte[] [message #609967] Wed, 10 October 2007 15:35
Parvez is currently offline ParvezFriend
Messages: 181
Registered: July 2009
Senior Member
Hi,

I am not sure if this can be solved at emf-teneo level or lies with
hibernate.
We have a binary attribute.
In emf core attribute type is EByteArray [byte[]] and in hibernate file
array has byte element type i.e. <element type="byte"/>.

Data is saved and retrieved fine.

But only thing is that when hibernate looks for changes it compares
btye[] with Byte[]. Though contents are same that result in treating it
as dirty i.e. org.hibernate.type.TypeFactory.findDirty() method compares
"currentState" as byte [ ] with "previousState" as Byte[ ].


So everytime data is loaded, this one is always marked dirty.

Is there some way around this?

Thanks.
- Parvez
Previous Topic:[Teneo-EMF] SessionController - Multiple resources
Next Topic:Using EMF Compare together with svn
Goto Forum:
  


Current Time: Wed Sep 18 22:53:15 GMT 2024

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

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

Back to the top