Search:

Type: Posts; User: fabianosuet; Keyword(s):

Search: Search took 0.02 seconds.

  1. I found a solution extending StaxEventItemWriter...

    I found a solution extending StaxEventItemWriter e rewriting the methods open and close. Before write itens, I called createStartElement in open method (if the job is not restarted) to write the...
  2. Until now, I haven't solved this problem. I have...

    Until now, I haven't solved this problem. I have thought if I can solve this using JAXB marshaller instead XStream. I don't know if this works, but I'll try....

    Someone can help me?

    Thanks a...
  3. Writing complex type itens into XML File

    Hello,

    I want to write itens with STAX writer into specific element of XML file, according to XSD. For example:

    <root>
    <header></header>
    <itens>
    <!-- I WANT TO WRITE ITENS HERE -->
    ...
  4. Replies
    11
    Views
    2,874

    Guys, the proposed solution works fine! I really...

    Guys, the proposed solution works fine! I really liked that!

    In my case, I had to implement the fixed commit interval too, but it worked well!

    Thanks!!!
  5. Replies
    11
    Views
    2,874

    Hi, thanks for reply. I will try to explain my...

    Hi, thanks for reply.

    I will try to explain my doubt. I need to control the chunks commits depending on the input, before process and after read. I will study the Completion Policy to know if it...
  6. Replies
    11
    Views
    2,874

    Manual chunk commit

    Hello,

    I'm using spring batch for data extraction tasks, in the most of cases, from XML to DB. I have one situation that i need to control the commit interval manually.

    Example: The...
  7. Replies
    2
    Views
    771

    Thank you for reply. I just solved the problem...

    Thank you for reply. I just solved the problem which was related about isolation level configuration on MySQL DB and some transaction attributes of JUnit class.
  8. Replies
    2
    Views
    771

    Chunk Commit Problem

    Hello Guys,

    I have a problem with chunk commit. I'm using MySQL in my tests. My Job consists in a read of a thousand of registers from XML File and write to DB. Each file contais about 100.000...
  9. Okay! Thank you very much! I'm going to...

    Okay! Thank you very much!

    I'm going to implement some tests!!!
  10. Thank you for reply! I undestand you, but the...

    Thank you for reply!

    I undestand you, but the configuration allows only one fragmentRootElementName. Because of that, i can't map other element type at the same reader.

    I have some Spring Batch...
  11. Writing results of differents steps in the same XML file

    Hello everbody,

    Can i incrementally write results of different steps in the same XML file without overwrite the existing file?

    I realized that if the parameter "overwriteoutput" of itemWriter...
  12. Reading mutilple element types with StaxEventItemReader

    Dear Friends,

    I need to read multiple types of elements from XML input and bind to objects. I believe that is possible using StaxEventItemReader, but i don't know how.

    If it's not possible,...
Results 1 to 12 of 12