A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
JDBC and Relational Databases
Fetching Current Schema value
Joined: Oct 15, 2007
Jan 19, 2010 02:26:16
I am using WAS 6 with db2.
I've used currentSchema i.e deafault schema property in Datasource for
connectiion pooling. Is there any way to fetch this value from
. I need to send this value to VB from java.
Joined: May 14, 2008
Jan 19, 2010 11:30:33
If you do a query, you can get the schema name from java.sql.ResultSetMetaData.getSchemaName(). If your query did not contain an explicit schema name, this should be the default schema name.
JBoss In Action
subject: Fetching Current Schema value
Data Trafer one DB to anothert
Getting all the Tables from schema
The matching wildcard is strict, but no declaration can be found for element 'context:annotation'
Castor mapping problem
need of schema export feature?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015