Search:

Type: Posts; User: ultron; Keyword(s):

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,311

    Thanks, but unfortunately, I can't bind form...

    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

    ...
  2. Replies
    3
    Views
    1,311

    Dynamic list bind with Velocity

    I'm trying to do dynamic list binding with Velocity. First I define:


    private List<Product> accessories = ListUtils.lazyList(new ArrayList<Product>(),...
  3. Replies
    5
    Views
    4,782

    After some more testing, it has become clear that...

    After some more testing, it has become clear that the query works if every quantity is explicitly queried for:


    List subscriptions = getSession().createSQLQuery("select "
    ...
  4. Replies
    5
    Views
    4,782

    Thanks for the input, though this part is...

    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:

    ...
  5. Replies
    5
    Views
    4,782

    createSqlQuery problems

    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}")
    ...
  6. Replies
    4
    Views
    1,197

    Generic queries HibernateDAO

    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...
Results 1 to 6 of 6