[Cosmo-dev] hibernate prototype

rletness at simdeskcorp.com rletness at simdeskcorp.com
Tue Aug 15 08:17:40 PDT 2006


Brian,

I've just about finished a hibernate persistence layer prototype.  This 
layer consists of an object model (based on org.cosmo.model) new dao 
interfaces, and hibernate implementations of the daos.  In addition to a 
new User and Ticket dao, there is a Content (for general content/files) 
and Calendar (for calendar objects) dao.  These two daos should give you 
all the methods necessary for supporting webdav and caldav.  I have done 
some initial tests on large datasets and the results are very promising 
(sub second time-range/property queries).  There is still a lot of 
optimizing to be done, but it is a good start.  I have tested using 
mysql and derby.

I've been developing this outside of the cosmo environment as a 
stand-alone layer(to speed things up), and its baked enough to where I 
can start integrating it into the cosmo source via the sandbox.  Is the 
sandbox up to date?  Also, I'm new to maven so I'm trying to figure out 
how to add in dependency support.  What do I do if I I have a dependency 
that isn't found on one of the maven repositories?

My goal is to have a first-pass checked in by the end of the week so you 
can start re-factoring jcr-server.  I forsee a bunch of changes as you 
find out what works/what doesn't.  I just want to get something in place 
so we can move forward.

-Randy


More information about the cosmo-dev mailing list