Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    9
    Views
    8,232

    Using a singleton ServletEndpointSupport

    i have more or less the same configuration as you.
    A class that extends ServletEndpointSupport, spring-2.0.4.
    I don't have this class that extends ServletEndpointSupport in the...
  2. Did you encountered the solution?

    I'm trying to use a singleton too, to be added to the server-config.wsdd, as you did, I create a simple bean that extends ServletEndpointSupport and i set this bean in the server-config.wsdd, but it...
  3. Replies
    0
    Views
    1,358

    show image stream in oc4j

    i'm working with jetty and tomcat in the development environment, but oc4j is the production environment.
    I have a controller that searches for an image in the database, and then show the stream of...
  4. thanks for your note, but the exception now is not the problem

    the main problem is the sequence generated id with the oracle sequences.
    It doesn't refresh the id of the persistentObject, i save the persistentObject, and the id assigned in the session is X, but...
  5. Problem when i save an object

    When i save an object, in the last configuration, i have one value to the sequence of the id, i have an id number 823 and in the database i have saved the object with the id 824.
    I think that when i...
  6. another error in the previous post

    if there are a fail during the insert query, the id is a random value that haven't got anything in common with the value that must be due to the sequence, to this issue:



    @Id...
  7. unsaved values on hibernate annotations and oracle sequences

    i have the next code in my bean to the persistence layer:



    class User{
    ......
    @Id @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="gen_USERS")
    ...
  8. what occurs if you try to insert an incorrect value?

    I have the same configuration as you in the sequence user.getId(), but i have one problem, i have another column that must be unique, when in this column i insert a not unique value, the database...
  9. Replies
    0
    Views
    823

    one message per property

    i have a lot of validations annotations by property, i send my code:



    ....
    @NotNull
    private Long ssoId;
    ....
    @NotBlank
    @Length(min = 1, max = 100)
  10. i have the same problem

    have you fixed it?

    i explain my problem here:
    http://forum.springframework.org/showthread.php?p=146194

    it's similar than yours.
  11. default messages to annotation validations

    I'm unable to get the default message to the validations on springmodules, i send my configuration:

    in applicationResources.properties, i have


    # message errors for the class User...
  12. the test in oracle also increments the sequence

    i run a test inherited from AbstractTransactionalDataSourceSpringContextTests, and the test runs correctly, but i the sequence increments, i have the configuration:


    @Id...
  13. Replies
    9
    Views
    18,250

    I only delete hibernate-annotations.jar

    because i have this library yet in my application but another version, and this was the main problem, that there were the same classes but with another version.
  14. Replies
    2
    Views
    5,331

    My solution

    was delete hibernate-annotations.jar from the lib of jboss/default.
    With this my application runs correctly in jboss4.0.3.
    I suppose that in next versions of jboss this lib will be actualized.

    I...
  15. Replies
    9
    Views
    18,250

    did you be able to makes run in jboss

    i have the same problem as you, i need to deploy my war in jboss, i try in another application servers and it works without problems, but with jboss i have the same problem as you, and i don't want...
  16. Replies
    2
    Views
    5,331

    sessionFactory annotations jboss

    when i run my application with jetty and the next configuration, isn't there any problem:

    in application-ContextDAO.xml:




    <!-- Hibernate SessionFactory -->
    <bean id="sessionFactory"...
  17. Replies
    3
    Views
    1,416

    I follow the next steps, and the role doesn't change

    I make a property editor:

    public class RolePropertyEditor extends PropertyEditorSupport{
    private Manager manager;

    /**
    * @return the manager
    */
    public Manager getManager() {...
  18. Replies
    3
    Views
    1,416

    form:select why doesn't work

    I'm using spring and hibernate annotations, i try all the next sentences to set a role to a user:

    1. <form:select path="role" items="${roles}" />

    2. <form:select path="role.id" items="${roles}"...
  19. Replies
    11
    Views
    4,361

    why validation.xsd isn't in any place ?

    Where is this file, when i try to execute the samples i allways have the same problem with the xsd.
    I only try to make an example about springmodules annotations validation.
    I need help, where in...
Results 1 to 19 of 20