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...
Type: Posts; User: dit; Keyword(s):
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...
Hi!
All my DAOImplementations are @Repository's and extend the help class DAOSupport:
@Transactional
public abstract class DAOSupport {
@Autowired
seems to be a bug, perhaps it will be solved in the next 20 years.
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,...
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...
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....
Hello,
where can i find @AnnotationDrivenConfig. Perhaps i have to include some JARS?
hier is my maven:
<dependency>
<groupId>org.springframework</groupId>
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...
Hi
this is my AppConfiguration
import java.util.Properties;
import javax.persistence.EntityManagerFactory;
import javax.sql.DataSource;
thx!
great solution.
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...
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...
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...
I just had add @EnableTransactionManagement to my DatabaseConfiguration...
problem solved.
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
they are all deprecated...
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...
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...
Hi
My Controller : "AccountController" have to handle multiple POST-requests for Example SendPrivateMessage, SaveProfileSettings etc.
@Controller
@RequestMapping(value = "/profile")...
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...
Hi
DB: MYSQL
My Hibernate and C3P0 Settings are:
try {
Configuration cfg = new Configuration()
.setProperty("hibernate.connection.driver_class",...
the main problem is, after deleting of the Message i do redirect to "mymessages" but the Url shows still "mymessages?remove_pm_ID=12"... :(
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...
Hi!
I got Exception
why it happens and how can i avoid this problem?
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" />
...