Thanks Marten, Any links or examples are really appreciated. Thanks for the support.
Type: Posts; User: RithanyaLaxmi; Keyword(s):
Thanks Marten, Any links or examples are really appreciated. Thanks for the support.
Hi,
I have a question , I am looking to reload a file properties in Spring context without reloading all Context.
For example, this is an extract of my SpringContext.xml :
Code:
<bean...
Thanks Marc, Is there any examples or links on this that can be shared, as I am pretty new to this? Your help is highly appreciated in this regard. Thanks!
Thanks. But I am not looking to retrive records from the Database through PlaceHolderConfigurer instead I want to replace the old property value (which is loaded through spring...
Hi,
I have a properties file in which I have configured the thread pool data (count), this properties is loaded in spring context using the PropertyPlaceHolderConfigurer and will replace the...
Hi,
I am using JdbcPagingItemReader to read the records in a small chunks, here I dont that how much records the select query will fetch, hence I cannot define the "fetchSize" & "pageSize" as...
Thanks. For the first scenario that is fine where I am using taskexecutor to create multiple threads to operate on different data parallely. I want to know how I can handle the second scenario, where...
Hi,
I am using JdbcBatchItemWriter to do a batch update with multiple threads , where each threads (10 in all) will be assigned the respective number of records to be inserted. My question here is...
Guys any update on this? Your help is highly appreciated.
Hi,
I want to run multiple jobs parallely where each job does various operation separately. Please let me know how we can configure multiple jobs in spring applicationContext XML. Most of the...
Thanks. I have 2 process here, in the first one i want to run multiple jobs or steps parallely which will be doing separate operation. Here I was thining to use "Multithread step execution". But I...
Guys any update on this?
Hi,
I want to perform multiple jobs parallely and in asynchronous mode using Spring Batch so that each of these jobs perform various operation. I came across the below link:-
...
Hi,
When we need go for Isolation levels for DB transaction? I need to take care of the transaction anomalies like
dirty read , phantom read and repeatable read. Whether I need to use Isolation...
Hi,
I have a Spring application which contains so many Spring Context XML files, these are a part of WAR file which we deployed in tomcat server. Whenever we make changes to these XML files we...
Hi ,
I want to performance monitor & profile the respective methods in Spring Services through annotation. I am using Spring 2.5 and not 3.1 which supports @profile.Similar to that behavior I need...
Thanks Marten. That was a typo it is not a private method it is a public method
@transactional(..,rollbackFor="RuntimeException.cl ass")
public void doWork(UnitOfWork work) {
dao.m1(data1);...
Hi,
I am working the transaction atomicity using Spring . Below is what I am doing
public void runBatchJob() {
while (true) {
// generate work
doWork(unitOfWork);
}
}
Guys any update will be really appreciated.
Thanks. What is happening right now is we are having all our queries irrespective of the modules in a single XML file which is loaded during the startup as an eager loading. Similarly there are DAO's...
Hi,
I have a requirement, where I need to load the SQL queries for the specific DAO on demand when the request has been made. This will ensure that I am not loading all the objects as I will be...
Hi,
I have a requirement, where I need to load the SQL queries for the specific DAO on demand when the request has been made. This will ensure that I am not loading all the objects as I will be...
Hi,
Is it possible to create a dynamic command object in spring? like what we have in struts we have DynaActionForm? Similarly what is the default scope for the command object if it is not...
Guys no response for this. Please respond ASAP.
Hi,
I don't want to load the my DAOImpl eagely during the startup of the server as I am not going to pre-populate any data upfront.
In such case always it will be better to load the DAOImpl on...