Ok so I switched to this:
// Set output paramters
declareParameter(new SqlOutParameter(RSID_OUT, Types.VARCHAR));
declareParameter(new SqlOutParameter(RECRUITER_ID_OUT,...
Type: Posts; User: bill.may@synesis7.com; Keyword(s):
Ok so I switched to this:
// Set output paramters
declareParameter(new SqlOutParameter(RSID_OUT, Types.VARCHAR));
declareParameter(new SqlOutParameter(RECRUITER_ID_OUT,...
Ok so I tried this:
/**
*
* @param dataSource
*
* @spring.constructor-arg ref="lemaDataSource"
Thanks for replying!
I have never used stored procedures before. Are you refering to the column names for output parameters?
Here is the code I have:
/**
*
* @param dataSource
*
* @spring.constructor-arg ref="lemaDataSource"
*/
public RzSpMissionPerformanceDAOImpl(DataSource dataSource) {
I downloaded activation.jar and mail.jar from SUN. Life is good (so far) Still need to deploy this into JBoss.
Got it, thanks for all the help.
It seems I am missing a JAR... Any clue as to which one?
Exception Trace:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mailSender' defined in...
Yeah, that is what I was thinking... Just wanted to make sure there isn't a better way w/ Spring.
When using Spring w/ Hibernate. Where do you guys feel is the best place to declare and define named queries at?
Thank you.
Hey now, don't be a hater! :D
Thanks alot guys... What do you know, pg 140 of Hibernate In Action talks about this.
Again, thank you very much!
Hey Rod, could you please take a look at my post
Revisiting our old friend LazyInitialization Exception and tell me what is up there?
The following is my code.
public final void testApproveDocApprovalWorkFlowItem()
{
ApplicationContext context = null;
I am taking a look at Raibles examples now...
MUCH Appreciated :) :D :cool: :cool:
We kinda got it working... But not in the way that the Senior Spring people would say...
refer to thread for how we current have it working:...
public void saveChangeCase(final ChangeCase changeCase)
{
HibernateTemplate template = getHibernateTemplate();
template.execute(
...
public void saveChangeCase(ChangeCase changeCase)
{
HibernateTemplate template = getHibernateTemplate();
template.saveOrUpdate(changeCase);
...
Gentlemen,
Thank you very much for your help.
Arno, I implemented your method. I feel it is quite elegant.
Are you having any problems w/ lazy loading?
Mark,
First, thank you for replying. I am attempting to do what you said to do, however I get the following error:
org.springframework.beans.factory.BeanDefinitionStoreException: IOException...
Hello everyone,
I am attempting to write a Spring + Hibernate application. Whenever I call getHibernateTemplate(), the method returns null.
Here is my code:
<?xml version="1.0"...