Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26

Thread: ROO + composite primary keys in data on demand

  1. #11
    Join Date
    Dec 2005
    Posts
    930

    Default

    Is this exception also because of composite primary key or something else??
    Most likely. You will have to make your own DoD class for primary key testing until we have added the feature
    Alan Stewart
    Spring Roo Committer
    twitter @alankstewart

  2. #12

    Default

    Hi,

    Thanks cblicious and Alan for ur reply .....

    For some of the tables, when i click on list in roo UI, its throwing "ORA-01747: invalid user.table.column, table.column, or column specification" exception.

    Is this exception also because of composite primary key or something else??

    Thanks,
    Pavan

  3. #13

    Default

    Hi,

    Thanks for ur reply alan/cblicious.

    Please reply to my post....

    Thanks,
    Pavan

  4. #14

    Default

    Quote Originally Posted by Alan Stewart View Post
    Most likely. You will have to make your own DoD class for primary key testing until we have added the feature

    Hi Alan,

    DoD class means????

    Instead of roo generating primary key class, do i need to write separate one???

  5. #15

    Default

    Hi cblicious,

    I followed ur steps....
    First I refactor the aspectj files....
    Added tostring() in PK class.

    public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("DoaId: ").append(getDoaId()).append(", ");
    sb.append("MasterField: ").append(getMasterField()).append(", ");
    sb.append("CreatedOn: ").append(getCreatedOn()).append(", ");
    sb.append("CreatedBy: ").append(getCreatedBy()).append(", ");
    sb.append("ModifiedOn: ").append(getModifiedOn()).append(", ");
    sb.append("ModifiedBy: ").append(getModifiedBy()).append(", ");
    sb.append("Status: ").append(getStatus());
    return sb.toString();
    }

    After this i ran the roo applicaton...when i click on "List" link still i am getting "missing paranthesis error"...

  6. #16
    Join Date
    Dec 2005
    Posts
    930

    Default

    If you get the latest Roo code from Git, I just committed code today that will now support composite keys in DoD (data on demand) and intregration tests - no web UI functionality yet though.
    Alan Stewart
    Spring Roo Committer
    twitter @alankstewart

  7. #17

    Default

    Hi Alan,

    I am new to this...no idea how to get latest code from git.....

    can u pls help me in this??

    Thanks,
    Pavan

  8. #18
    Join Date
    Dec 2005
    Posts
    930

    Default

    Check the sticky links on this forum
    Alan Stewart
    Spring Roo Committer
    twitter @alankstewart

  9. #19

    Default

    Hi,

    I got the location for code "http://git.springsource.org/roo/roo". But when i tried to clone, it is asking Publick key....since i am using windows environment i dont have any public key...

    Thanks,
    Pavan

  10. #20

    Default

    Hi Alan,

    Atlast i downloaded "org.springframework.roo.addon.dod-1.1.3.BUILD-20110320.082216-18.jar" and org.springframework.roo.addon.entity-1.1.3.BUILD-20110320.082136-18.jar files from "http://s3browse.springsource.com" and place it under "spring-roo-1.1.2.RELEASE\bundle".

    But still i am getting "missing right parathesis error".

    Thanks,
    Pavan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •