This week's book giveaways are in the Scala and Android forums.
We're giving away four copies each of Machine Learning Systems: Designs that scale and Xamarin in Action: Creating native cross-platform mobile apps and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!

Gopakumar Naryanan

Ranch Hand
+ Follow
since Jan 15, 2011
Gopakumar likes ...
Eclipse IDE Hibernate Tomcat Server
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
6
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Gopakumar Naryanan

I was trying to display employees who has more experience than their manager using HQL. This is the Exception i'm getting when i try HQL query using joins

Exception in thread "main" java.lang.IllegalStateException: DOT node with no left-hand-side!




Note : I added fully qualified in the join query to avoid the below Exception
org.hibernate.hql.internal.ast.QuerySyntaxException: Path expected for join!

When i modify the query as follows :


It works fine.


would like to know where i'm doing mistake.. Any suggestion is greatly appreciated.

Thanks in advance.
Thanks.. i didn't notice the spelling mistake you specified.
5 years ago
Please check your User class.. is there any specific requirement that it should extend ActionSupport class?
I have not worked on Struts 2.. but i haven't seen anywhere one action class being instance variable of other..


5 years ago




I think you need to make a correction here :



In the above code variable itself holds the "AccountId".. so please change it as follows:



Hope it works fine.
5 years ago
Appreciate your spirit .. Wish you all success .. Keep up the good work.
5 years ago
This could be problem with antlr jar file try using appropriate version.
Please go thru the following link :

https://forum.hibernate.org/viewtopic.php?p=2435893

This link could solve the issue.
Please make sure you have all the required jar files in your buildpath. It seems you are missing a jar file related to ehcache. Please check.
Try using hidden form fields for non-editable fields .. and keep the rest as they are.. hope this works fine for your requirements .
5 years ago

Please try this..
5 years ago

I am not sure whether you are expecting something internal to grid.
5 years ago
<HTML:text property='name' value='${emp.name}></html:text> where property is your formbean property and value is what you were trying to put in bean:write tag emp is bean name and name is the property.
5 years ago
You can use <c:import> tag for this task.
5 years ago
JSP
Does it make any sense using jstl tags like <c:choose ></c:choose> TAGS?
5 years ago
Please share the code or stacktrace you are getting when you run the app.
5 years ago
JSP
Probably this issue must have been resolved . Only change you require is your DTO object that is MyModel class must follow Java Beans naming conventions.
Please use code tag for better readability of the code.
5 years ago