0

Append new object to xml file

When i append new object to xml file using JAXB all recently added data delete. How can I append new object to existing xml file?

4th Apr 2020, 4:46 PM
hamid
hamid - avatar
1 Odpowiedź
+ 1
if you use XMLEncoder and XMLDecoder you can append, but it's not a good way, the best way is each xml file for just one object, it's better for performance and accuracy
4th Apr 2020, 7:34 PM
Bryar Ahmed
Bryar Ahmed - avatar