Re: dynamic repository.xml(Scanned for viruses: Notes Admin)

2003-04-04 Thread vberezniker
I had a similar problem. As I understand the documentation internally OJB uses classloader's getResource method. It seems that it tries to load file from pwd as the lest resort. However, I beleive it will load the file from class path if its there (e.g. root of jar file). I personally have r

Re: OJB date => jdbc date is not saving time part(Scanned for viruses: NotesAdmin)

2003-04-03 Thread vberezniker
In the repository_*.xml file specify the type as TIMESTAMP but leave it as DATE in oracle. Sincerely, Vladimir Berezniker Sr. Programmer Analyst Staten Island University Hospital [EMAIL PROTECTED] 04/03/2003 06:39 PM Please respond to "OJB Users List" To: "OJB Users List" <[EMA

Re: OJB date => jdbc date is not saving time part(Scanned for viruses: NotesAdmin)

2003-04-03 Thread vberezniker
If I am not mistaken java.sql.Date does not have a time part. You can use java.sql.Timestamp or you can use java.util.Date (which contains date & time) and use attribute conversion="org.apache.ojb.broker.accesslayer.conversions.JavaDate2SqlTimestampFieldConversion" Hope this helps, Vladimir B

Re: Nested fields (was: Object spanning multiple columns)(Scanned forviruses: Notes Admin)

2003-04-02 Thread vberezniker
I read up on Nested fields and I have a question about PersistentNestedFieldMaxPerformanceImpl and PersistentFieldMaxPerformanceImpl. After digging through the code it seems that PersistentNestedFieldMaxPerformanceImpl would behave the same as PersistentFieldMaxPerformanceImpl in cases when the

RE: Object spanning multiple columns(Scanned for viruses: Notes Admin)

2003-04-02 Thread vberezniker
Thank you, This gives me a perfect place to start. Sincerely, Vladimir Berezniker Sr. Programmer Analyst Staten Island University Hospital Mahler Thomas <[EMAIL PROTECTED]> 04/02/2003 02:33 AM Please respond to "OJB Users List" To: "'OJB Users List'" <[EMAIL PROTECTED]>

Object spanning multiple columns(Scanned for viruses: Notes Admin)

2003-04-01 Thread vberezniker
Hi, I am trying to use OJB to abstract the object persistence. I have a class that represents amounts for 12 accounting periods, class FiscalValues. I want to save this to a record in a table. My hope was to use conversion class. Unfortunately the data would need to spawn multiple