[Hibernate] hibernate, MS Sql linked Server & stored procedure

2003-12-10 Thread Jack W
Hi, my next application will talk to two different databases, MS SqlServer and Dbase. I know there is the linked-server function in MS SqlServer, with which, I only need to talke with SQLServer and let it handle the transaction with the Dbase table. I implemented it in SQLServer, but is it possible

[Hibernate] ResultSet can not re-read row data for column

2003-11-07 Thread Jack W
Hi All, I kept getting this exception in my application. Except change the the JDBC Drive (I am using the MS Version), is there any other way to solve this? I have an Employee entity, a Project entity and every Employee manage a list of his favorite projects as MyProject list. And in the mapping,

[Hibernate] session.disconnect() vs. session.close()

2003-11-04 Thread Jack W
Hi, I am a newbie in Hibernate and I am thinking about applying Hibernate to a project I will work on in the next few month. And for the project, concurrency may not be high but data stale can be a disaster. Thus, I am wondering if it is better to always use session.disconnect() in the business lay

[Hibernate] session.disconnect() Vs session.close()

2003-10-31 Thread Jack W
Hi, I am a newbie in Hibernate and I am thinking about applying Hibernate to a project I will work on in the next few month. And for the project, concurrency may not be high but data stale can be a disaster. Thus, I am wondering if it is better to always use session.disconnect() in the business lay