Accessing a Hana Database through a native iPad application
Hi Guys,
I was wondering if there was a way by which a connection can be established to retrieve data from a Hana Database through an iPad application .
Our team has to build a POC (timelines are very crunchy, about 1 week to build it and get it up and running) on the iPad .
Please help.
~
Shrayas
I065680.
Actually we at Approyo have an Ipad application that we run SAP and all the solutions in a native format.
http://www.approyo.com/#!projects/c1vw1
see the photo's attached and the web link...Hope they help
Similar Messages
-
Access of oracle database through sys user
Hi All,
Can any one suggest me what are the possibility to access database through SYS user...I install oracle database 10.2.0.4 on Win-2003 SE.
Now I want to make restrict that no one can be able to logged in database as a sys user so I do one thing that in sqlnet.ora file at server side make none in sql authentication line. What are the other possible way that user can access through sys user?
Please suggest me...
Thanks...user505 wrote:
Hi All,
Can any one suggest me what are the possibility to access database through SYS user...I install oracle database 10.2.0.4 on Win-2003 SE.
Now I want to make restrict that no one can be able to logged in database as a sys user so I do one thing that in sqlnet.ora file at server side make none in sql authentication line. What are the other possible way that user can access through sys user?One other possibility can be to come from the remote system as the Sys user. So you can set remote_loginpasswordfile to shared. This will ensure that without knowing the password, person won't be able to connect.
That said, there is no stopping for the person who would be knowing the credentials of your o/s or sys user.
HTH
Aman.... -
Can't access mail, calendar section through settings on IPAD
Since I updated to 5.1,1 I am no longer getting email. I can't no longer access the mail, calendar section via the settings section. I can see it but cannot access it. This all occurred when I updated. Both my exchange email and my ymail no longer sync. My calendar is not available either. I have reset my settings and that did not help. Any ideas?
The mailaccess.log didn't show anything with the user's name at all. I just tried to add a POP account and refreshed the mailaccess log over and over the whole time and the Mail app gave me the "Trying to log into the POP server ... has failed..." again. With no mention of that user in the log at all.
I tried it with multiple user accounts too. I even created a test user and tried it with that account and the same thing happens. No mention of the user in the mailaccess log and the Mail app gets the error message when trying to logon to the POP server.
I'm stumped... -
Error while accessing HANA-Database
Hi all,
I try to access the HANA-database (installed as secondary database).
The table is replicated in HANA and I have created a program in ERP with the following procedure:
SELECT * FROM [table]
CONNECTION ('HANADB')
INTO lt_table.
HANADB is the database connection name for HANA (table DBCON).
By running the program I become the following error:
The file "dbhdbslib.dll" is already in the folder "C:\usr\sap\IS0\DVEBMGS00\exe\". Any idea what is missing?
Thx for help, mlf.Hi Jasmin,
the program ADBC_TEST_CONNECTION gives the following error:
But I can't open the trace file.
Do you know what is meaning with error 16?
I'm not the System admin but I can ask him to check on OS level.
Cheers, mlf -
10g database through 9i client
Can I access oracle 10g database through an Oracle 9i client?
Tks DarkFiBrE72. Are there any limitations that you know when working after getting connected?
Edited by: user483578 on Oct 20, 2008 8:37 AM -
How to access the XDB-Repository through iAS
It is easy to access the XDB repository on a database server directly using http or ftp.
However, since our database server is behind a firewall we need to access the XDB repository through our Oracle Internet application server (iAS 9i) which is situated outside the firewall. Does anyone know how to do this? Any hint is greatly appreciated; unfortunately nobody answers to this question in the iAS forum.
We access a PSP-application on the database-server through the iAS-server using a DAD defined on the IAS-server. The XDB repository probably needs another access proceeding.
Our environement:
iAS 9.2 (Solaris)
Oracle 9.2.0.4 (Solaris)
Thank you very much for any help
Dirk SchmatzHi there,
This question is exactly what I would like to ask. Can someone answer this question please!!!
Regards,
SIM -
Unable to connect to SQL database through ODBC calls
I have been looking around for an answer to this, but haven't found the exact issue I'm seeing.
I have several Excel spreadsheets which have been working until recently, which use an ODBC call to a remote SQL database. The database is running, remote connections are allowed. The SQL server is in a domain which has no external trusts. Users with accounts
in this domain can remotely access the SQl databases through ODBC just fine. Users who do not have domain accounts in this domain are being denied access by their domain account, and the SQL authentication is not passed through, even though remote access is
set to allow "everyone", and the database is set to Windows authentication and SQL authentication. This worked until early this week (the spreadsheet was created in 2010), and I have been looking fruitlessly for a fix ever since. As far as I know,
no changes were made to group policy on this domain, and no changes were made to the server or database recently, except Microsoft patches. None of the patches this month looked like they would affect this.It works locally on the server and remotely for users in the same domain. I am trying to use the SQL account and password to connect to the database, but users from outside this domain fail to reach the SQL database for authentication. It looks like Windows
authentication is not passing the SQL credentials on if the windows authentication fails. I don't know how to resolve this. The only options in SQL are "Windows authentication and SQL authentication" or "Windows authentication only". The database is already
set to the first option. Somehow, I need to set the server to allow the SQL authentication even if the Windows authentication fails.
Hi pkuti01,
SQL Server mixed mode is "Windows Authentication and SQL Server Authentication", we have to restart SQL Server service after change the authentication to mixed mode.
In your case, have you got any error message/information if you faild connect to SQL Server via ODBC? If so, please post them to us for further investigation. Furthermore, here is an article regarding steps to troubleshooting SQL connectivity issues for
your reference. Please see:
http://blogs.msdn.com/b/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx
If you have any feedback on our support, please click
here.
Regards,
Elvis Long
TechNet Community Support -
How to detect if Database is down when client application is running?
Hi,
I have a oracle Forms application accessing a remote database. While doing processing, application has to post some data in a remote database.
As of now, when the Forms client is running and remote database is down, the client hangs.
I have tried Creating a timer before remote database procedure call in the FORMS Trigger and checking in the when_timer_expired trigger, if a specific duration has passed or not. This doesn't work as timer fires only after the remote procedure call completes and other SQL statements in the FORMS trigger where i have created the timer completes.
I Know sqlcode -3113 can be of help.
Hope someone can help me with a solution/suggestion.
Thanks
Hariinteresting situation.
what about issuing the select count(*) into cnt from dual, if cnt>0 then do post.
better to setup the remote database has fail-over to another node. -
My java application is delopyed on neo.ondemand.com and use the hana database on cloud also, we use eclipselink
the jpa persistence configuration:
<property name="eclipselink.target-database" value="com.sap.persistence.platform.database.HDBPlatform"/>
here i do not specify any user or password to access the database, i think hana JDBC somehow hide the user information when java application and hana database both are on the cloud.
for the tables created by JPA itself, access if fine.
now i have created a view via Hana studio, though database tunnel using account dXXXXXXsapdev
i have an JPA entity, and i am trying to access the view from java application, it reports error:
Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: [258]: insufficient privilege:
I do not know which database user is used by JPA to access the view, how can i grant the database rights on the view so that "native java application on cloud" can
access the database schema (or view created though database tunnel )
any comment is welcomed.Hi,
Please post this issue under SAP HANA Cloud Platform space. The platform experts should be able to help with that.
Regards,
Ifat. -
How to get the data from mysql database which is being accessed by a PHP application and process the data locally in adobe air application and finally commit the changes back in to mysql database through the PHP application.
If the data is on a remote server (for example, PHP running on a web server, talking to a MySQL server) then you do this in an AIR application the same way you would do it with any Flex application (or ajax application, if you're building your AIR app in HTML/JS).
That's a broad answer, but in fact there are lots of ways to communicate between Flex and PHP. The most common and best in most cases is to use AMFPHP (http://amfphp.org/) or the new ZEND AMF support in the Zend Framework.
This page is a good starting point for learning about Flex and PHP communication:
http://www.adobe.com/devnet/flex/flex_php.html
Also, in Flash Builder 4 they've added a lot of remote-data-connection functionality, including a lot that's designed for PHP. Take a look at the Flash Builder 4 public beta for more on that: http://labs.adobe.com/technologies/flashbuilder4/ -
How do you access external hard drive data that is connected to TimeCapsule through USB from iPad or knows based computer?
Filebrowser for the iPad does this very well.
FileBrowser - Access files on remote computers for iPhone, iPod ...
Cannot help on Windows, but another PC guy might be able to answer. Some possible clues here:
http://support.apple.com/kb/HT1331 -
Class not found Exception when accessing database through java using ASP
I am trying to access the database through ASP via java:
the database is setup as a system database..
the java class works fine if i try to run it as a stand alone.. but as soon as I run it through ASP.. it does not get passed the driver line.. is there anything in particular I need to do ?
JAVA and ASP and the output code looks like as follows:
java code looks like this:
import java.sql.*;
public class testDB{
private Connection connection;
private Statement statement;
public static void main(String[] args){
public String getDriver(){
String x = "start of program ";
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
x = x + " Got Driver";
connection = java.sql.DriverManager.getConnection("jdbc:odbc:database", "sunny", "jassal");
x = x + " After connection statement";
statement = connection.createStatement();
x = x + " After statement statement";
statement.execute("Insert into name (name, age) values ('hello', 33)");
x = x + " after insert";
connection.close();
} catch (Exception sqlex){x = x + sqlex.getMessage() + " " ;
x = x + sqlex.toString() + " " ;
x = x + sqlex.getLocalizedMessage();}
return x;
and the asp looks like this:
<html>
<%
set javaobject = GetObject("java:testDB")
response.write "after getting object"
response.write javaobject.getDriver()
set javaobject = nothing
%>
</html>
after getting objectstart of program sun/jdbc/odbc/JdbcOdbcDriver java.lang.ClassNotFoundException: sun/jdbc/odbc/JdbcOdbcDriver sun/jdbc/odbc/JdbcOdbcDriverwhat would I set the classpath to be .. and I am sorry I am new to this.. but how would I be able to check the CLASSPATH .. or even how do I set the CLASSPATH.. to which directory would i need to set the classpath to
I know I can set the classpath in dos by set CLASSPATH=
but I dont know how to set it so it would read the drivers -
Accessing access database through jdbcodbc
Hi,
i'm trying to access a sample database in MS Access through a simple jsp, here is the code:
<%@ page language="java" contentType="text/html; charset=utf-8" %>
<%@
page import="com.crystaldecisions.sdk.occa.report.application.*,
com.crystaldecisions.sdk.occa.report.data.*,
com.crystaldecisions.sdk.occa.report.lib.*,
com.crystaldecisions.report.web.viewer.*,
java.sql.*"
%>
<html>
<head>
<title>Set Runtime Datasource</title>
</head>
<body>
<%
/* Include the file AlwaysRequiredSteps.jsp, which contains the code to:
- Create a new Report Application Session
- Create a RAS service
- Set the RAS server to be used for the service
- Initialize the RAS service
- Create the ReportClientDocument object
- Set the RAS Server to be used for the report
- Open the report, and set the open type to Read Only
%>
<%@ include file="AlwaysRequiredSteps_ManagedRAS.jsp"%>
<%
// Create the class for the JDBC-ODBC bridge
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
// Create connection
java.sql.Connection connection = DriverManager.getConnection("jdbc:odbc:test", "", "");
// Create statement
Statement statement = connection.createStatement();
// Execute query and return result set ( Select all Customers and their Last Years Sales where Sales is greater than 20000$ )
ResultSet results = statement.executeQuery("Select Customer.`Customer Name`, Customer.`Last Year's Sales` from Customer where Customer.`Last Year's Sales` > 20000");
// Use the DatabaseController to set the datasource for the report to the java.sql.ResultSet
clientDoc.getDatabaseController().setDataSource(results,
clientDoc.getDatabase().getTables().getTable(0).getName(),
"Reports");
// Create a Viewer object
CrystalReportViewer viewer = new CrystalReportViewer();
// Set the name for the viewer
viewer.setName("Crystal_Report_Viewer");
// Set the source for the viewer to the client documents report source
viewer.setReportSource(clientDoc.getReportSource());
// Process the http request to view the report
viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);
// Dispose of the viewer object
viewer.dispose();
%>
</body>
</html>
This is for Report Application Server (Crystal Reports) but i don't think it's a problem of CR
I'm developing with websphere 5.1.1 in firs instance i had the error
ClassNotFoundException "sun.jdbc.odbc.JdbcOdbcDriver"
then i put rt.jar in my application classpath... so it fount the class
now i have the following error at DriverManager.getConnection line:
[23/03/06 18.33.41:359 CET] 11f228df WebGroup E SRVE0026E: [Errore servlet]-[]: java.lang.NullPointerException
at sun.jdbc.odbc.JdbcOdbcDriver.initialize(JdbcOdbcDriver.java:436)
at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:153)
at java.sql.DriverManager.getConnection(DriverManager.java:538)
at java.sql.DriverManager.getConnection(DriverManager.java:188)
at org.apache.jsp._SetRuntimeDatasource._jspService(SetRuntimeDatasource.jsp :87)
at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:662)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:974)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:555)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
Does anyone has solved this problem?
I read that IBM websphere don't have JdbcOdbc drivers....
Please help
Thank in advanceThis is for Report Application Server (Crystal
Reports) but i don't think it's a problem of CR
I'm developing with websphere 5.1.1 in firs instance
i had the error
ClassNotFoundException
"sun.jdbc.odbc.JdbcOdbcDriver"
then i put rt.jar in my application classpath... so
it fount the class
now i have the following error at
DriverManager.getConnection line:
WRONG!
If you did that it means that you are NOT runing the Sun VM.
You can NOT use the bridge driver in another VM. -
Caonnecting ms access database through tomcat5.5 query
Hi,
I have installed tomcat5.5 and jdk1.6 on my machine which has Windows server2003 as OS.
I'm not able to clearly underdstand the steps in tomcat docs for connecting to database and the changes to be made in different files.
Can someone tell me detailed and clear steps for connecting to an ms access database through jsp?
Thanks in advance for your suggestions.I'm not exactly sure why you have this problem. I know that the Microsoft SQL Server driver has a parameter "readOnly=false". Check your DB2 docs to see if you need to set a flag like that, too.
Maybe it has to do with transactions and auto commit. See if DB2 assumes autoCommit true or false. Maybe you have to explicitly commit your INSERT.
Maybe you're writing to one database and opening another. Make sure that's correct.
There are other suggestions that I'll offer.
You do all that work with a database in a constructor? Bad idea.
You've got database and UI stuff all mingled together. Ever heard of MVC separation?
Be object-oriented - start by designing an object to encapsulate all those items you're trying to INSERT.
Then write a Data Access Object (DAO) that does CRUD operations for that object. Test these thoroughly, preferrably with JUnit, until they're 100% perfect.
Then have a separate UI that instantiates these objects and calls their methods. The persistence layer shouldn't know about UI stuff, and the UI shouldn't need to have any persistence code in it.
% -
How to access the LOB objects through database links??????????????
Hi
See:
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:52297289480186
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:5322964030684
And you also might want to get a new keyboard, your '?' seems to be stucked....
Maybe you are looking for
-
Calculation date deference between two rows in same column and in same table
mytable accountno tdate 1001 01/01/2014 1002 01/01/2014 1003 01/01/2014 1004 01/01/2014 1005 01/01/2014 1001 01/02/2014 1002 01/02/2014 1003 01/02/2014 1004 01/02/2014 1005 01/02/2014 1001 01/03/2014 1002 01/03/2014 1003 01/03/2014 1004 01/03/2014 10
-
How to join two columns between two tables with different column names
Hi How i can join 2 columns with different names between the 2 tables. Can any one please give solution for this. Thanks Manu
-
We have been using weblogic to serve the jnlp for a while now (there is a servlet that generates jnlp and sends to client) without any problems. Yesterday the following error occurred for the first time and the server stopped working. Does anyone hav
-
How do I share video clips with others using the Starter Edition?
I have many videos on my Photoshop Album Starter Edition account. Is there a way to share videos using the Starter Edition program?
-
Problem with Wine, doesn't start
Hello everyone, I try to use wine, but I have a small problem : It doens't start. When I try to launch it, or for example, winecfg, I have this error : ratur@trillian ~% winecfg wine: Unhandled page fault on read access to 0x00340023 at address 0x7ef