Re: ImplicitLocking clarification / confusion

2005-09-08 Thread Armin Waibel
Hi Colin, > Can someone kindly explain this to me? Well! Good question ;-) The current definition for 'implicit locking' only include objects returned by oql-queries. These objects will not be locked. Your problem is caused by "overeager" object state detection. On insert/update of objects O

ImplicitLocking clarification / confusion

2005-09-08 Thread Colin Kilburn
Hello, I'm using OJB 1.0.3 with the ODMG api and I'm confused about implicit locking. I prefer from past experience to have ImplicitLocking=false in my OJB.properties and this is what I've done for quite some time. I've started getting (sometimes) LockNotGrantedExceptions on objects that I

Restart of Appserver

2005-09-08 Thread Baheti, Abhishek
Hello , I have a OJB based Struts application. I am placing the OJB.properties file in WEB-INF\classes folder and Using OJB rc4.jar. The problem we are facing is 1. We need to restart the App Server ( Sun One) each time the application is deployed . 2. Client want to move the proeprties file outs

Re: Disabling Optimistic Locking at Runtime

2005-09-08 Thread Colin Kilburn
Thanks Armin, that the remove/re-add field descriptor seems to work for me. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to store images

2005-09-08 Thread Bobby Lawrence
I have successfully used OJB with BLOB database types and a byte[] in the corresponding class. --Bobby Hiller, Frank RD-AS2 wrote: Hello OJB users, I like to store images in Oracle 8i, later 10g. What is the recommended way to do that? What Java data type should I use (Blob, BufferedImage,

How to store images

2005-09-08 Thread Hiller, Frank RD-AS2
Hello OJB users, I like to store images in Oracle 8i, later 10g. What is the recommended way to do that? What Java data type should I use (Blob, BufferedImage, ...)? I'm sure there is a document availabe that I haven't found yet. Thank you, Frank Confidentiality note: The information in thi

Re: Boolean2IntFieldConversion with TINYINT

2005-09-08 Thread Thomas Franke
Thomas Dudziak wrote: > Therefore you'll have to either use BIT as the JDBC column type or > write your own Boolean2Byte conversion (simply copy the code of the > Boolean2Int conversion and replace Integer with Byte). That's true. We have also our own conversions for example a Long2Calender conver