-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Tools classpath for JDBC driver
PostPosted: Thu Sep 08, 2005 11:02 am 
Senior
Senior

Joined: Tue Aug 03, 2004 2:11 pm
Posts: 142
Location: Somerset
I want to use the Hibernate artifact generation wizard, against an iSeries UDB DB2 database, using alpha 5

When I try and use it I just a get a null pointer exception, and this in the log

!SESSION 2005-09-08 15:52:24.10 ------------------------------------------------
eclipse.buildId=I20050627-1435
java.version=1.4.1
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.core.runtime 4 2 2005-09-08 15:55:29.698
!MESSAGE An internal error occurred during: "Fetching children of Database".
!STACK 0
java.lang.NullPointerException
at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:123)
at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.getChildren(LazyDatabaseSchemaWorkbenchAdapter.java:42)
at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.fetchDeferredChildren(LazyDatabaseSchemaWorkbenchAdapter.java:30)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:192)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)


How do I add the IBM iSeries jdbc driver jar file, jtopen.jar, to the classpath, guessing that this might be the cause of the problem.

_________________
On the information super B road


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 08, 2005 11:16 am 
Newbie

Joined: Thu Sep 08, 2005 9:34 am
Posts: 8
Hi

In your Create Hibernate Console Configuration

Add your jar file(s) to the Classpath (only add path for POJO ....

p.s I use the the 3.1.0.alpha5 plugin.

Hope this helps


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 08, 2005 11:19 am 
Senior
Senior

Joined: Tue Aug 03, 2004 2:11 pm
Posts: 142
Location: Somerset
Perfectly

Thanks a lot - have a credit !

_________________
On the information super B road


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.