You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by ro...@bowtech.com on 2003/07/07 21:57:09 UTC

newbie: ODMG vs. JDO


Hi All,

I am in the process of setting OJB up.  Have the tutorials working.

Wondering what the reasons are for using ODMG vs. JDO

Will be running on Tomcat with struts/jsp front. 
Approx 5000 lines in the largest table.  
Moderate complexity in table relationships.


Regards

Ross Rotherham

DateTime in OJB

Posted by Mykola Ostapchuk <my...@sympatico.ca>.
Hello,

Can anybody tell me how to map DateTime MySql field in OJB?


My realisation is the next:

<field-descriptor id="13" name="userDateInserted" column="US_date_inserted"
jdbc-type="TIMESTAMP"

conversion="org.apache.ojb.broker.accesslayer.conversions.JavaDate2SqlTimest
ampFieldConversion"/>

userDateInserted - of type java.util.Date.

After setting the Date, OJB (?) inserts right date. But time is 1 hour minus
of actual time (minutes and seconds are right).
Any suggestions?


Regards,
Mykola


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org


Re: newbie: ODMG vs. JDO

Posted by Armin Waibel <ar...@code-au-lait.de>.
Hi,

current JDO implementation is a prototype
and not ready for production environment
(full JDO implementation is scheduled for 2.0).

please see (PB/ODMG/JDO comparison)
http://db.apache.org/ojb/faq.html

or search user list for more info.

regards,
Armin

----- Original Message ----- 
From: <ro...@bowtech.com>
To: "OJB Users List" <oj...@db.apache.org>
Sent: Monday, July 07, 2003 9:57 PM
Subject: newbie: ODMG vs. JDO




Hi All,

I am in the process of setting OJB up.  Have the tutorials working.

Wondering what the reasons are for using ODMG vs. JDO

Will be running on Tomcat with struts/jsp front. 
Approx 5000 lines in the largest table.  
Moderate complexity in table relationships.


Regards

Ross Rotherham



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org