You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Bing Yang <d_...@yahoo.com> on 2004/02/27 18:30:40 UTC
Upgrade slide to release 2.0 beta
Hi, everyone
Glad to see some big improvements on slide2. I got a
question. I'm working on a online content management
project which uses silde1.06 API. We use
JDBCDescriptors store and have our in-house interface
framework. Everything works fine.
Right now, we would like to upgrade to release2. It
seems that release2 is incompatible to previous
versions. Is any body under same situation? Or are
there any suggestions how I can migrate to release2
smoothly?
Thank,
Bing
__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: Upgrade slide to release 2.0 beta
Posted by Martin Holz <ho...@fiz-chemie.de>.
Bing Yang <d_...@yahoo.com> writes:
> Hi, everyone
> Glad to see some big improvements on slide2. I got a
> question. I'm working on a online content management
> project which uses silde1.06 API. We use
> JDBCDescriptors store and have our in-house interface
> framework. Everything works fine.
> Right now, we would like to upgrade to release2. It
> seems that release2 is incompatible to previous
> versions. Is any body under same situation? Or are
> there any suggestions how I can migrate to release2
> smoothly?
Either you convert your data or you use the OldJDBCAdapter
with the new J2EEStore. However the OldJDBCAdapter
does not implement the ContentStore interfaces.
Some changes are required to the old database schema
for the OldJDBCAdapter. There is a new column in locks
and you MUST add unique constraints, since the J2EEStore
allows parallel write operations.
For Postgres it looks like this.
alter table locks add column ownerinfo varchar(255);
alter table children add constraint children_constraint unique (uri,childuri);
alter table links add constraint link_constraint unique (link,linkto);
alter table revision add constraint revision_constraint unique (uri,xnumber);
alter table property add constraint property_constraint unique (uri,xnumber,name,namespace);
I have no experience how reliable the OldJDBCAdapter works under high load.
Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: Upgrade slide to release 2.0 beta
Posted by Oliver Zeigermann <ol...@zeigermann.de>.
Hi Bing!
2.0 is incompatible to 1.0 that's right :(
Although I have no solution at hand, I would propose to have both 1.0
and 2.0 schemas created in the same database and create some "select
into ..." SQL statements and copy the old data from the old scheme to
the new one. This is quite a piece of work, but I have no better idea :(
If you actually decide to go this way, please donate your code to the
community...
Cheers,
Oliver
Bing Yang wrote:
> Hi, everyone
> Glad to see some big improvements on slide2. I got a
> question. I'm working on a online content management
> project which uses silde1.06 API. We use
> JDBCDescriptors store and have our in-house interface
> framework. Everything works fine.
> Right now, we would like to upgrade to release2. It
> seems that release2 is incompatible to previous
> versions. Is any body under same situation? Or are
> there any suggestions how I can migrate to release2
> smoothly?
>
> Thank,
> Bing
>
> __________________________________
> Do you Yahoo!?
> Get better spam protection with Yahoo! Mail.
> http://antispam.yahoo.com/tools
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org