Accessing Java tables of XI within GUI/Java mapping
Hi,
I am looking for a way to access tables of a java dictionary within java/GUI mapping. Specifically, if it is possible some simple API to access java tables within user-defined functions.
I know you can access tables via JDBC/RFC lookups. But, this way more applies to external to SAP XI tables. Is there a more simpler way to access java native tables inside SAP XI.
Thank you in advance,
Dmitriy Mindich
Hi Stephan,
I agree that first case should not be implemented. But, I would like to disagree on the second case. I am not talking about storing application data, but interface-related intformation, such is file generation id or date generation. This information is interface-specific, and unfortunately XI does not provide a way to store persistent variables inside XI.
There are a couple of options:
1. Use SEEBURGER's functionality. Unfortunately, I dont have the need to use EDI functionality of SAP, thus I dont want to buy SEEBURGER's license.
2. Use ABAP Mapping and store it inside tables inside ABAP-stack. However, as I said before this step would be performance intensive for me, since the majority of mapping in my case is done in Java/GUI mapping.
Based on these cases, I was thinking there should be an easier way to store/retrieve interface related information inside XI tables. And, since most of my mappings are Java-based, I was thinking I can use Java-stack to store persistent variables.
Would you agree, Stephan?
Regards,
Dmitriy Mindich
Similar Messages
-
How to access XI_AF_MSG table in Composite Application Framework Java Code
Hi Experts,
I've no knowledge about PI. In one of my projects, I need access the XI_AF_MSG table of PI through java code in a composite application.
How do I access this table? I've searched this forum for this query but the replies say that any SQL editor can be used to access XI_AF_MSG table. But my question is; How do I get the login details of the database? In the first place, how do I access the underlying database layer of PI? Is there any JAR file which can be used to make the connection?
It would be of great help if any expert on this can give me a detailed reply.
Thanks a lot in advance.
Best Regards,
NitinHi Nitin,
The AFW runs on the J2EE Engine, so this table is in the Java Schema of the database and thus not visible in the ABAP stack. I guess you can use any tool your database provider offers for looking at table contents (e.g. SQLPlus).
Regarding how to access the table please contact you basis administrator they will have access to the tables as they have j2ee_admin login ids and pwds.
Regards
joel -
How to Access Database Table Column Data within Javascript in ApEx
Hi,
I have a column in a database table that contains several urls and I was wondering what is the best way to get these urls from the database table into a javascript function.
Example code of how to approach this would be much appreciated.
Thanks.
Tony.Tony,
See this simple example:
http://apex.oracle.com/pls/otn/f?p=31517:80
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
------------------------------------------------------------------- -
How to access the data stored in Java tables in E-Commerce 7.0
For the CRM E-Commerce 7.0 Web shop all the data related order templates, Shop Id and catalog variants are not getting stored in CRM tables. Can anyone please let us know where all the details are getting stored.
By searching here, in SDN Forum we found that these details are getting stored in some java tables. If this is true kindly let us know the following points.
1). How can we access these tables.
2).Where these java tables are stored .
3).Do we have authorizations to check and modify these tables.
4).If we donu2019t have authorizations to check and modify these tables, how can we get the access to them.
4).How can we write Database Queries to retrieve the data from these tables.I am afraid, all these three entities are in CRM tables.
Web Shops - Function module CRM_ISA_SHOP_GETLIST, Table crmm_isa_shop_h
Catalog Variants - Function module - COM_PRDCAT_GET_VARIANTS (they are also stored in CRM tables) for a given catalog.
Now for the Order Templates - They are technically order objects with system status set to "Order Template" I1034. You should be able to see them in CRM tables alongwith other orders... crmd_orderadm_h and etc... -
Hi all
I want to get the table where the file names are stored for the messages?
I tried BC_MSG and BC_MSG_AUDIT but can find the file name.
Anyone know where this is stored?
RegardsHere you can find complete list of tables:
http://wiki.sdn.sap.com/wiki/display/XI/XI+Tables
Java table are stored obviously in java stack. -
Help on accessing tables available in SAP through Java
Hi All
I want to access some tables available in SAP through my Java program. Do I have to write any code for database connectivity or straightaway I can write SQL statements in my Java code?
Can anyone please suggest the sample code for this?
Thanks in Advance,
Vijay.Hi,
You need JCO(Java Connector)
Check this sample code.
import com.sap.mw.jco.*;
public class JcoTest {
private static JCO.Client theConnection;
private static IRepository theRepository;
public static void main(String[] args) {
createConnection();
retrieveRepository();
try {
JCO.Function function = getFunction("RFC_READ_TABLE");
JCO.ParameterList listParams = function.getImportParameterList();
listParams.setValue("BSAUTHORS", "QUERY_TABLE");
theConnection.execute(function);
JCO.Table tableList = function.getTableParameterList().getTable("DATA");
if (tableList.getNumRows() > 0) {
do {
for (JCO.FieldIterator fI = tableList.fields();
fI.hasMoreElements();)
JCO.Field tabField = fI.nextField();
System.out.println(tabField.getName()
+ ":t" +
tabField.getString());
System.out.println("n");
while (tableList.nextRow() == true);
catch (Exception ex) {
ex.printStackTrace();
private static void createConnection() {
try {
theConnection = JCO.createClient("000", "DDIC", "minisap", "en", "sincgo", "00");
theConnection.connect();
catch (Exception ex) {
System.out.println("Failed to connect to SAP system");
private static void retrieveRepository() {
try {
theRepository = new JCO.Repository("saprep", theConnection);
catch (Exception ex)
System.out.println("failed to retrieve repository");
public static JCO.Function getFunction(String name) {
try {
return theRepository.getFunctionTemplate(name.toUpperCase()).getFunction();
catch (Exception ex) {
ex.printStackTrace();
return null;
Regards
vijay -
Access ABAP Table using Java (NWDS/JCO)
All,
I am trying to setup a jco connection from java program through NWDS to ECC abap table.
However I am getting the following error in NWDS:
Exception in thread "main" java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [C:\Program Files\Java\jdk1.6.0_45\bin\sapjcorfc.dll: Access is denied]. java.library.path [C:\Program Files\Java\jdk1.6.0_45\bin;.]
and a parity error on my system:
"Parity blocked an attempt by javaw.exe to run sapjcorfc.dll because the file is not approved. If you require access to this file, please contact your system administrator. Scroll down for diagnostic data."
Here is the Java code...per the SAP website:
package com.sap.pi.updateAbapSxmbAdminParams;
import com.sap.mw.jco.*;
public class ReadPiAbapTables {
private static JCO.Client theConnection;
private static IRepository theRepository;
public static void main(String[] args) {
createConnection();
retrieveRepository();
try {
JCO.Function function = getFunction("RFC_READ_TABLE");
JCO.ParameterList listParams = function.getImportParameterList();
listParams.setValue("BSAUTHORS", "QUERY_TABLE");
theConnection.execute(function);
JCO.Table tableList = function.getTableParameterList().getTable("SXMSCONFVLV");
if (tableList.getNumRows() > 0) {
do {
for (JCO.FieldIterator fI = tableList.fields();
fI.hasMoreElements();)
JCO.Field tabField = fI.nextField();
System.out.println(tabField.getName()
+ ":t" +
tabField.getString());
System.out.println("n");
while (tableList.nextRow() == true);
catch (Exception ex) {
ex.printStackTrace();
private static void createConnection() {
try {
theConnection = JCO.createClient("aaa", "aaa", "aaa", "aa", "aa", "aa");
theConnection.connect();
catch (Exception ex) {
System.out.println("Failed to connect to SAP system");
private static void retrieveRepository() {
try {
theRepository = new JCO.Repository("saprep", theConnection);
catch (Exception ex)
System.out.println("failed to retrieve repository");
public static JCO.Function getFunction(String name) {
try {
return theRepository.getFunctionTemplate(name.toUpperCase()).getFunction();
catch (Exception ex) {
ex.printStackTrace();
return null;Hi Vicky,
You need authorization to the S_TABU_DIS object, talk with the ABAP basis team about this to find the more restrictive role.
It's not a good idea to use the RFC_READ_TABLE, for the wide permissions needed. You could think to develop a Z RFC for this. You can check pros/cons in this document: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a83ec690-0201-0010-14ac-bd1d75e24a7d?overridelayout=t…
Regards. -
Access ABAP table in Webdynpro Java application
Hi All
Is it possible to access ABAP table in Webdynpro Java application
Please provide your input
Thanks
Karthi D.Hi you will connect to the remote SAP system, the
backend, using an Adaptive RFC MOdel. To access database tables, you can make use of existing functions in terms of RFC function modules. For each function module you need, the system generates a corresponding Java proxy class. All the generated proxy classes and interface are bundled together in the RFC model and treated as part
of your Web Dynpro project
In WebDynpro java you RFC by using Model :
Adaptive RFC Model
1. automatically adapts to changes in function module signature
2 provides support for data types and extensibility
3.support for different structure definitions in different backend
systems (release dependent structures, custom adaptation)
Basic principles and guidelines
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/11c3b051-0401-0010-fe9a-9eabd9c216de
See this blog
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/faq%2b-%2bmodels%2b-%2badaptive%2brfc
http://help.sap.com/saphelp_nw04s/helpdata/en/6a/11f1f29526944e8580c5e59333d96d/frameset.htm
Thanks,
Tulasi -
Help on accessing tables of SAP from the Java Application
Hi All
I want to access some tables available in SAP through my Java program. Do I have to write any code for database connectivity or straightaway I can write SQL statements in my Java code?
Can anyone please suggest the sample code for this?
Thanks in Advance,
Vijay.the above one is with out connection pool, check this with connection pool.
import com.sap.mw.jco.*;
public class JcoTest {
private static JCO.Client theConnection;
private static IRepository theRepository;
private static final String POOL_NAME = "myPool";
public static void main(String[] args) {
JCO.Pool connPool = JCO.getClientPoolManager().getPool(POOL_NAME);
if (connPool == null) {
JCO.addClientPool(POOL_NAME,
5, //number of connections in the pool
"client",
"username",
"paswword",
"EN",
"hostname",
"00");
theConnection = JCO.getClient(POOL_NAME);
retrieveRepository();
try {
JCO.Function function = getFunction("RFC_READ_TABLE");
JCO.ParameterList listParams = function.getImportParameterList();
listParams.setValue("BSAUTHORS", "QUERY_TABLE");
theConnection.execute(function);
JCO.Table tableList = function.getTableParameterList().getTable("DATA");
if (tableList.getNumRows() > 0) {
do {
for (JCO.FieldIterator fI = tableList.fields();
fI.hasMoreElements();)
JCO.Field tabField = fI.nextField();
System.out.println(tabField.getName()
+ ":t" +
tabField.getString());
System.out.println("n");
while (tableList.nextRow() == true);
catch (Exception ex) {
ex.printStackTrace();
JCO.releaseClient(theConnection);
private static void retrieveRepository() {
try {
theRepository = new JCO.Repository("saprep", theConnection);
catch (Exception ex)
System.out.println("failed to retrieve repository");
public static JCO.Function getFunction(String name) {
try {
return theRepository.getFunctionTemplate(name.toUpperCase()).getFunction();
catch (Exception ex) {
ex.printStackTrace();
return null;
Regards
vijay -
Access SAP Tables from Java Program
Hi All,
We have a requirement to integrate attendance portal(which is done in java) with SAP.
Our problem is how to access SAP tables from a Java program?
Database is Sybase.
Please suggest us a good solution.
Thanks in advance...Did you go through Sap Help?
Calling BAPIs from Java - BAPI User Guide CA-BFA) - SAP Library
Regards,
Philip. -
Can we access PI tables from WebDynpro Java via PI 7.1?
Hi Experts
Is it possible to fetch PI Tables (to display monitoring and alerts as dashboard on portal) from Java Stack. I got some javadocs API SAP Netweaver for PI 7.1 but i don't know how far it can help me in solving my purpose of fetching and displaying the PI monitoring data on Portal.
https://www.sdn.sap.com/irj/sdn/javadocs
Please advise if J2EE access to PI Tables is possible or RFC is the suggested solution to fetch PI Monitoring data.
Thanks
NehaHi Neha,
You can access PI tables from Webdynpro Java application using RFC or Webservices. Create RFC or Webservices which will fetch data from the PI tables.Create the required JCO's and the Webdynpro java application which uses the Adaptive RFC model or Adaptive Webservice Model to connect to the ECC system.
I found a document that speaks about fetching data from SXMB_MONI Standard Table https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b050ff4f-84c3-2b10-3d99-8f9c44f57a17
Hope this is useful.
Regards,
Seema Rane. -
Access ABAP tables using NWDS Java Code
All,
I am planning to write a program to autmatically update is_url entries in sxmb_admin using a Java program.
Is there a way we can access the ABAP tables using standalone Java Code? would it something like dblookup that we use in the mappings?
Your Thoughts....
Thanks.Hi Vicky - Interesting..Seems like you are trying to automate every single thing
However you can make use of Jco to connect to ABAP tables..
Check the below thread..
Help on accessing tables of SAP from the Java Application
I assume the table name is "SXMSCONFVLV" which you might have to update but not sure.. -
i am trying to call WCF service by using Jsr 172 method
but i got the two error
1)unexpected Exceptionage fault accessing tag table
2)java.rmi.MarshalException:Unexpected Exception page fault accessing page table
does anybody knows about how to solve this error.
Plz help me
thanks in advance!!!!!!!!!!!
My Code is:-----
package com.rim.sample.webservicedemo;
import java.rmi.RemoteException;
import net.rim.device.api.ui.Field;
import net.rim.device.api.ui.FieldChangeListener;
import net.rim.device.api.ui.UiApplication;
import net.rim.device.api.ui.component.ButtonField;
import net.rim.device.api.ui.component.Dialog;
import net.rim.device.api.ui.container.MainScreen;
public class webservice extends UiApplication
public webservice()
pushScreen(new myscreen());
public static void main(String[] args)
webservice t=new webservice();
t.enterEventDispatcher();
final class myscreen extends MainScreen implements FieldChangeListener
//taking this program from :-http://blog.bayestech.com/?p=78
public myscreen()
setTitle("HI");
ButtonField g=new ButtonField("OK",ButtonField.CONSUME_CLICK);
g.setChangeListener(this);
add(g);
public void fieldChanged(Field field, int context)
try
testServiceCall();
catch (RemoteException e)
Dialog.alert(e.getMessage());
Dialog.alert(e.toString());
public void testServiceCall() throws RemoteException
TestService_Stub service = new TestService_Stub();
//String message = service.helloWorld();
// Dialog.alert(message);
// String message2=service.echoName("ankush,nilesh,chetan,ravi");
//Dialog.alert(message+" second message "+message2);
// Object addition_output=service.addition(7,2);
//Dialog.alert("your addition is" + String.valueOf(addition_output));
String login_message = service.logOn_method("abcdefg","aaaaa");
Dialog.alert("login successfully");
Dialog.alert(login_message);
//////////////TestService_Stub class file///////////////////////
package com.rim.sample.webservicedemo;
import java.rmi.RemoteException;
import javax.xml.rpc.JAXRPCException;
import javax.xml.namespace.QName;
import javax.microedition.xml.rpc.Operation;
import javax.microedition.xml.rpc.Type;
import javax.microedition.xml.rpc.ComplexType;
import javax.microedition.xml.rpc.Element;
import net.rim.device.api.ui.component.Dialog;
public class TestService_Stub implements TestService,javax.xml.rpc.Stub
///calling web services by using jsr-172 method
//website link :- http://blog.bayestech.com/?p=78
private String[] _propertyNames;
private Object[] _propertyValues;
// private Object[] _propertyValues1;
public TestService_Stub()
_propertyNames = new String[] { ENDPOINT_ADDRESS_PROPERTY };
// _propertyValues = new Object[] { "http://test.bayestech.com/Services/TestService.asmx" };
// _propertyValues = new Object[] { "http://soft21/testWCF/Service.svc" };
_propertyValues = new Object[] { "< url name >" };
protected void _prepOperation(Operation op)
for (int i = 0; i < _propertyNames.length; ++i)
op.setProperty(_propertyNames[i], _propertyValues[i].toString());
public String logOn_method(String usr_name,String password_name ) throws java.rmi.RemoteException
Object inputObject[] = new Object[]
usr_name,
password_name
Operation op = Operation.newInstance( _qname_operation_logOn, _type_logOn, _type_logOnResponse );
_prepOperation( op );
op.setProperty( Operation.SOAPACTION_URI_PROPERTY, "<soap action name >" );
Object resultObj;
try
resultObj = op.invoke( inputObject );
Dialog.alert((String)resultObj);
catch( JAXRPCException e )
Throwable cause = e.getLinkedCause();
if( cause instanceof java.rmi.RemoteException )
throw (java.rmi.RemoteException) cause;
Dialog.alert(e.getMessage());
throw e;
return (String )((Object[])resultObj)[0];
protected static final QName _qname_operation_logOn = new QName( "<soap action name>", "logOn" );
protected static final QName _qname_logOnResponse = new QName( "<soap action name>", "logOnResponse" );
protected static final QName _qname_logOn = new QName( "<soap action name>", "logOn" );
protected static final Element _type_logOn;
protected static final Element _type_logOnResponse;
static
_type_logOn = new Element( _qname_logOn, _complexType( new Element[] {
new Element( new QName( "<soap action name>", "usr_name" ), Type.STRING, 0, 1, false ),
new Element( new QName( "<soap action name>", "password_name" ), Type.STRING, 0, 1, false )}), 1, 1, false );
_type_logOnResponse = new Element( _qname_logOnResponse, _complexType( new Element[] {
new Element( new QName( "<soap action name>", "logResult" ), Type.INT, 0, 1, false )}), 1, 1, false );
private static ComplexType _complexType( Element[] elements )
ComplexType result = new ComplexType();
result.elements = elements;
return result;
public void _setProperty(String name, Object value) {
// TODO Auto-generated method stub
public Object _getProperty(String name) {
// TODO Auto-generated method stub
return null;
public String echoName(String name) throws RemoteException {
// TODO Auto-generated method stub
return null;
public String helloWorld() throws RemoteException {
// TODO Auto-generated method stub
return null;
i am trying to call WCF service by using Jsr 172 method
but i got the two error
1)unexpected Exceptionage fault accessing tag table
2)java.rmi.MarshalException:Unexpected Exception page fault accessing page table
does anybody knows about how to solve this error.
Plz help me
thanks in advance!!!!!!!!!!!
My Code is:-----
package com.rim.sample.webservicedemo;
import java.rmi.RemoteException;
import net.rim.device.api.ui.Field;
import net.rim.device.api.ui.FieldChangeListener;
import net.rim.device.api.ui.UiApplication;
import net.rim.device.api.ui.component.ButtonField;
import net.rim.device.api.ui.component.Dialog;
import net.rim.device.api.ui.container.MainScreen;
public class webservice extends UiApplication
public webservice()
pushScreen(new myscreen());
public static void main(String[] args)
webservice t=new webservice();
t.enterEventDispatcher();
final class myscreen extends MainScreen implements FieldChangeListener
//taking this program from :-http://blog.bayestech.com/?p=78
public myscreen()
setTitle("HI");
ButtonField g=new ButtonField("OK",ButtonField.CONSUME_CLICK);
g.setChangeListener(this);
add(g);
public void fieldChanged(Field field, int context)
try
testServiceCall();
catch (RemoteException e)
Dialog.alert(e.getMessage());
Dialog.alert(e.toString());
public void testServiceCall() throws RemoteException
TestService_Stub service = new TestService_Stub();
//String message = service.helloWorld();
// Dialog.alert(message);
// String message2=service.echoName("ankush,nilesh,chetan,ravi");
//Dialog.alert(message+" second message "+message2);
// Object addition_output=service.addition(7,2);
//Dialog.alert("your addition is" + String.valueOf(addition_output));
String login_message = service.logOn_method("abcdefg","aaaaa");
Dialog.alert("login successfully");
Dialog.alert(login_message);
//////////////TestService_Stub class file///////////////////////
package com.rim.sample.webservicedemo;
import java.rmi.RemoteException;
import javax.xml.rpc.JAXRPCException;
import javax.xml.namespace.QName;
import javax.microedition.xml.rpc.Operation;
import javax.microedition.xml.rpc.Type;
import javax.microedition.xml.rpc.ComplexType;
import javax.microedition.xml.rpc.Element;
import net.rim.device.api.ui.component.Dialog;
public class TestService_Stub implements TestService,javax.xml.rpc.Stub
///calling web services by using jsr-172 method
//website link :- http://blog.bayestech.com/?p=78
private String[] _propertyNames;
private Object[] _propertyValues;
// private Object[] _propertyValues1;
public TestService_Stub()
_propertyNames = new String[] { ENDPOINT_ADDRESS_PROPERTY };
// _propertyValues = new Object[] { "http://test.bayestech.com/Services/TestService.asmx" };
// _propertyValues = new Object[] { "http://soft21/testWCF/Service.svc" };
_propertyValues = new Object[] { "< url name >" };
protected void _prepOperation(Operation op)
for (int i = 0; i < _propertyNames.length; ++i)
op.setProperty(_propertyNames[i], _propertyValues[i].toString());
public String logOn_method(String usr_name,String password_name ) throws java.rmi.RemoteException
Object inputObject[] = new Object[]
usr_name,
password_name
Operation op = Operation.newInstance( _qname_operation_logOn, _type_logOn, _type_logOnResponse );
_prepOperation( op );
op.setProperty( Operation.SOAPACTION_URI_PROPERTY, "<soap action name >" );
Object resultObj;
try
resultObj = op.invoke( inputObject );
Dialog.alert((String)resultObj);
catch( JAXRPCException e )
Throwable cause = e.getLinkedCause();
if( cause instanceof java.rmi.RemoteException )
throw (java.rmi.RemoteException) cause;
Dialog.alert(e.getMessage());
throw e;
return (String )((Object[])resultObj)[0];
protected static final QName _qname_operation_logOn = new QName( "<soap action name>", "logOn" );
protected static final QName _qname_logOnResponse = new QName( "<soap action name>", "logOnResponse" );
protected static final QName _qname_logOn = new QName( "<soap action name>", "logOn" );
protected static final Element _type_logOn;
protected static final Element _type_logOnResponse;
static
_type_logOn = new Element( _qname_logOn, _complexType( new Element[] {
new Element( new QName( "<soap action name>", "usr_name" ), Type.STRING, 0, 1, false ),
new Element( new QName( "<soap action name>", "password_name" ), Type.STRING, 0, 1, false )}), 1, 1, false );
_type_logOnResponse = new Element( _qname_logOnResponse, _complexType( new Element[] {
new Element( new QName( "<soap action name>", "logResult" ), Type.INT, 0, 1, false )}), 1, 1, false );
private static ComplexType _complexType( Element[] elements )
ComplexType result = new ComplexType();
result.elements = elements;
return result;
public void _setProperty(String name, Object value) {
// TODO Auto-generated method stub
public Object _getProperty(String name) {
// TODO Auto-generated method stub
return null;
public String echoName(String name) throws RemoteException {
// TODO Auto-generated method stub
return null;
public String helloWorld() throws RemoteException {
// TODO Auto-generated method stub
return null;Vishnu,
I'm working on Ludwig's testcase.
Ludwig's testcase is based on read-only View Objects.
Is it also the case in your application ?
I was unable to reproduce with VOs based on EOs.
With read-only VOs, you can avoid the ArrayIndexOutOfBoundsException by setting the "Key Attribute" property for the PK of the Master VO.
See the ADF Developer's Guide, topic "7.9.3 What You May Need to Know About Enabling View Object Key Management for Read-Only View Objects"
URL: http://download-uk.oracle.com/docs/html/B25947_01/bcvoeo009.htm#BABJEEFA
Regards,
Didier. -
Linking Java to Access Database tables
Hello,
I need use JCreator to link Java to Access Database tables.
Could any one tell me what kind of drivers I need use?
Also, where could I find the examples of linking Java to Access Database tables?
Thank you,
DanielThanks.
I have read the tutorial and downloaded the sample code from the web http://java.sun.com/docs/books/tutorial/jdbc/
In the CreateCoffee.java programming, I made the following changes:
// String url = "jdbc:mySubprotocol:myDataSource";
String url = "jdbc:odbc:DB1";
DB1 is an Access Database file located in the same folder as CreateCoffee.java.
//Class.forName("myDriver.ClassName");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Every time when I run the CreateCoffee.java programming, it shows the following running error:
SQLException:[Microsoft][ODBC Driver Manager]
Data source name not found and no default driver specified.
Could any one have any suggestions for solving the above problem?
Thank you,
Daniel -
Accessing Java tables e.g CRM_ISA_ADDRESS
Hi Experts,
I wanna go through the data stored in the follwoing tables to see what kind of data is stored for a particular order template. Could someone please tell me as how can i access these tables or the data stored in these tables ?
CRM_ISA_ADDRESS
CRM_ISA_BASKETS
CRM_ISA_BUSPARTNER
CRM_ISA_ITEMS
CRM_ISA_OBJECTID
CRM_ISA_SHIPTOS
CRM_ISA_TEXTS
Thanks,
GaganHi All,
I have a similar requirement of accessing the java tables. In our system we have oracle as the database.
But i am unable to find the tables specified above.
And one more thing is that how can we get data from these tables.
Should we write any sql query statements to retrive this data.
regards,
Venkatsaini
Maybe you are looking for
-
Blue Screen of Death & disk0s2: I/O error
Hi My Mac just slowed down suddenly yesterday, then when I tried to reboot, it went to grey screen Apple logo & spinning ball for ages, then stalled on blue screen. I tried the following: 1. Ran Applejack 3 times on auto - said "errors repaired" or "
-
.....and so here I am...back in the f'ing forums. With a two day shoot later this week my only option is to buy a different app to have tethered shooting as an option. And if that's what I have to do, I'll do it, and Adobe will never see me again (af
-
Video asset in button cropped - Unable to match aspect ratios
I am using the Apple "Light Frame" button and linking an mpeg2 video asset to that button to look like active, mini 16 X 9 plasma televisions for my scene selection menu. Unfortunately it insists on cropping out much of my mp2 video image. Following
-
Placed image not showing up once I save to PDF
I have checked the link again and again. The link is fine. At first I had a .psd file in there, which I thought may be the problem, but then changed it to a .eps and it still did the same thing. However, the weird thing is that the placed image shows
-
Employee and Geography hierarchy in HR Analytics
Hi I would like to know if there is an Out of the Box hierarchy for employee[for eg. state manager, county manager, city manager] and Geography[ for eg. country, state, city] in HR Analytics. Thanks