StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Issues
»
Business Object Mapper
Business Object Mapper
Post Reply
Like
0
Business Object Mapper
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
PeterA
PeterA
posted 17 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 72,
Visits: 235
From a business object designer file:
_FieldNativeDbTypes.Add("ID_SPP", IBM.Data.DB2.DB2Type);
_FieldNativeDbTypes.Add("NM_SPP", IBM.Data.DB2.DB2Type);
_FieldNativeDbTypes.Add("ID_OWN_TYP", IBM.Data.DB2.DB2Type);
It's not fully qualifying the DB2 data type. Each time I generate a new business object, I have to change it to the fully qualified type (i.e. IBM.Data.DB2.DB2Type.Integer) and cast it to the correct type.
[codesnippet]
_FieldNativeDbTypes.Add("ID_SPP", (int)IBM.Data.DB2.DB2Type.Integer);
[/codesnipppet]
Any suggestions on a property I could change so that it puts the correct data into the auto-generated file (changing each line in each business object each time I rebuild the partial classes isn't going to cut it)?
Thanks!
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Business Object Mapper
PeterA
-
17 Years Ago
[quote](changing each line in each business object each time I rebuild...
StrataFrame Team
-
17 Years Ago
[quote][b]Ben Chase (08/29/2007)[/b][hr][quote](changing each line in...
PeterA
-
17 Years Ago
Glad to hear it :)
StrataFrame Team
-
17 Years Ago
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search