Topic
  • 3 replies
  • Latest Post - ‏2013-11-25T15:18:59Z by ndufaut
ndufaut
ndufaut
2 Posts

Pinned topic Unable to get Schema from DB2

‏2013-11-21T09:53:31Z |

Hi everyone

I accurately followed the tutorial (DB2 version) :

https://www.ibm.com/developerworks/mydeveloperworks/blogs/wasdev/resource/EducationModules/LAB3-MODULE3.2-LibertyandJPA(DB2).pdf

 

I'v completed the previous steps but when i want to generate a custom entity from my database the schema combobox is empty !

So i can't select a schema nor a table !

 

Can anyone help me?

 

Thanks

 

Some informations :

 

Windows 7 SP1

 

Eclipse Java EE IDE for Web Developers.
Version: Kepler Service Release 1
Build id: 20130919-0819

 

WebSphere Server Liberty Profile
Version: 1.0.201.v20131031_0202

DB2 Express 10.5 

 

 

  • AdrianPadilla
    AdrianPadilla
    2 Posts

    Re: Unable to get Schema from DB2

    ‏2013-11-22T15:12:55Z  

    Hi Nicolas,

    I think you have not yet created the table as explained in Module 1.2 in this document.

    https://www.ibm.com/developerworks/community/blogs/wasdev/resource/EducationModules/LAB3-MODULE1.2-LibertyandJPA%28DB2%29.pdf?lang=en.

    I would advise to follow the entire lab 3 from the following URL which has the complete set of documents to get started with WAS Liberty Profile:
    https://www.ibmdw.net/wasdev/docs/getting_started_with_the_was_liberty_profile/

    NOTE: The document you are refering to is only an extract of the Lab 3 in the URL I just mention.

  • AdrianPadilla
    AdrianPadilla
    2 Posts

    Re: Unable to get Schema from DB2

    ‏2013-11-22T20:40:24Z  

    Also consider that the IDE you are using: Eclipse Java EE IDE for Web Developers, has some issues with DB2 9.8 and up! here some bugzillas related bug398408, bug417006i, f you want to use that version of DB2 you could use a different IDE like IBM Rational Application Developer or if you want to use the Eclipse IDE you can try with Derby, the instructions are also in the Lab0 from the link in my previous comment.

  • ndufaut
    ndufaut
    2 Posts

    Re: Unable to get Schema from DB2

    ‏2013-11-25T15:18:59Z  

    Also consider that the IDE you are using: Eclipse Java EE IDE for Web Developers, has some issues with DB2 9.8 and up! here some bugzillas related bug398408, bug417006i, f you want to use that version of DB2 you could use a different IDE like IBM Rational Application Developer or if you want to use the Eclipse IDE you can try with Derby, the instructions are also in the Lab0 from the link in my previous comment.

    Hi Adrian,

    I created the table as explained in Module 1.2.

    But I think it's an Eclipse/DB2 issue as you mentionned !

    I'm going to try with Derby.

    Thanks for the answer!