- This topic has 4 replies, 2 voices, and was last updated 18 years, 1 month ago by
Oliver Hessel.
-
AuthorPosts
-
Oliver HesselMemberHi Support,
I can’t use the Query Parameters window, when open my hibernate query document, and click on the :p symbol, just nothing happens.
Additonal, the properties view only shows me the Hibernate Query when i click on a qery result-line, perhaps the two problems are related?yours,
OHJune 1, 2007 at 3:05 pm #271008
Brian FernandesModeratorOH,
The 😛 symbol will only pick out parameters already present in your query. For instance, you would need to type
from Table where id = :param
and then press that button, param would be picked up.
Additionally, the properties view only shows me the Hibernate Query when i click on a qery result-line, perhaps the two problems are related?
I assume you’re talking about Query results in the Properties view? This is the intended behavior as your query could have many results, so it would show you the actual properties only of the result you select. Perhaps I have misunderstood your requirement, if so, please elaborate.
Hope this helps.
June 2, 2007 at 2:10 am #271018
Oliver HesselMemberHello Brian,
thanks for the info, I’ll try the param thing.I assume you’re talking about Query results in the Properties view? This is the intended behavior as your query could have many results, so it would show you the actual properties only of the result you select. Perhaps I have misunderstood your requirement, if so, please elaborate.
Hope this helps.
I know that there are multiple results, what i meant was, clicking on one of the results should show the objectproperties of it, but propertiesview only shows me the query and the objecttype.
OH
June 2, 2007 at 2:23 am #271019
Brian FernandesModeratorOH,
What you see in the properties view is a function the query you execute, could you tell me what query you are executing?
Could you also try a simpler query like “from TableName where id = 5” or just “from TableName” and try selecting those results so we know what’s going on?
June 2, 2007 at 2:26 am #271020
Oliver HesselMember@Support-Brian wrote:
OH,
What you see in the properties view is a function the query you execute, could you tell me what query you are executing?
Could you also try a simpler query like “from TableName where id = 5” or just “from TableName” and try selecting those results so we know what’s going on?
I execute “From Classname” and just try to select one.
OH
-
AuthorPosts