Search:

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

Search: Search took 0.03 seconds.

  1. HELP!org.hibernate.LazyInitializationException( by using CrudRepository)

    Hallo all,

    i got a problem by using CrudRepository. Example: i have two entities, entity A has a collection of entity B.


    class A {
    int id;
    int name;
    @OneToMany(cascade =...
  2. Hello Marten, thx for your comment, did you...

    Hello Marten,

    thx for your comment, did you mean that i only need to declare <jpa:repositories /> and the base-package should point to my package, which contains the @Service. could i may be point...
  3. Hello Marten, thx for your comment, the Action...

    Hello Marten,

    thx for your comment, the Action class is implemented with Struts2, i thought if i got

    <jpa:repositories base-package="com.myproject.repositories" />,

    i do not have to...
  4. Hi prashob, thx for your comment! i just tried...

    Hi prashob,

    thx for your comment! i just tried on my ServiceImpl class to add setter for the repo. It is still not working


    public class ServiceImpl implements Server{
    MyRepository repo;
    ...
  5. NullPointerException from DAO by using crudRepositoy

    Hi,

    i got java.lang.NullPointerException by using CrudRepository

    my project looks like this:

    strut2 action
    service
    repository
    domain
Results 1 to 5 of 5