Bing Yang <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
