Search:

Type: Posts; User: Sergio Ricardo; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    789

    Doesn´t work!

    Doesn´t work!
  2. Replies
    3
    Views
    789

    ClassCastException in find

    I execute the find of JpaTemplate class and the result is a ClassCastException, how to fix this?

    In the code when the line "Subscription subsc = (Subscription) subscriptions.get(0)" is executed...
  3. Find bringing PK object instead Entity object

    When I execute:


    List<Subscription> subscriptions = getJpaTemplate().find("SELECT s FROM Subscription s WHERE s.subscriptionPK.id = ?1", idValue);

    The list is populated with SubscriptionPK...
  4. Replies
    5
    Views
    22,291

    Error using JPA

    When I run my application with this context:



    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"...
Results 1 to 4 of 4