portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Sean Taylor" <da...@bluesunrise.com>
Subject RE: Using peer classes for DatabasePsmlManagerService Implementation
Date Thu, 30 Aug 2001 05:57:12 GMT
Hi Atul, 

Look at Torque. It will generate a lot of the code that you need.

Hope you had a good vacation :)

David
 

 

> -----Original Message-----
> From: Atul Dambalkar [mailto:adambalk@cisco.com]
> Sent: Tuesday, August 28, 2001 10:50 AM
> To: jetspeed-dev@jakarta.apache.org
> Cc: david@bluesunrise.com; jmcnally@collab.net; jon@latchkey.com
> Subject: Using peer classes for DatabasePsmlManagerService
> Implementation
> 
> 
> Hi,
> 
> As you may know, I am working on DatabasePsmlManager 
> implementation. At 
> first I was concentrating on the interface definitions and 
> since now, that 
> is getting along quite well, I am now trying to concentrate 
> on supporting 
> different types of databases on the same lines as turbine does.
> 
> I was going thro' Turbine documentation, and coming to a 
> conclusion that in 
> order to achieve full database independence, we need to use 
> Peer classes in 
> Jetspeed for the Database Tables we proposed (currently for 
> Oracle). I need 
> some help related to generating and using Peer classes.
> 
> 0. Do I need to use peer classes?
> If yes:
>    0. How should I generate peer classes? The only way to 
> generate peer 
> classes is thro' build.xml, that is available in Turbine
>    1. I guess, I will also have to write MapBuilder class similar to 
> TurbineMapBuilder.
>    2. How does, map builder figures out about usage of 
> database SEQUENCE or 
> AUTO INCREMENT columns
> else:
>    0. Is only Village API sufficient for handling all the 
> database operations?
>    1. I guess, figuring out SEQUENCE or AUTO INCREMENT is not 
> possible 
> thro' Village API
> 
> Thanks.
> 
> -Atul
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message