Template-Driven Type Conversion Utility for Stored Procedures

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current software applications face challenges in automatically publishing stored procedures and performing type and mode conversions between different programming languages and interfaces, leading to time-consuming and error-prone manual coding processes.

Innovation Solution

A template-driven type and mode conversion utility that accesses templates to direct parameter conversions, enabling flexible and efficient publishing of procedures by mapping different type and mode representations across various programming languages and interfaces.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If manual coding is used to create interfaces for accessing stored procedures, then the interfaces can be customized to match specific requirements, but the process becomes time-consuming and error-prone

Engineering Contradiction:
Improveinterface accuracyVSAvoidcoding time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs self-service by automatically generating interface code based on stored procedure metadata. The code generator examines the stored procedure definition, extracts parameter information, and autonomously creates the necessary Java interface code without requiring manual programming, thus eliminating time loss while maintaining accuracy through automated validation

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent replaces the mechanical process of manual coding with an automated computational system. The code generator uses algorithms to parse stored procedure metadata, transform it into interface definitions, and generate complete Java code, substituting the mechanical act of writing code by hand with an automated information processing system

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Productivity

If automatic code generation is implemented, then coding time is reduced, but the complexity of the system increases

Engineering Contradiction:
Improveinterface generation speedVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system segments the complex task of interface generation into distinct manageable phases: metadata extraction from stored procedure definitions, parameter type analysis, code template selection, and code generation. This segmentation allows the complex system to operate through simple, well-defined steps, reducing perceived complexity while maintaining high productivity

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The code generator handles complexity by dynamically adjusting parameters such as data types, mode mappings, and code templates based on the specific stored procedure being processed. By changing parameters rather than handling every possible case with complex logic, the system maintains simplicity while adapting to different scenarios efficiently

Inventive Principle:
Principle #35Parameter changes

3Adaptability or versatility

If type and mode conversions are performed automatically, then interoperability between different systems is improved, but the difficulty of detecting and measuring conversion accuracy increases

Engineering Contradiction:
Improvesystem interoperabilityVSAvoidconversion validation difficulty
Core Design Contradiction:
Adaptability or versatilityVSDifficulty of detecting and measuring

Solution Approach 1:

The system implements feedback mechanisms where the code generator validates conversion accuracy by comparing source and target parameter definitions, checking type compatibility, and verifying mode mappings. This feedback loop ensures interoperability while making detection of conversion errors straightforward through automated validation rather than difficult manual inspection

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS7860894B2Template driven type and mode conversion
Publication Date: 2010.12.28 ORACLE INT CORP
  • US7860894B2 patent drawing
  • US7860894B2 patent drawing
  • US7860894B2 patent drawing

AI summary

Techniques for providing type (and/or mode) conversion of parameters for software applications are provided. In general, a type conversion utility accesses a template that defines type and mode conversions for parameters between different components. The type conversion utility utilizes information stored in the template for that direct how the parameters will be converted. Additionally, techniques are provided for returning output values.