Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: transMeta.findDatabase(sourceDatabaseName); return null????

  1. #1
    Join Date
    Oct 2007
    Posts
    10

    Default transMeta.findDatabase(sourceDatabaseName); return null????

    Hello

    Am quite new to Kettle and am trying building a component based on the API.

    But when I use the method provided in several samples, it returns null
    -->
    DatabaseMeta sourceDBInfo = transMeta.findDatabase(sourceDatabaseName);
    -->
    sourceDBInfo == null.

    I provided Database and connection information exactly as in the "TransBuilder" sample.

    Am I doing something wrong? Please Help!!!

  2. #2
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    It simply means that the database name you supplied in "sourceDatabaseName" can't be found in the transformation.

    HTH,

    Matt


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.