Invention Grant
US07873611B2 Boolean literal and parameter handling in object relational mapping
有权
对象关系映射中的布尔文字和参数处理
- Patent Title: Boolean literal and parameter handling in object relational mapping
- Patent Title (中): 对象关系映射中的布尔文字和参数处理
-
Application No.: US11849099Application Date: 2007-08-31
-
Publication No.: US07873611B2Publication Date: 2011-01-18
- Inventor: Steven Ebersole
- Applicant: Steven Ebersole
- Applicant Address: US NC Raleigh
- Assignee: Red Hat, Inc.
- Current Assignee: Red Hat, Inc.
- Current Assignee Address: US NC Raleigh
- Agency: Blakely, Sokoloff, Taylor & Zafman LLP
- Main IPC: G06F17/30
- IPC: G06F17/30

Abstract:
Techniques for object relational mapping in database technologies are described herein. According to one embodiment, in response to a query statement for accessing a relational database, a syntax tree is generated to represent semantic information of the query statement, where the query statement has a boolean parameter and is implemented as an SQL object. A data type of the boolean parameter is predicted based on the semantic information obtained from the syntax tree in view of a structure representing the syntax tree. The boolean parameter is configured to be either a numeric value or a string dependent upon metadata used to map the SQL object to the relational database. Other methods and apparatuses are also described.
Public/Granted literature
- US20090063436A1 BOOLEAN LITERAL AND PARAMETER HANDLING IN OBJECT RELATIONAL MAPPING Public/Granted day:2009-03-05
Information query