Thara Visu

Ranch Hand
+ Follow
since May 17, 2005
Merit badge: grant badges
For More
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Thara Visu

Hey thanks buddy... I found the issue with your help. Like you said a Character was being set to null, but the question is how come it does not throw the error whenever the field is null?
Does that mean, if I have a char in my class and use character in my hbm, It could be where the issue is?
Thanks for your input... But by primitype mapping for example do you mean a char or Character. If its a char am not using that. But if you are also taking about the wrappers, I will double check my code.
You have been wonderful replying so quickly buddy.. Thanks again. But I am gonna bug you until I understand/ am able resolve the issue.
The problem is there is so much of activity on the session, that it is too difficult to trace why this is occurring. The NPE is not helpful in understanding the issue. Can you quote some examples as to why this could occur? Or have you faced something similar to this?
I am facing the following exception. I am using Hibernate 3.2.3 and Oracle 9.2.1 driver. I also face a nullpointerexception at org.hibernate.type.PrimitiveType.toString( during session flush. What could be the possible reasons?
Any help would be highly appreciated.

Thanks a lot guys... Was really helpful
17 years ago
Can we specify a synonym name in the hibernate config file so that we dont need to prepend for all tables?
Any help would be appreciated.
Thanks in advance
I am not asking about this(). Lets say the below is an example
17 years ago
We had a small argument within our gang of friends.. and they were sayin that they have read somewhere that this shdnt be used in constructors.. So i just needed to confirm...
17 years ago
Is it wrong or unacceptable to use the "this" reference inside a constructor?
Please let me know your responses.
Thanks in advance
17 years ago
Thanks Jeroen. Actually the problem is scheduling such a batch process. We need to use a scheduler called the Control-M. Does this have a facility of scheduling EJBs? If yes, how?
Hi all,
There is a requirement to run a java batch program in the same container as the application. What are the ways to do this?

I am not sure if this is the correct forum to place this question.

All your inputs will be of great help. Thanks in advance.
Try using iBatis. Its simple and will serve the purpose.
I used <select> instead of statement.

And oddly, if use $ instead of # it works.
# works only if i have condition statement like <isPropertyAvailable> etc.

Is it supposed to work that way?
I always get an exception SQL command not properly ended with the following query

and the parameter map has value property defined

The error is
Caused by: com.ibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred while applying a parameter map.
--- Check the getSearch-InlineParameterMap.
--- Check the statement (query failed).
--- Cause: java.sql.SQLException: ORA-00933: SQL command not properly ended

In fact I am not able to apply any parameter maps/class
Any help would be appreciated.
Thanks in advance