Hi Kirill,

Kirill Petrov wrote:
Hello everybody,

I have a class that has a property which is a Vector of Strings. I looked through the mail archive and learned that OJB at some point did not support that.

did you read these sections in docs? Maybe this can help you.

http://db.apache.org/ojb/docu/guides/jdbc-types.html#Type+and+Value+Conversions+-+The+

OJB is shipped with a StringVector2VarcharFieldConversion, maybe this is useful for you.
All conversions can be found here
http://cvs.apache.org/viewcvs.cgi/db-ojb/src/java/org/apache/ojb/broker/accesslayer/conversions/?only_with_tag=OJB_1_0_RELEASE


Another feature is here
http://db.apache.org/ojb/docu/guides/advanced-technique.html#Nested+Objects

regards,
Armin

It was proposed to use a wrapper class instead of a primitive. What is the situation now? Can we map multiple primitives using OKB without wrappers?

Kirill


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to