Re: PropertySet 1.0.x to 1.2.x conversion
Colin Sampaleanu <[email protected]> Fri, 06 Feb 2004 18:56:22 -0500
| Newsgroups | gmane.comp.java.open-symphony.devel |
|---|---|
| Message-ID | <[email protected]> |
Actually that's not true. For some unknown reason, the entry's 'key'
field has changed the matching db column name from 'key' to 'keyvalue'.
This seems to be very arbitrary and annoying (unless I'm missing
something), as the code itself still seems to be the same, but it added
another schema piece I have to migrate.
from oscore roughly 1.0, PropertyEntryEJB.java:
/**
* @ejb:persistent-field
* @ejb:interface-method
* @jboss:column-name name="key"
* @weblogic:dbms-column key
* @orion:persistence persistence-name="key"
* @ejb:persistence column="KEY"
*/
public abstract String getKey();
from propertyset 1.2, PropertyEntryEJB.java:
/**
* @ejb.interface-method
* @ejb.persistence column-name="keyvalue"
*/
public abstract String getKey();
Regards,
Colin
Hani Suleiman wrote:
>Yeah, none of the schemas have changed.
>
>Colin Sampaleanu said:
>
>
>>Colin Sampaleanu wrote:
>>
>>
>>
>>>I am currently converting an app from OSWorkflow 1.0 to 2.6. The DB
>>>conversion was relatively straightforward (although less than
>>>enjoyable) since it is for the most part documented. I am actually
>>>going to fix up a few glitches in the docs on the wiki and contribute
>>>a program which does the conversion.
>>>
>>>However since OSWorkflow depends on PropertySet, I now seem to have
>>>come to the nasty part. Is there any documentation on converting an
>>>existing schema/data from PropertySet 1.0.x (seems like OsWorkflow 1.0
>>>uses PropertySet 1.0.0) to version 1.2 (which is what OsWorkflow 2.6
>>>seems to use). Looks like the many tables used before, one for each
>>>entity type, have been consolidated into the one entry table. I am
>>>just starting this conversion, and will of course figure things out
>>>from the source if needed, but if there is any existing document or
>>>email that already spells it out, it would be much appreciated...
>>>
>>>
>>>
>>Never mind. I did not realize that the different impls. of PropertySet
>>used different schemas. I was comparing the PropertySet 1.0.0 EJB impl's
>>schema to the PropertySet 1.2 JDBC impl's schema. Looks like the EJB
>>schema has not changed...
>>
>>
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn