Flushing on the Session was my first guess. I tried again just now using the HibernateTemplate's flush routine outside my custom callback, but Hibernate still doesn't seem to be updating the primary...
Type: Posts; User: mdavidn; Keyword(s):
Flushing on the Session was my first guess. I tried again just now using the HibernateTemplate's flush routine outside my custom callback, but Hibernate still doesn't seem to be updating the primary...
I need to insert a pair of related objects in a single transaction with Hibernate 3. I cannot use Hibernate's built-in cascading because my DAO performs special processing on each entity. So instead...
I've been using maps of integer to boolean values to implement multi-select lists with Spring MVC. Is there a better way? My method requires that I write special code to extract all the "true"...
Geez ... My IDE somehow imported java.net.BindException rather than org.springframework.validation.BindException. :oops:
Thanks for your help! It's working now.
Matthew
That's strange indeed. I added some log output to my own code, and discovered that the doSubmit method in my controller is never invoked! For some reason, it isn't overriding the method from...
I've been re-reading the documentation and looking through more Spring source code, and the whole transaction framework is beginning to make a lot of sense. However, I still can't get my application...
Howdy.
The log is filled with all sorts of select statements, but no insert statements or Hibernate exceptions. Also, the PostgreSQL sequence I use for generating keys is not advancing with each...
Thanks for all your help!
The TransactionProxyFactoryBean initializes correctly when I start up my application, but I still have the same problem. The ID field is left null, and nothing is...
Okay, thanks. I have a follow-up problem, if you don't mind.
I set up a thread-local transaction using the interceptor and a HibernateTransactionManager. I have no idea if the transaction manager...
Hello,
This may sound silly, but how do I declare the creation of thread-local Hibernate sessions with simple JDBC transactions? I'm writing a relatively simple web application, and I need...
klb, could you explain that a little more? I'm having a similar problem with dynamic lists from which the user may select any number of items.
Matthew
My apologies. I think may have mixed Spring JAR and TLD files at some point ... :roll:
Matthew
In the 1.1.2 release, the BindStatus class is in both packages.
Matthew
I'm very new to the Spring Framework, so please let me know if I'm missing something ...
I was attempting to use the <spring:bind> tag in a JSP 2.0 document. I was receiving all kinds of weird...