Search:

Type: Posts; User: martin.gercsak; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    42
    Views
    19,934

    This is what worked for me in SQL Server: ...

    This is what worked for me in SQL Server:



    @Entity
    @RooJavaBean
    @RooToString
    @Table(name = "singlename")
    @RooEntity(identifierColumn = "refentID")
    public class SingleName {
  2. Replies
    42
    Views
    19,934

    I think the problem was that I mapped with...

    I think the problem was that I mapped with identifierField and not identifierColumn. When would you use which?
  3. Replies
    42
    Views
    19,934

    This doesn't seem to work: roo> finder add...

    This doesn't seem to work:
    roo> finder add --finderName findById --class au.gov.rba.dtcc.domain.Country
    [Main Thread] The finder name 'findById' contains an error
    [Main Thread] Dynamic finder is...
  4. Replies
    42
    Views
    19,934

    Defining a Foreign Key

    But what about the foreign key relationships? Ideally you would define a foreign key relationship and then would have a drop down menu in the UI with the possible values. I understand that this is a...
  5. Replies
    42
    Views
    19,934

    Configuring Roo with an existing DB

    The problem I currently have is that in my existing database I don't have the version (required by Roo) on my tables. Is it something that can be solved only by adding the version column to every...
  6. Replies
    3
    Views
    1,906

    Thanks. Switching to lower case fixed it indeed....

    Thanks. Switching to lower case fixed it indeed. Having bean fields start in lower case is a pretty standard practice in java, I was just copying fields from an existing database. Perhaps there could...
  7. Replies
    3
    Views
    1,906

    Bean property not readable

    I have the java 1.5 (jrockit) and created a very simple class:


    @Entity
    @RooJavaBean
    @RooToString
    @RooEntity(finders = { "findSingleNamesByRefEntIDEquals" })
    public class SingleName {

    ...
  8. I had the same problem with the wedding.roo...

    I had the same problem with the wedding.roo sample and RobertGloverJr's solution worked. I use:
    $ java -version
    java version "1.5.0_12"
    Java(TM) 2 Runtime Environment, Standard Edition (build...
  9. Replies
    3
    Views
    1,365

    Deleting the project and redeploying the scripts...

    Deleting the project and redeploying the scripts solved that. Apparently the pom.xml that was generated earlier had incorrect dependencies.
  10. Replies
    3
    Views
    1,365

    Seems that the problem was that JRockit was not...

    Seems that the problem was that JRockit was not installed as a public JRE. But now I get the following error when running the tests:

    $ java -version
    java version "1.5.0_12"
    Java(TM) 2 Runtime...
  11. Replies
    3
    Views
    1,365

    Cannot run Roo with Jrockit 1.5

    I'm using the following:

    $ java -version
    java version "1.5.0_04"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
    BEA JRockit(R) (build...
  12. Replies
    42
    Views
    19,934

    Thanks. I may do it in the future but at the...

    Thanks.

    I may do it in the future but at the moment I have to get this project working first.
  13. Replies
    42
    Views
    19,934

    Using Roo with an existing database

    I have an existing database that I have to write a simple web based CRUD application for. I'm considering using Roo. The problem I've seen so far is that Roo wants to create it's own database based...
  14. Method marked @Transactional doesn't commit

    Any suggestions for the following problem would be much appreciated.

    As you can see in the code below I have two methods. One is a loop, the other one is a @Transactional. The problem is that once...
Results 1 to 14 of 16