Resloved.
It was my mistake. i was seeing uncommited data. :(
anyway thanx for the help
Regards,
Shahzad
Type: Posts; User: shahzad.ahsan; Keyword(s):
Resloved.
It was my mistake. i was seeing uncommited data. :(
anyway thanx for the help
Regards,
Shahzad
But i took the query from log and executed on the DB console. And returned the result.
Regard,
shahzad
Hi,
i am executing a jdbc query. that query returns result on my db console.
But springjdbctemplate is not returning the result. All other jdbc queries r working f9 in that class.
Following is...
Hi,
FindByPrimarykey throws "NullPointerException" on the following line:
se
ssion = getSession();
regards,
shahzad
Hi,
Please read it as
throw new OooberPersistanceFindByPrimarykeyException(e);
As it is copy paste issue.
Regards,
Hi,
When i find the records in database, after some time it goes in halt state (means it could not return result any more). Log shows that it could get the connection. And also findByPrimarykey is...
Hi,
I am displaying messages from message.properties file and it works f9.
But when i pass any argument to the message resource. It loads the message correctly.But it does not showthe argument...
thanx alot... it really solved my problem.
Now regarding using throwable. I have experinced that when using oracle as database, It thows sometime those error which could not catched with...
Hi,
It seems that my session factory is not getting connections after some time. This shows it also not releasing the connection. should i close the session and connection as well. It think...
Hi,
Calling DAO direct in the servlet is not a good approach. My suggestion is to put DAO access in ur service call and give that class ref to ur servlet or controller.
No comes to ur point....
Hi,
I am using HibernateDaoSupport(3) with spring.My persistance layer is in seprate context and i am getting results using http Invoker. It works f9 with 2 to 3 calls. but after that it does give...
Example example = Example.create(iEntity).ignoreCase().enableLike(MatchMode.EXACT);
list = getSession()
.createCriteria(iEntity.getClass())
.add(example).list();
Hi,
i am using Hibernate3 with JPA using spring.
When i search the annotated entity in normal case. It worked fine and showed sql query in the log, with following code:
list =...
Hi,
It seem that u r using some old libs. like common-collections.jar. Update ur jars from Spring latest version.
Shahzad
Hi,
i developed a sample spring application.but my context is not started.
Logger shows the following lines:
INFO: ExtensionValidator[/shahzad][commons-attributes-compiler.jar]: Required...