jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amsmota <amsm...@gmail.com>
Subject Re: Using diferent database schemas
Date Tue, 06 May 2008 10:23:53 GMT

How about implementing it like this?

if schemaObjectPrefix.hasADot
   dbSchema = everythingUpToAndIncludingTheFirst(".")
   schemaObjectPrefix = everythingFromTheFirstUntilTheEnd(".")
   schemaObjectPrefix.escapeTheCharacters()
else
   continueToDoWhatIsDoingNow
end

That way the backward compatibility is assured. 

It is somewhat a ugly solution, thus...

 


-- 
View this message in context: http://www.nabble.com/Using-diferent-database-schemas-tp16993168p17079909.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message