Search:

Type: Posts; User: newbieguy; Keyword(s):

Search: Search took 0.01 seconds.

  1. Manual Transaction Handling simple question

    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...
  2. Replies
    0
    Views
    544

    JtaTransaction Handling

    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...
  3. I stumbled upon this site luckily. Not sure I...

    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
  4. Replies
    5
    Views
    1,166

    From my experience, it is difficult to implement...

    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...
  5. Error after moving from hibernate 2.1.3 ro 3.1

    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...
  6. Replies
    0
    Views
    672

    Stored procedure

    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...
  7. Thanks for your reply. I already figured out the...

    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.
  8. Replies
    3
    Views
    828

    Kees, thanks for your reply. I already tried that...

    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...
  9. Replies
    3
    Views
    828

    Help for batch update

    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=?"
    ...
  10. Error - Could not synchronize database state with session

    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!
    ...
  11. Replies
    2
    Views
    928

    Thanks wpoitras !

    Thanks wpoitras !
  12. Replies
    2
    Views
    928

    DAO and data source

    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...
  13. Replies
    1
    Views
    817

    A few questions related to data access

    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...
  14. Replies
    2
    Views
    911

    Thanks costin. I had a mapping element with the...

    Thanks costin. I had a mapping element with the wrong data type in the hbm file. Works fine now!
  15. Replies
    2
    Views
    911

    Problem with getHibernateTemplate.save

    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 :...
  16. Replies
    5
    Views
    4,805

    Arno, Im not sure I understand what you mean by...

    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 :...
  17. Replies
    5
    Views
    4,805

    Thanks Arno, your reply was most helpful. I am...

    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.
    ...
  18. Replies
    4
    Views
    1,405

    I would think it is in the .hbm file for the...

    I would think it is in the .hbm file for the business object that is in the FROM part of the query.
  19. Replies
    5
    Views
    4,805

    Group By question

    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...
  20. Spring Hibernate Multiple sessionFactories

    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...
Results 1 to 20 of 20