It seems really complex, to trick hibernate into not adding the id into an insert, but getting the id afterwards - the select generator really has it's drawbacks.
Some options i could think of:
...
Type: Posts; User: awurzer; Keyword(s):
It seems really complex, to trick hibernate into not adding the id into an insert, but getting the id afterwards - the select generator really has it's drawbacks.
Some options i could think of:
...
Ok, I'm sorry, I misunderstood the thing with the hibernate id and not using a generator.
Hibernate is right with the exception, in that case you must provide the id yourself. So that's not what you...
see the log4j manual, but assuming your using a properties file to configure log4j put the following into it:
log4j.logger.org.springframework=OFF
Cheers,
Assuming you're using log4j you could set the logging level for the org.springframework package to OFF.
Cheers,
You could take a look at springs own RequestContextFilterTests.
HTH
What a persistent bag is - from the Hibernate API Doc:
An unordered, unkeyed collection that can contain the same element multiple times. The Java collections API, curiously, has no Bag. Most...
Oh, and callable=true is only for stored procedures, see Hibernate Documentation
Cheers,
Hello MrCodeMan,
why do you choose a native id generator, when hibernate is not supposed to set the id!
Have you tried not to use a generator, which means the id is manually set/hibernate doesn't...
Looks like you're missing the CGLIB jar in your classpath. Hibernate is dependent on CGLIB.
HTH
Cheers,
Andreas Wurzer
Hello,
I've tried to upgrade a Spring 2.0.0 project to Spring 2.0.1. One problem occured with some of my ProxyFactoryBeans which should be intercepted by one of my AspectJPointcutExpressions.
My...
Ok, thats a reasonable argument.
JIRA-Issue #MOD-266
Thanks for your help!
Well that would be great, however I'm still missing the point with the multiple jbpm engine instances (since I have no use for multiple instances yet, but I will try to investigate this for myself)....
I'm sorry, but I don't see the problem with multiple jBPM instance definitions. As far as I can see the JbpmFactoryLocator is "only" the glue to dependency inject spring beans into jBPM...
Hello Costin,
thank you for your answer!
Since I'm using Spring 2 I think I will use Spring AOP for DI in jBPM Handlers instead of JbpmHandlerProxy and JbpmFactoryLocator. For making things work...
Hello,
The last few days I've tried to solve a problem with integration testing jbpm but I'm stuck. Due to the static nature of jbpm it seems that the applicationContext can't be...
Hello,
I think I've found a way to test the new bean scopes in spring 2.0 (request, session, globalSession).
See my blog entry here.
Let me know what you think about it!
Best regards,
Done... see #MOD-261
Best regards,
Hello!
It seems that hasMessages only returns true when there exists AT LEAST ONE message for EVERY type of message.
Consequentially I think it should should return true when there is AT LEAST...
After an update to the latest build, it simply works!!!
Thanks for your help!
Keep up the great work on spring web flow!
Andreas
uploadAction is defined in fileupload-servlet.xml (hope your familiar with spring essentials):
<bean id="uploadAction" class="org.springframework.webflow.samples.fileupload.FileUploadAction" />...
Hello!
I'm evaluating spring-webflow pre-rc4 (spring-webflow-1.0-rc4-20060928-1448) and have sucessfully adopted all of my implementations from rc3 (thanks to the great upgrade-guide you provide)....