Hi
I have a DAO that uses the HibernateTemplate (which has a HibernateTransactionManager).
The Hibernate call is simply getHibernateTemplate().save(myobj);
Because of an error with our...
Type: Posts; User: adcspring; Keyword(s):
Hi
I have a DAO that uses the HibernateTemplate (which has a HibernateTransactionManager).
The Hibernate call is simply getHibernateTemplate().save(myobj);
Because of an error with our...
yes, as you said in my post http://forum.springframework.org/showthread.php?t=26149 this is a similar point.
what i would say to you is that hibernate and jdbc have their uses. we use both...
recently, when creating reports for applications, i have found myself creating dedicated rowmappers to hold the data structures and then sending the data to dedicated AbstractExcelView subclasses to...
www.adcworks.com/blog
I've often seen people struggling with this, but really it's quite easy to using spring:bind to Calendar fields.
I've blogged my solution (using a simple modification of the built-in...
omg read the frickin post thread!!!!!
I, yes I am aware of these injector methods but I don't think you can call them at all stages of a request workflow. The earliest time i could find to try them out was onBind right at the start of...
Our website contains various layouts for different sub-sites. For example, the main website will have layout "core" at www.domain.com but various sub-sites like www.domain.com/subsitea and...
Hi,
Does that mean a String[] is created from a multi-select? Do youhave sample code for how that looks within a spring:bind?
Many thanks.
Hi,
I've found several older (2004) references to the general area of binding, e.g using initBinder, custom editors and so on, but nothing recent.
Is there now a definitive mechanism in the...
we have created a spring driven framework that many current ASP sites will be migrated to. unlike the ASP sites which are all separate, the spring framework we have developed will run all sites from...
Hi,
Is there a method by which changes to the frontcontroller-servlet.xml (containing handler mappings to controllers) can be reloaded on the fly without removing current mappings until it's fully...
I've read up on AOP in Spring in Action and it looks very cool. Not sure if it's a little OTT for what I need. I already have a RequestFilter and I've decided (and tested) getting my page object...
Are you able to point out a few of the objects/interfaces involved in your interceptor solution?
In particular, are you able to access services/daos from within interceptors, i.e can these be...
Hi,
I'd like to seek design advice using Spring MVC as I have a requirement that is complicated by Spring's different super-classes for various types of request processing.
Essentially, a user...
Hi Rob,
OK, I will try and do that for you. It will need to wait until Monday as I am off tomorrow. Will add it into my diary.
Cheers, Allistair.
We've resolved this issue simply by renaming pageURL to pageUrl in the command class.
It strikes me as odd however, since even when it was pageURL, it was still binding the value correctly first,...
Hi Rob,
Sure I can .. below. I thought it may have been something in the setPageURL method such as either accumulating the instance's value rather than overwriting OR incorrect bean set name, i.e...
Hi,
Hopefully a simple one. I am finding some unexplainable behaviour from the binding of command objects for a SimpleFormController.
I have a link of the following type
...
setFunction(false) did the job, thanks for your time and help.
Hi,
We are finding an odd issue with StoredProcedure. We've created a subclass of StoredProcedure, in whose contructor we perform
declareParameter(new SqlParameter("strSite", Types.VARCHAR));...
Hi,
New to Spring from Struts and loving it. However, have a structural issue that I would like to put to you.
We represent web pages in our database as Page rows. The URL for a given request...
Hi,
I have a Struts inheritence structure as follows
Action
+ MySecureBaseAction
+ AppSpecificBaseAction
+ AppAction
The MySecureBaseAction implements the struts execute...
i tried the same config with a jndi datasource instead of adding the proxool options to hibernateProperties and create/update works.
it looks like it's
1. Proxool related
2. caused by hbm2ddl...
Hello,
I've bought into Spring for our DAO config and have been wiring up Hibernate 3 accordingly.
Everything was going very smoothly indeed. I have comprehensive log4j logging and no errors...