Having DELETE prepended would not work because it would by executed for every chunk that I am getting from reader?
I believe having of some kind of tasklet with customizable SQL statement that can...
Type: Posts; User: rihards; Keyword(s):
Having DELETE prepended would not work because it would by executed for every chunk that I am getting from reader?
I believe having of some kind of tasklet with customizable SQL statement that can...
I am struggling to create Job that is loading classifiers from flat file.
I have configured FlatFileItemReader and JdbcBatchItemWriter to do the INSERTs and everything is fine up to the moment...
costin,
New solutions are using hibernate already, but we still have to have our own runtime and state management to address "single unit of work" issue...
While you can reattach transient POJO...
costin, maybe :) I am reading book "J2EE Development without EJB" (author is Rod Johnson) and it states that implementing DAO with JDO 1.0 is "pain in ass" because you can not reattach transient...
makePersistent() will not work in update scenario... I guess nobody is using Spring with JDO 1.0 implementation...
Which one exacly? In Samples? I have downloaded spring-framework-1.2.5-with-dependencies.zip.
jpetstore has DAOs for ibatis and petclinic has jdbc,hibernate and toplink DAOs only...
How do you do update??
Could not find any useful examples about how to do updates when using JDO 1.0 implementation and DAO pattern.
Use case:
1. Load Person with id 1
2. pass it to Web Layer...
Exacly, so I was hoping that there are some kind of best practices/patterns how to do that when building applications using Spring... Some kind of declarative demarcation of Session life span? Or...
costin,
Thanks for quick replay!
I have probably failed to explain the screen and how it works.
The web flow is:
1. Display list of customers.
2. Click on some particular customer, bring...
Imagine that you have web app with Customer maintenance screen, where you have several Tabs (AccountInfo,ContactInfo,Policies, Etc). With Save button at the bottom.
1) User is traversing these...