Thanks, but unfortunately, I can't bind form input to a statement like
#springBind("accessory.get($velocityCount).name")
and whenever I try to bind to
...
Type: Posts; User: ultron; Keyword(s):
Thanks, but unfortunately, I can't bind form input to a statement like
#springBind("accessory.get($velocityCount).name")
and whenever I try to bind to
...
I'm trying to do dynamic list binding with Velocity. First I define:
private List<Product> accessories = ListUtils.lazyList(new ArrayList<Product>(),...
After some more testing, it has become clear that the query works if every quantity is explicitly queried for:
List subscriptions = getSession().createSQLQuery("select "
...
Thanks for the input, though this part is actually correct. The database table is named 'product' while the corresponding Hibernate class is called 'Product'.
My latest attempt is this query:
...
I'm trying to do a very simple native SQL query using Spring/Hibernate like this:
List subscriptions = getSession().createSQLQuery("select {s}.ID as {s.id} from product {s}")
...
I'm trying to figure out the right way to do generic hibernate queries in Spring. I'm just starting out with this, so please be forgiving about any very obvious mistakes.
It appears that...