Search:

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

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. TransientObjectException: object references an unsaved transient instance

    I've got two entities in a Spring Roo-application which are in a Many-To-Many-relationship, Release and Component.

    The mappings look like this:

    Release.java:


    @ManyToMany(cascade =...
  2. How to add mapping to a URL calling a java-method?

    I'd like to call a static java-method through a URL in a Spring Roo-application.
    How do I do this?

    I added a mapping to in the views.xml-file in the root to a custom jspx-file. There I tried to...
  3. LDAP: error code 53 - RootDSE search supports only baseDN=“”, scope=base, and filter

    I'm trying to use a LDAP-server (IBM Directory-Server) to authenticate users in a Spring Application (Spring Roo).

    This is the relevant part in my applicationContext-security.xml:


    <!--...
  4. STS 2.8 The server does not support version 3.0 of the J2EE Web module specification.

    After upgrading to STS 2.8.0 I can't deploy my Roo-project anymore to a Tomcat 6 server (Tomcat 7 works).

    I see the following message when I try to create a Tomcat 6 server:



    I also...
  5. Changing references from One-To-Many side of relationship

    Traditionally if you want to update/create an object and have a one-to-many-relationship you get the message:



    While you can display the objects in a listbox by using this workaround:
    ...
  6. tag for property of referenced entity

    I've got a two classes (pupil, class) and their scaffolded views.

    pupil and class have a 1:1 relationship

    In the list.jspx of pupil I'd like to display a column for a property of class.

    I...
  7. Delete references to other objects without cascading

    I want to delete an object but can't do this because it is connected to other objects.

    This is Hibernate's output:



    To delete the references manually I tried the following:


    ...
  8. How do I delete the reference in Roo?

    How do I delete the reference in Roo?
  9. Deleting an instance of an object with a MANY_TO_MANY relationship without cascading?

    I've got two classes (Students and Courses) which have a many-to-many-relationship.
    Instances of them can exist without the other one.
    Therefore I removed the cascade-attribute in the...
  10. Can't update fields from one side of MANY_TO_MANY association

    I've got a many-to-many relationship betweens Students and Courses:


    public class Student{
    @ManyToMany(cascade = CascadeType.ALL,mappedBy="students")
    private Set<Course> courses = new...
  11. Roo doesn't update class-files anymore, poll now finishes in 1 second

    After working for weeks on a Roo Project mine stopped to update the .class-files inside the directory:



    When I deploy with STS on the local Tomcat it used the new class-files but perform...
  12. SpelEvaluationException: EL1027E:(pos 4): Indexing into type 'Ort' is not supported

    After deploying my so far working Spring Roo application for the 100th time a Tomcat server I got this exception. What may cause this problem? It works fine on my local Tomcat and has been working...
  13. Roo doesn't update ApplicationConversionServiceFactoryBean anymore

    I've been developing a Roo-project for some time.

    I just added a new converter in ApplicationConversionServiceFactoryBean.java. Up until now Roo updated...
  14. WrongClassException when assigning entries on one side of many to many relationship

    I've got two entities which have a MANY-TO-MANY relationship:


    public class Student{

    @ManyToMany(cascade = CascadeType.ALL,mappedBy="students")
    private Set<Course> courses = new...
  15. Thanks, it worked perfectly.

    Thanks, it worked perfectly.
  16. Thanks Andrew, I'll create a new entity, do...

    Thanks Andrew,

    I'll create a new entity, do web mvc scaffold with path to it to see where I need to change my existing classes.

    How do I change the directory of the index-page to /admin/ as...
  17. How to change the base-url of all scaffolded views?

    I want to use the scaffolded views as my admin interface and therefore point all of them to /admin/ instead of / .

    How can I do this?
  18. In the following list.jspx-file the...

    In the following list.jspx-file the service-column isn't filled with data. I'd like to have all Services which belong to it listed there.

    I also examined the object which delivers all the data to...
  19. Thanks, it worked perfectly.

    Thanks, it worked perfectly.
  20. Column of HashSet (1:m-relationship) is empty in entities' list HTML-page

    Example:

    I've got a class book which contains a ONE_TO_MANY relationship with pages.

    The field of the entity would look like this:


    @OneToMany(cascade = CascadeType.ALL)
    private...
  21. How to use the search-code which is generated with the controller package?

    After generating my frontend with "controller package ~.web" I noticed there's already code in it for a find-function (in the messages and also a find.tagx).

    How can I use that?

    I can only...
  22. ConverterNotFoundException although I created a custom converter

    I've got a ConverterNotFoundException in my Spring Roo-application:



    According to this guide I added a Converter to ApplicationConversionServiceFactoryBean.java but still get the error.

    The...
  23. Replies
    1
    Views
    747

    Errors in new Roo Project in STS

    I've got always four errors when I create a new roo-project.

    Two of them happen in the load-scripts.tagx here:


    <link rel="stylesheet" type="text/css" href="${tundra_url}"><!-- required for...
  24. One To Many assignments in default web tier

    Let's say I've got a class Service and a class Operation.
    One service can have multiple operations.



    In the generated webpage I get the message



    Is this normal behaviour?
  25. worked perfectly, thanks.

    worked perfectly, thanks.
Results 1 to 25 of 26
Page 1 of 2 1 2