Search:

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

Search: Search took 0.03 seconds.

  1. Replies
    0
    Views
    422

    Executing Roo commands from java code

    Hello, how do I run some Roo commands from java code? For example I would like to run a class that is able to read some files and decide to add or remove fields in an object domain using the "field"...
  2. Thread: CRUD Example

    by moacsjr
    Replies
    1
    Views
    6,314

    CRUD Example

    Hi,

    Where I can find a CRUD example app?

    Thanks. :-)
  3. Replies
    0
    Views
    639

    Tag Form rendered with query string

    Hi people,

    I'm trying to create a "Spring" CRUD demo application, but there is a problem when form's "update action" is fired.

    The Spring Servlet Controller redirects to the rigth controller...
  4. Replies
    4
    Views
    778

    Well I´m not using jsp. It seams that this is...

    Well I´m not using jsp.
    It seams that this is something not really easy to do wright.
    I need to report the bind/validation errors to the calling application not to a jsp page.
  5. Replies
    4
    Views
    778

    Errors - Need Example

    Hi,

    I catch ServletRequestBindingException now I want to show the errors with messages resolved by the messageSource.

    I need an explample.
  6. Replies
    4
    Views
    778

    Easy One: Where are the Errors

    Hi,

    How to get the forms validation errors from the request. What is the Key to search for the attribute that has the errors? I don´t want this in jsp, I just want to inspect the errors my self.
    ...
  7. Replies
    8
    Views
    1,135

    I´m using declarative transaction demarcation for...

    I´m using declarative transaction demarcation for business logic and it seams to work fine. The only problem is that this operation


    ...
    Client c1 = new Client();
    c1.setCompany(...
  8. Replies
    8
    Views
    1,135

    Spring 1.2 RC1 (28.3.2005) Hibernate version...

    Spring 1.2 RC1 (28.3.2005)
    Hibernate version 2.1.7c, 24.11.2004

    Erik on Hibernate forum


    And separeted sessions means diferent objetcs references to the same record.

    :roll:
  9. Replies
    8
    Views
    1,135

    Well, I have an Client class like this ...

    Well,

    I have an Client class like this


    public class Client{

    private ClientType type;
    private Company company;
  10. Replies
    8
    Views
    1,135

    NonUniqueObjectException

    Hi,

    I´m getting NonUniqueObjectException because I really have two instances of the same class that represent the same row in a DB.

    But I want to have the same object reference when I fetch the...
  11. Replies
    24
    Views
    9,178

    Hi Robh, thank's for the fast answer. Just...

    Hi Robh, thank's for the fast answer.

    Just one last question, do you know when this feature will be implemented?

    bye.
  12. Replies
    24
    Views
    9,178

    How to use java 1.5 generics features

    Hi,

    I would like to know if is possible to use generics with BeanFactory and how to use it?

    thank's

    Moa.
  13. Hi Thomas! Yes and ... class path...

    Hi Thomas!



    Yes and ...


    class path resource [br/syndeo/dms/domain/pessoa] cannot be resolved to URL because it does not exist

    Seems that the initial / was removed.
  14. First, I have to thank you katentim for the help....

    First, I have to thank you katentim for the help. ;-)



    Just let me add some new usefull information that I've just forgot.
    This is an EJB component, so it will be pakaged in a Jar file and the...
  15. Cannot be resolved to URL because it does not exist

    Hi,

    Take a look at this file:


    <!-- Hibernate SessionFactory -->
    <bean id="sessionFactory" class="org.springframework.orm.hibernate.LocalSessionFactoryBean">
    <property...
  16. Replies
    3
    Views
    5,387

    Problem Solved

    Hi,

    the problem was caused by an incomplet hibernate.cfg.xml configuration.


    <property name="configLocation">
    <value>META-INF/hibernate.cfg.xml</value> ...
  17. Replies
    3
    Views
    5,387

    Resource: Add valid path not found

    Hello peaple!!

    I'm trying to run some unit tests with JUnit but I´m getting some errors messages.


    org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name...
  18. Replies
    3
    Views
    881

    Problem Solved

    It works!!!
    Thanks for help!
  19. Replies
    1
    Views
    2,731

    could not instantiate CacheProvider

    Hi!

    Someone knows about this error


    2005-05-06 14&#58;22&#58;37,515 INFO &#91;net.sf.hibernate.cfg.SettingsFactory&#93; Optimize cache for minimal puts&#58; false
    2005-05-06 14&#58;22&#58;37,515 INFO ...
  20. Replies
    3
    Views
    881

    Where are the files?

    Hi!

    What about this?


    Error creating bean with name 'sessionFactory' defined in class path resource &#91;META-INF/applicationContext-hibernate.xml&#93;&#58; Initialization of bean failed; nested exception...
  21. Replies
    10
    Views
    25,999

    Problem Solved

    Hi everybody!!

    Tanks to all you folks that try to help me.

    The solution

    I begin to review all configuration files from my project and a discovery that my ejb-jar.xml and jboss.xml doesn´t...
  22. Replies
    10
    Views
    25,999

    JBoss DataSource not found

    Hi people!!!

    I'm trying to use spring + Hibernate + Ejb.
    I started with the dataSource configuration on JBOss AS.
    What I´ve done:

    1 ). Create a mysql-ds.xml and put it into...
  23. Replies
    4
    Views
    1,391

    Creating and using ApplicationContext

    Hi to all!

    I know that ApplicationContexts can be created declaratively using for example a ContextLoader.

    I´m using the ContextLoader implementations: ContextLoaderListener.

    So I register...
  24. Replies
    2
    Views
    1,444

    Problem Solved

    Hi!

    Thank's a lot for your help. It realy works!

    Bye.
  25. Replies
    2
    Views
    1,444

    Where is beans.xml

    Hi!

    When I try to load a bean using BeanFactory, the file was not found. Where I have to put this file?

    package syndeo.teste;

    import org.springframework.beans.factory.xml.XmlBeanFactory;...
Results 1 to 25 of 25