Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 370908

Summary: New library code generator for database access
Product: z_Archived Reporter: Song Fan <songfan>
Component: EDTAssignee: Song Fan <songfan>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: chenzhh, jinfahua, smythew, songfan
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 370673    

Description Song Fan CLA 2012-02-08 02:31:12 EST
Build Identifier: 

see bug 370673 for more details

Reproducible: Always
Comment 1 Song Fan CLA 2012-02-27 00:48:38 EST
Hi Will,

I'm wondering if the source for the library would look almost same as the service code.

For example:

library TestDBAccessLibrary

    dataSource SQLDataSource? { @Resource{uri = "abc"}};  
    use ConditionHandlingLib;

    //same as the add functions with Service
    function addXXX
    end

    //same as the get functions with Service
    function getXXX
    end
    
    //other CRUD functions...

end
Comment 2 Will Smythe CLA 2012-02-27 09:16:22 EST
I *think* the code is identical, other than the part type is "library" instead of "service".
Comment 3 Song Fan CLA 2012-03-12 02:22:40 EDT
fixed
Comment 4 Lisa Lasher CLA 2012-03-30 17:54:00 EDT
close