Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370908 - New library code generator for database access
Summary: New library code generator for database access
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Song Fan CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 370673
  Show dependency tree
 
Reported: 2012-02-08 02:31 EST by Song Fan CLA
Modified: 2017-02-23 14:05 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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