otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire


Data Loading Loading data into OTM / G-Log through CSVs, XML, and the UI.

Tags: , ,

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old August 20th, 2008, 08:09
Junior Member
 
Join Date: Sep 2007
Posts: 5
Thanks: 2
Thanked 1 Time in 1 Post
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
Dave Lee is on a distinguished road
Tables Requires for data upload via CSV

Hi,

I have compile a list of tables require when uploading configuration data into OTM.

Location

· LOCATION
· CORPORATION
· LOCATION_REFNUM
· LOCATION_CORPORATION
· LOCATION_ADDRESS
· LOCATION_ROLE_PROFILE
· CONTACT

THU

· SHIP_UNIT_SPEC

Equipment

· EQUIPMENT_GROUP
· EQUIPMENT_GROUP_PROFILE
· EQUIPMENT_GROUP_PROFILE_D


Rates

· HNAME_SET
· HNAME_SET_MEMBER
· X_LANE
· LANE
· RATE_SERVICE
· SERVICE_TIME
· RATE_VERSION

Does anyone have the tables for Rate Offerring, Rate Record and Itineries.

Thanks

Regards,
Dave Lee
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old August 20th, 2008, 19:50
Junior Member
 
Join Date: Jun 2007
Posts: 21
Thanks: 0
Thanked 5 Times in 5 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
oliver is on a distinguished road
Re: Tables Requires for data upload via CSV

Hi Dave,

i guess the ERD gives you the info that you need, like for itinerary :
- itinerary
- itinerary_detail
- leg
- transport_mode
- region
- etc......

Rgds
Oliver
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old August 21st, 2008, 02:29
Junior Member
 
Join Date: Sep 2007
Posts: 5
Thanks: 2
Thanked 1 Time in 1 Post
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
Dave Lee is on a distinguished road
Re: Tables Requires for data upload via CSV

Thanks. Do you know where can i get the ERD from? One more question, for migration between UAT environment to Production environment, is there other better methods beside data upload via CSV in OTM?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to Dave Lee For This Useful Post:
jeff.depaul (August 21st, 2008)
  #4 (permalink)  
Old August 21st, 2008, 04:17
Member
 
Join Date: Jun 2007
Posts: 36
Thanks: 1
Thanked 8 Times in 8 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
jeff.depaul is on a distinguished road
Send a message via Yahoo to jeff.depaul
Re: Tables Requires for data upload via CSV

Dave,
There is a better way, you can post the data load to the CSVUtil servlet. The call would look something like this:
"java glog.database.admin.CSVUtil -command iu -maxError 1 -connectionId <<db_name>> -dataDir $FILEDIR/ -dataFileName $TABLENAME -runsqlloader -debug -xvalidate Y"

We wrapped the call to this in a shell script which reads the tables in order from another file recursively (similar to what you mentioned above) - specifically we used for loading rates. The program takes some time to get setup just right but once set, you can use it for loading just about any data that you would load csv from the front end.

-Jeff
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to jeff.depaul For This Useful Post:
Dave Lee (August 21st, 2008)
  #5 (permalink)  
Old August 21st, 2008, 07:23
Member
 
Join Date: Nov 2007
Location: Chennai, India
Posts: 72
Thanks: 8
Thanked 3 Times in 3 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
arunk is on a distinguished road
Re: Tables Requires for data upload via CSV

Quote:
Originally Posted by Dave Lee View Post
Thanks. Do you know where can i get the ERD from? One more question, for migration between UAT environment to Production environment, is there other better methods beside data upload via CSV in OTM?
Dave,

FYI - a related post on ERD.
http://www.otmfaq.com/forums/f63/otm-erwin-diagram-702/ (OTM Erwin Diagram) (OTM Erwin Diagram)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to arunk For This Useful Post:
Dave Lee (August 21st, 2008)
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Where to upload custom classes naveens Development 2 August 14th, 2008 10:30
Upload an XML/CSV Transmission problem pmalin Integration and Data Mapping 3 July 2nd, 2008 09:53
Issue with 'Upload an XML/CSV Transmission' sgshah Data Loading 0 February 19th, 2008 00:05
Document Upload Vinod Data Loading 2 November 14th, 2007 05:17
Data upload error engyeowkee Data Loading 2 July 2nd, 2007 10:50



All times are GMT. The time now is 02:28.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37