Search:

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

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. thank you very much. After SessionFactory...

    thank you very much.

    After SessionFactory injection i got "org.hibernate.LazyInitializationException: could not initialize proxy - no Session".

    We give up. Our "spring for web" experimental...
  2. LazyLoading caused session error | How to open session?

    Hi!

    All my DAOImplementations are @Repository's and extend the help class DAOSupport:



    @Transactional
    public abstract class DAOSupport {

    @Autowired
  3. Replies
    1
    Views
    273

    seems to be a bug, perhaps it will be solved in...

    seems to be a bug, perhaps it will be solved in the next 20 years.
  4. Replies
    1
    Views
    273

    @ComponentScan can't find my Controllers

    Hello,

    I'm going crazy...

    I'm trying to configure my application without XML files. I removed servlet-context.xml, root-context.xml and web.xml from my project.

    then i created 2 classes,...
  5. Replies
    5
    Views
    544

    ok thanks for your reply. im trying to...

    ok thanks for your reply.

    im trying to configure my mvc project without XML. is it possible to replace <context:annotation-config/> by any Annotation.
    I would like to dispense with...
  6. Replies
    5
    Views
    544

    http://static.springsource.org/spring-javaconfig/d...

    http://static.springsource.org/spring-javaconfig/docs/1.0.0.M4/reference/html/ch06s02.html

    there are a lot of tutorials using @AnnotationDrivenConfig but i will find it anywhere... ahmmm... ok....
  7. Replies
    5
    Views
    544

    @AnnotationDrivenConfig not found

    Hello,

    where can i find @AnnotationDrivenConfig. Perhaps i have to include some JARS?

    hier is my maven:



    <dependency>
    <groupId>org.springframework</groupId>
  8. Replies
    0
    Views
    266

    @ConstraintValidator | i18n

    Hello,

    if an error occurs, im getting error message "home.Error.BadInput.CountryCode". All other string are working well.
    My error messages AND other strings are defined in my lang_de.properties...
  9. Spring MVC - @Configuration | LazyInitializationException

    Hi

    this is my AppConfiguration



    import java.util.Properties;

    import javax.persistence.EntityManagerFactory;
    import javax.sql.DataSource;
  10. Replies
    3
    Views
    227

    thx! great solution.

    thx!

    great solution.
  11. Replies
    3
    Views
    227

    Strange behavior of my Controllers

    Hi,

    if i open the path "http://localhost:8080/myapp/myprofile/msgs" everything works fine.

    Now im trying to open my home directory, defined like this:


    <li><a href="home" title="${home_txt...
  12. hi problem is, if i try to call...

    hi

    problem is, if i try to call "www.myapp.com/myprofile" everything is OK. But if im calling "www.myapp.com/myprofile/msgs" the error occurs...


    servlet-context.xml


    ...
    <resources...
  13. WARN : PageNotFound - No mapping found for HTTP request

    Hi,

    i'm getting error if i try to call "http://localhost:8080/myapp/myprofile/msgs". I can see the page but the style and images are not available :/

    Error is:



    I guess it happens cause...
  14. I just had add @EnableTransactionManagement to my...

    I just had add @EnableTransactionManagement to my DatabaseConfiguration...

    problem solved.
  15. ERROR again... No Hibernate Session bound to thread...

    Hi i got this Exception:


    I found no information in this forum or WWW to solve the Problem.. pls help me :rolleyes:

    My configuration:

    root-context.xml
  16. Replies
    3
    Views
    872

    they are all deprecated...

    they are all deprecated...
  17. Replies
    1
    Views
    421

    How to configure Hibernate in Spring 3 MVC

    Hi i need some Help. ALL tutorial in the WWW are deprecated. All i want is to user Hibernate, Spring MVC, @Service, @Autowired, @Transactional and so on...

    I tried to user SpringDoc but its a load...
  18. Replies
    3
    Views
    872

    How to configure Hibernate in Spring 3

    Hi

    what is the right way to configure Hibernate in Spring 3 MVC application?

    This is my old solution from other non Spring Applications, i believe there is not the best way to configure...
  19. How to handle multiple POST-methods in one Controller?

    Hi

    My Controller : "AccountController" have to handle multiple POST-requests for Example SendPrivateMessage, SaveProfileSettings etc.



    @Controller
    @RequestMapping(value = "/profile")...
  20. Hi could you pls explain how can i setup the...

    Hi

    could you pls explain how can i setup the sessionfactory with SessionFactoryBean? I found examples with Spring 2 only (XML <bean> definition), but im using Spring v3...

    property...
  21. JDBCConnectionException: Cannot open connection | Properties OK (?)

    Hi
    DB: MYSQL
    My Hibernate and C3P0 Settings are:


    try {
    Configuration cfg = new Configuration()
    .setProperty("hibernate.connection.driver_class",...
  22. Replies
    2
    Views
    803

    the main problem is, after deleting of the...

    the main problem is, after deleting of the Message i do redirect to "mymessages" but the Url shows still "mymessages?remove_pm_ID=12"... :(
  23. Replies
    2
    Views
    803

    How to hide URL Request parameters

    Hi

    My Example:

    Url: www.myhost.com/mymessages -> lists all Messages the User has in his Message Box.

    Now i have to make it possible to remove some Messages. So im using request parameter...
  24. Error: getLastAccessedTime: Session already invalidated

    Hi!

    I got Exception



    why it happens and how can i avoid this problem?
  25. Replies
    0
    Views
    156

    form:input, how to set pathAttribute right???

    Hi Im using form:input like this:

    <fmt:message key="streetFromEx" var="psf" />
    <form:input placeholder="${psf }" name="streetFromField" path="streetFrom" id="streetFromField" type="text" />
    ...
Results 1 to 25 of 38
Page 1 of 2 1 2