Plugins (1057)


Training and Consulting (44)



EPIC Poll

What is your favourite developer portal?

[ Results | Polls ]

Votes: 541
Comments: 0

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
biswajit
Post subject: DB2 and Hibernate Synchronizer  PostPosted: Apr 26, 2007 - 05:53 PM



Joined: Apr 26, 2007
Posts: 3

I am trying to create the hbm and model classes for a DB 2 database.
.I am not entering any table pattern and schema pattern.It works fine for Oracle .

Can anybody shed some light on the following error:


eclipse.buildId=M20070212-1330
java.version=1.4.2_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86

Error
Wed Apr 25 14:45:46 CDT 2007
Problem while reading database schema
Error
Wed Apr 25 14:45:46 CDT 2007
org.hibernate.exception.GenericJDBCException: Could not get list of tables from database. Probably a JDBC driver problem.
Configured schema:null
Configured catalog:null
<SQLException while getting schemas>
<SQLException while getting catalogs>


org.hibernate.exception.GenericJDBCException: Could not get list of tables from database. Probably a JDBC driver problem.
Configured schema:null
Configured catalog:null
<SQLException while getting schemas>
<SQLException while getting catalogs>

at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
at org.hibernate.cfg.reveng.dialect.JDBCMetaDataDialect.getTables(JDBCMetaDataDialect.java:52)
at org.hibernate.cfg.reveng.JDBCReader.processTables(JDBCReader.java:446)
at org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(JDBCReader.java:73)
at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter$1.execute(LazyDatabaseSchemaWorkbenchAdapter.java:97)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:65)
at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.readDatabaseSchema(LazyDatabaseSchemaWorkbenchAdapter.java:8Cool
at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.getChildren(LazyDatabaseSchemaWorkbenchAdapter.java:57)
at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:94)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:207)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:5Cool
Caused by: com.ibm.db2.jcc.a.SqlException: DB2 SQL error: SQLCODE: -443, SQLSTATE: 38112, SQLERRMC: SQLTABLES;SQLTABLES;SQLCODE=-805 D7U1.DSNASPCC.DS; at com.ibm.db2.jcc.a.hd.d(hd.java:1392)
at com.ibm.db2.jcc.c.jb.l(jb.java:366)
at com.ibm.db2.jcc.c.jb.e(jb.java:102)
at com.ibm.db2.jcc.c.w.e(w.java:72)
at com.ibm.db2.jcc.c.cc.i(cc.java:202)
at com.ibm.db2.jcc.a.hd.q(hd.java:1359)
at com.ibm.db2.jcc.a.id.d(id.java:2336)
at com.ibm.db2.jcc.a.jd.X(jd.java:188)
at com.ibm.db2.jcc.a.t.a(t.java:7820)
at com.ibm.db2.jcc.a.t.a(t.java:6326)
at com.ibm.db2.jcc.a.t.getTables(t.java:6237)
at org.hibernate.cfg.reveng.dialect.JDBCMetaDataDialect.getTables(JDBCMetaDataDialect.java:2Cool
... 9 more
 
 View user's profile Send private message  
Reply with quote Back to top
parsons68
Post subject:   PostPosted: Jan 16, 2008 - 10:23 AM



Joined: Jan 16, 2008
Posts: 1

Did you ever find a resolution to this problem? (yes, it's been almost a year!)
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits