Hello, I am trying to set up manual transaction handling till I figure out how to go the JTA route. However, I am getting a "session closed" exception after every call I make. I tried different...
Type: Posts; User: newbieguy; Keyword(s):
Hello, I am trying to set up manual transaction handling till I figure out how to go the JTA route. However, I am getting a "session closed" exception after every call I make. I tried different...
Hello,
I have done my objects with no transaction handling and am now trying to incorporate transaction handling. My setup is as follows :
I have 3 different datasources, 3 different...
I stumbled upon this site luckily. Not sure I know any other resources to goto for such issues. Can costin or any senior member say what is jira and how to access the dev mailing list ?
Thanks
From my experience, it is difficult to implement such an access control in a large scalable enterprise application. You will be losing out on performance too since you will not be able to use...
Hi all, maybe I should post this is the hibernate forum, but I recently moved to (Spring 1.2.1 + Hibernate 3.1) from Hibernate 2.1.3 and an insert that was previously working is now giving the...
Hi, can someone please point me to some working samples for using hibernatetemplate with a SQL Server stored procedure ? I am using hibernate 3.0.5.
All I am trying to do is update a flag to...
Thanks for your reply. I already figured out the problem. It was with one of my getters. And thus hibernate was not able to find the record for updating.
Kees, thanks for your reply. I already tried that and I think it is going out of memory, since there are about 20000 rows of data. Also, this is one step of a 5 step process (all 5 are batch...
Hello,
This is probably a trivial question, but I really can't seem to find a sample. I am using Hibernate 2.1.3 and need to perform a simple query
"update tbl set flag='1' where date=?"
...
Hello,
When I try to update a column in a table, I get the error "Could not synchronize database state with session". Any idea what I am doing wrong ?
Any help is much appreciated. Thanks!
...
Thanks wpoitras !
I have 3 different datasources that my application needs to connect to. I have designed a system based on domain model that requires a single DAO object to access 2 of those data sources as part of a...
Hi all, I am a new to Spring-hibernate and have a few basic questions. So here goes :
1) I have a table and a business object. However, after processing, I need to do a batch update and set the...
Thanks costin. I had a mapping element with the wrong data type in the hbm file. Works fine now!
hi, I am having a very strange problem. I am doing a persist of an object which has a SQL SERVER generated identity key. I am getting the following error trace :...
Arno, Im not sure I understand what you mean by the phrase
"There must be your named parameter - NOT ?"
the ? is the parameter for the SQL and I am calling it this way in my code :...
Thanks Arno, your reply was most helpful. I am getting the following error for my query. Anyone help me as to what is wrong? The query runs fine in my SQL Server client.
...
I would think it is in the .hbm file for the business object that is in the FROM part of the query.
Hi there,
I am trying to do a SUM function using a GROUP By clause in a Hibernate Query. I have no idea how this can be done, since all the examples I have seen on...
Hi there, newbie to jsf-spring-hibernate... new to this forum and this is my first posting. I have a very elementary question. Please dont reply back with "search old posts". I did search and could...