Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    503

    I found the solution. In fact add-ons are not...

    I found the solution. In fact add-ons are not made for this. The way to go is just packaging my controller as a jar.

    After, I just need to add the dependency to the pom.xml and edit the...
  2. Replies
    1
    Views
    503

    Creating an add-on with a controller

    I'd like to reuse a controller across multiple Roo projects. Add-on seems to be the way to do, but I did not find any exemple of having a controller in an Add-on. Is it possible, is it the right way...
  3. Replies
    5
    Views
    1,313

    I like to live on the edge :) I'm using roo...

    I like to live on the edge :) I'm using roo 1.1.0.M1.

    I think
    com.springsource.javax.persistence has been replaced by
    org.hibernate.javax.persistence


    <dependency>
    ...
  4. Replies
    5
    Views
    1,313

    Great Thanks! If anyone is interested by the...

    Great Thanks!

    If anyone is interested by the solution, add to the class:


    @PersistenceContext
    EntityManager entityManager;

    And you can do:
  5. Replies
    5
    Views
    1,313

    Using the petstore demo, I'm doing : ...

    Using the petstore demo, I'm doing :



    resp.put("Owner", Owner.countOwners());
    resp.put("Pet", Pet.countPets());
    resp.put("Vet", Vet.countVets());
    ...
  6. Replies
    5
    Views
    1,313

    List the entity of a project

    Hi,
    I'm writing an add-on to monitor entities of a roo project.

    To do this, I'd like to be able to list all the entity class and be able to execute query on them suing the persistence API.
    My...
Results 1 to 6 of 6