God d*mn JDBC, getGeneratedKeys does not work.
I am so mad with the limitation of JDBC 3.0. It's version 3, and years of development, what the h*ll.
To retrieve the auto generated keys, you have to execute an sql statement. So, if the data needs to be escaped properly, I would use PreparedStatement. Unfortunately, PreparedStatement also only allow you to return generated keys if executeUpdate on sql statement:
pstmt.executeUpdate(sqlString, ,PreparedStatement.RETURN_GENERATED_KEYS);
So, that means preparedStatement is no different than statement in this case. So, it's almost unusable.
Next, there is no support for retriving autogenerated keys if you do thing like using recordset.insertRow().
>
I am so mad with the limitation of JDBC 3.0. It's
version 3, and years of development, what the h*ll.
To retrieve the auto generated keys, you have to
execute an sql statement. So, if the data needs to be
escaped properly, I would use PreparedStatement.
Unfortunately, PreparedStatement also only allow you
to return generated keys if executeUpdate on sql
statement:
pstmt.executeUpdate(sqlString,
,PreparedStatement.RETURN_GENERATED_KEYS);
So, that means preparedStatement is no different than
statement in this case. So, it's almost unusable.
Next, there is no support for retriving autogenerated
keys if you do thing like using recordset.insertRow().3 tier applications can't use updatable result sets. Only smaller applications can use this.
The JDBC at least allows for user comment and I think it is part of the JCP process so you can join as a member and offer you input for the next version.
Similar Messages
-
Report with JDBC connection does not work when they includes CommandTable
I am trying to render using the new version of Crystal report java component - CRJ a report contains Data base Fileds of type Command Table (Row Set) which seems to be not working.
when i use the previes version of crystal SDK it works fine.
after deugging the Sample CrystalHelper.java file which contains the method .changeDatasource()
i found that the DataBaseController.setLocation() method changes the CommandTable class to Table when using it on CommandTable instance and as result all the fields defined into that CommandTable were disappear.That appears to be a known issue: Eclipse JRC: To change the JDBC connection at run time
Sincerely,
Ted Ueda -
Jdbc tracking does not work in JDeveloper 10.1.2
My project consists of a single jsp file, and two libraries: JSP Runtime, and DebugJDBC. The latter simply includes ojdbc14_g.zip
The JSP FIle is
<%@ page contentType="text/html;charset=windows-1252"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>untitled</title>
</head>
<body>
<%
oracle.jdbc.driver.OracleLog.startLogging();
%>
</body>
</html>
The error I get is:
Oracle Jdbc tracing is not avaliable in a non-debug zip/jar file
Should I log a bug about this?
Thanks,
-RobertI just verified that the problem does not exist in JDeveloper 10.1.3.0.4.
Regards,
-Robert -
Update of MySQL and SQL Server JDBC Driver does not work in 1.2.1
Hi,
always after the update process is started i got the MySQL and SQL Server JDBC driver
update notification.
But all the time after i install the update i got the notification again but no errormessage
that the update was maybe not successful ???
FrankOk
then my subject was false
i always try to update the extensions and now i can see that they are updated on the filesystem but the IDE does not recognize them as updated
....\sqldeveloper\sqldeveloper\extensions\oracle.sqldeveloper.thirdparty.drivers.mysql
is available and new after the update process
and under
...\sqldeveloper\sqldeveloper\tmp\update\oracle.sqldeveloper.thirdparty.drivers.mysql.5239.zip
the downloaded zip file is also available.
In the update window the message is that the extension with version 5206 is available
Maybe that is the problem cause the downloaded files are version 11.1.1.5239
if you look at the bundle.xml file inside the META-INF directory
Frank -
Configuration Template Builder WL8.1 does not work
Hello,
After spending nearly 2 days now trying to get a Configuration Template
built, I've concluded this simply does not work. Has anyone used the
Config Template builder to package a semi-complex application on top of WLI?
I'm trying to have 2 of my applications, the JMS and JDBC resources,
and a WLI event generator packaged up for easy deployment to someone
else's server configuration. The problem with this is that there are
required resources for WLI, namely a database. The Pointbase database
included for WLI does not get included in the template automatically.
There are also some flat-out bugs:
If you choose to include a resource adapter "application", such as
jms-xa-adp.rar, the template builder does not bundle this in the
template and deploy it correctly. The template builder restricts you to
putting applications in the relative path starting at ./
For jms-xa-adp.rar, its original location is in $WL_HOME/server/lib, and
the template builder defaults to put it in ./lib of your template.
However, when you create a domain with the template, jms-xa-adp.rar does
not get placed in your ./lib directory. This causes you to then go and
manually edit your config.xml to point back at $WL_HOME/server/lib or to
manually copy jms-xa-adp.rar into your ./lib directory (which the
template mechanism should do for you).
Relative paths in the config.xml file require you to execute the config
builder from the directory of the domain you are making a template for.
The template builder should instead be smart enough to realize that
relative paths in the config.xml file are relative to the directory that
the config.xml is in, not the one you are running the template builder
from. You'll get an error when trying to create the template cause it
won't find the resources if you're not in that directory.
If anyone has successfully used this to package a WLI application in a
template, please share your experiences and how to do so. In the
meantime, I'm claiming there is no way to nicely package up a server
configuration for a WLI app in Weblogic, and this is a big shortcoming.
Weblogic needs a simple transferrable way of creating server
configurations (it tries to do this with the template, but that is
failing). With JBoss, for example, you simply copy your server directory
into another installation. This doesn't work with Weblogic unfortunately
because it puts hard-coded paths in the config.xml file.
ThanksRuss,
Thank you for the detailed responses. The only one I'm currently
struggling with still is the #5, with the scripts between the two. One
of the major benefits of using a J2EE App Server is supposed to be the
portability between servers. I find it disconcerting that BEA Weblogic
restricts me to the platform I created the domain on by creating
platform-specific startup/shutdown scripts for only the platform created
on. It's understandable that a script converter would be difficult, but
at least both the .sh/.cmd files should be created from the first time
you make a domain. If the user only wants one or the other, they can
delete the appropriate one. It's also understandable that the
users/deployers shouldn't have to manually convert a startup/shutdown
script to take the domain to a different box.
JBoss clearly has BEA beat on ease of deployment here. Their model is
the concept I'm thinking of: you have some generic startup/shutdown
scripts that can load a platform-independent server configuration. You
truly can copy directories as-is between JBoss installations.
I was hoping to package up a server domain for use on any of the
supported platforms, but since I don't have the time to manually convert
the startup/shutdown scripts, I'm going to have to tell people it's only
for Solaris now.
Hopefully BEA can fix this in a future SP. There's no need for this
platform-dependency. Also, if the Windows version can generate both
scripts at creation time, then the Solaris should be able to do this as
well (or at least give you the option).
Thanks again for the replies
russ wrote:
Hi Steven,
I have several comments and questions about your last two posts. I will try to
address them in order.
1) "The Pointbase database included for WLI does not get included in the template
automatically."
By default the template builder only includes the *.cmd and *.sh files in the
template from your domain directory. If you begin building with an existing
domain template all files that were in the template will get included. This was
done because there is no way for the builder to automatically determine all the
files that are required by your template/domain and we steered away from recursively
including all files from the directory so that unused files were not needlessly
included. We can extrapolate some files based on the application paths in the
config.xml, but the rest is left up to the template builder to be aware of what
is needed for their domain to run. So, if you need the Pointbase *.dbn and *.wal
files included in your template just select these files on the ?Add Files? panel
of the template builder and add them to the ?Domain Directory?.
2) ?If you choose to include a resource adapter "application", such as jms-xa-adp.rar,
the template builder does not bundle this in the template and deploy it correctly.?
The template builder considers application files to be in two categories: Imported
or Internal. When you are at the ?Add Applications? panel of the builder you
will see a checklist of all the applications that are in the domain you selected.
On the right hand side there are two text fields. The top one displays the application
path as it is currently set in the config.xml of that domain. The bottom field
will be different depending on what category the application falls into. As you
click on each application in the list, you may notice that the bottom field may
change from an editable field titled ?Imported Application Path? to a non-editable
field titled ?Internal Application Path?. The difference between the two categories
is that an ?Imported? application?s files will be included in the template jar.
An ?Internal? application?s files will not be included in the template jar because
they are considered internal to the weblogic installation. The jms-xa-adp.rar
should fall into the internal category and should not get included in your template.
From what you are describing it sounds like the builder attempted to import that
application when it should not have. In an attempt to recreate the problem you
are seeing I deployed that Connector Module through the WLS console and ended
up with an application path of ?C:\bea\weblogic81\server\lib? where ?C:\bea\weblogic81?
is my WL_HOME (a.k.a. USER_INSTALL_DIR). If I then attempt to build a template
from this domain, the builder recognizes this as an internal path and does not
include it inside my template. If the current application path you had looks
different from the one above, that may explain why the builder was attempting
to import it. What was the value of the ?Current Application Path? for that application
deployment?
3) ?Relative paths in the config.xml file require you to execute the config builder
from the directory of the domain you are making a template for.?
The builder is ?smart? enough to determine relative paths. You should not have
to invoke it from the domain directory you are working with. There is a known
bug in the WebLogic Platform 8.1.1.0 release of the template builder that will
cause it to not find files with relative paths in your domain directory if the
application path in the config.xml is just a ?.?. If this is the case, you should
see a FileNotFoundException when you attempt to create the template. This will
be fixed in SP2 and you can work around this problem by changing those paths to
?./? instead. If this was not the case, what was the path the wizard choked
on?
4) ?Looking through the config file, it seems that it's all of the WLI components
that have absolute paths in the config file. In addition, BEA_WLS_DBMS_ADK has
an absolute path, not sure if that is WLI or WLS. ?
BEA_WLS_DBMS_ADK is an integration application. If you created the original
domain using the configuration wizard most of the applications in an integration
enabled domain will reference paths inside of you installation directory or ?internal?
paths. For instance, I used the wizard to create a ?Basic WebLogic Integration
Domain?. The path for that application in this domain is: ?C:\bea\weblogic81/integration/adapters/dbms/lib/BEA_WLS_DBMS_ADK.ear?
where ?C:\bea\weblogic81? is my WL_HOME or USER_INSTALL_DIR. When I load this
domain into the builder it shows this application as ?internal? and the ?Internal
Application Path? is "$USER_INSTALL_DIR$/integration/adapters/dbms/lib/BEA_WLS_DBMS_ADK.ear".
This will be set as the path value of this application in the config.xml that
will be included in the template you build. When you later use the Configuration
Wizard on this template it will substitute the $USER_INSTALL_DIR$ to the value
of the installation directory of the machine you are creating it on.
If you were to Change these to relative paths, as Mark previously suggested,
it will only work if you copy the domain directory to the same location relative
to your installation directory on the target machine. Also, if you copy the domain
in this manner you will more than likely run into problems with your start/stop
scripts and be forced to hand modify all the paths contained within. The configuration
wizard tries to alleviate these problems and make the configuration entirely portable.
This gives the user who creates the domain from your template the ability to
put it anywhere they want regardless of the paths in the config.xml.
5) ?However, there is another major problem with the Template Builder: it only
includes the startup/shutdown script for the platform you create the template
on. ???I built the template on Solaris with the UNIX scripts. However, I tried
to create a new config on Windows with this template, and the scripts were not
converted to .bat files!?
As I stated previously, the builder will only include *.cmd and *.sh scripts
into your template by default. If you created the domain on a unix platform using
the configuration wizard it will not extract the *.cmd files since these aren?t
considered to be useful on unix. If you were then to attempt building a template
from this domain and take it onto a windows platform, it will obviously be missing
any windows scripts. Conversely, the wizard will extract *.sh scripts on windows
because they can still be useful if a user has an MKS or Cygwin type environment
installed. The config wizard and template builder do not have the ability to convert
scripts. The builder will only include existing scripts that are in your domain
directory and automatically determine any necessary string substitutions that
will be needed. Please note that since WebLogic is only supported on the NT/2K/XP
versions of windows you will find that the wizards use ?.cmd? files and not ?.bat?
files since these are more commonly associated with Win 95/98/ME.
I will be happy to answer any more questions you may have and would also like
to take a look at your domain configuration to try and get a better understanding
of the problems you are encountering.
thanx,
russ -
Delete Operation in JDBC Sender Adapter not works
Hi,
I have one student table which contains the fields ID,Name,BirthMonth,BirthYear,ReadFlag fields. ReadFlag is a character field or lenght 1 which contains only values either 'Y' or ' '.
I want to execute delete operation in this table ie to delete the records which contains the readflag = 'Y'. So, I set the below values for the following parameters.
DELETE FROM student WHERE READFLAG = ' Y '
Query SQL Statement : SELECT * FROM student WHERE readflag = 'Y'
Update SQL Statement : DELETE FROM student WHERE READFLAG = 'Y'
Poll Interval : 60 Seconds.
There are more records in this table which contains readflag = 'Y'. But, the Adapter does not delete those records from the table i.e delete operation is not executed. At the same time, in Comm. Channel monitoring it does not show any error, but the delete operation is not carried out in the table.
I tried after 'COMMIT' the table also. But it does not work. What could be the reason ? or How to use Delete Operation effectively on the table ?
Kindly help me friends to solve this problem.
Thanking you.
Kind Regards,
Jeg.http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm >>>
<i>Adapter Work Method
You must add an indicator that specifies the processing status of each data record in the adapter (data record processed/data record not processed) to the database table.
The UPDATE statement must alter exactly those data records that have been selected by the SELECT statement. You can ensure this is the case by using an identical WHERE clause. (See Processing Parameters, SQL Statement for Query, and SQL Statement for Update below).
<b>Processing can only be performed correctly when the isolation level for transaction is set to repeatable_read or serializable.
Example
SQL statement for query: SELECT * FROM table WHERE processed = 0;
SQL statement for update: UPDATE table SET processed = 1 WHERE processed = 0;
processed is the indicator in the database.</b></i>
try with repeatable_read or serializable !!!
Also go thru this thread - DELETE Querey in JDBC SENDER -
JCLoginDialog does not work correctly in JDev 10
Have anyone got the JCLoginDialog to work with JDev 10g and JDBC?
I have a JCLoginDialog generated by JDeveloper 10g, and have made the appropriate changes as described in the JDeveloper help. (Removing password and deployPassword entries in bc4j.xcfg and made the described changes in the getInfo method.)
When I am starting the application, I am repeatedly getting prompted for username and password, although I enters the correct values).
Below is some trace from my getInfo-method:
Debugger connected to local process.
getInfo --> user = xyz
getInfo --> password = null
getInfo <-- user = student
getInfo <-- password = student
getInfo --> user = xyz
getInfo --> password = null
getInfo <-- user = student
getInfo <-- password = student
getInfo --> user = student
getInfo --> password = student
getInfo <-- user = student
getInfo <-- password = student
getInfo --> user = xyz
getInfo --> password = null
getInfo <-- user = student
getInfo <-- password = student
student/student is the correct database username and password, and xyz is the value for username in bc4j.xcfg.
Another interesting thing is that the runtime exception checked for in the beginning of the getInfo-method:
RuntimeException exc = ((RuntimeException)((Hashtable)connEnvironment).get(DefaultConnectionStrategy.LAST_EXCEPTION));
is always null, even if I tries to enter an incorrect password.
I need a quick solution for this, since we must be able to use different database users in our application.
Thanks in advance.Has anyone succeded in doing this?
This is a very very basic functionality, and it does not work in JDev10g Production. Either it is a bug in ADF, or a bug in the documentation of how to implement this.
Oracle Support, where are you? I have not got any answers for this, neither in this forum, nor in Metalink. -
Package oracle.jdbc.driver does not exist!!
hi there..
am writing a JBDC application and i got the following error:
"package oracle.jdbc.driver does not exist"
what am i supposed to do??
well, am not sure, but i guess the above means that i dont have a JDBC driver for oracle; f i am right, where to get that from and how to install it (in terms of code and maybe enviroment variable)???
one more question: if i want connect to another DB engine than oracle, for example sql server or DB2, do i have to get a different driver??
Appreaciating ur cooperation
MOuradActually, if you're using JDK 1.4 or higher you should be using ojdbc14.jar from Oracle. classes12.zip is JDK 1.2 technology.
If you connect to another relational database you should always get the JDBC driver JAR from that vendor. They don't work across different databases. - MOD -
VPD context_sentisitive policy does not works as expected
Hi,
I'm trying to implement CONTEXT_SENSITIVE RLS policies:
http://docs.oracle.com/database/121/ARPLS/d_rls.htm#ARPLS67721
Server re-evaluates the policy function at statement execution time if it detects context changes since the last use of the cursor. For session pooling where multiple clients share a database session, the middle tier must reset context during client switches. Note that the server does not cache the value returned by the function for this policy type; it always executes the policy function on statement parsing. Applies to only one object.
What I have discovered so far:
1. policy function executed each time when query executed from SQL*Plus. Independently of context changes.
2. policy function executed only once when query executed from PL/SQL.
3. When we have a PL/SQL procedure like this:
begin
<query>
<change context>
<query>
end;
Additionally, query (cursor) is not present in PL/SQL cursor cache, then
policy functions executed only once when first query executed.
So wrong results are possible when application context changed in a way that policy function returned predicate also changed.
4. JDBC: policy function executed each time when query is executed. Policy function executed only once when I enabled statement caching:
OracleDataSource ods = new OracleDataSource();
// skip
ods.setConnectionCachingEnabled( true );
ods.setImplicitCachingEnabled( true );
Properties cacheProps = new Properties();
cacheProps.put( "InitialLimit", "1" );
cacheProps.put( "MinLimit", "1" );
cacheProps.put( "MaxLimit", "5" );
cacheProps.put( "MaxStatementsLimit", "50" );
ods.setConnectionCacheProperties( cacheProps );
5. Queries with RLS policies are not cached in the session cursor cache. For example, if we executed same query multiple times in SQL*Plus - then this query will be not cached.
2 and 3 (PLSQL) relates to PL/SQL cursor cache.
As a result, when we disable PL/SQL cursor cache (setting session_cached_cursors=0), then policy function executed each time in PL/SQL.
What I have observed, it is not agreed with documentation on context_sensitive policies (I provided a link above):
Server re-evaluates the policy function at statement execution time if it detects context changes since the last use of the cursor.
Signature of DBMS_RLS.ADD_POLICY procedure was changed in 12c with additional arguments: NAMESPACE, ATTRIBUTE.
I tried to use them with no luck, results are the same.
In my opinion statements below are contradict to each other:
1. Server re-evaluates the policy function at statement execution time if it detects context changes since the last use of the cursor.
2. it always executes the policy function on statement parsing.
First, documentation says that the policy function evaluates at statement execution time.
Second, documentation says that the policy function executes on statement parsing.
I have used Oracle Database 12.1.0.2 for testing.
I provided a script that I have used in my tests:
rls_policy.txt - creates test schema and policy
rls_sqlplus.txt - runs simple select against query with RLS policy
rls_plsql.txt - more complex example, runs some anonymous blocks with queries against table with RLS policy.
In my opinion, context_sensitive policies does not works as described in the documentation.
Is it a bug or I'm missing something?
Please advice.
Best regards,
Mikhail.Thanks Scott. May i know why i should never use user policies for denying access?
From my readings on some articles, there is no way to deny users permission in sharepoint after granting domain users with read access other than the web application user policy in our case (with certain reason, we need this group to be granted with
read access but we would like to restrict small amount of users from seeing the page) -
IDoc string field to JDBC date field - Not working
Hello everyone,
Once again I must ask you something that is keeping me..
I had a interface type RFC ASync to JDBC SQL Server, it was working fine. Then, I was asked to change to a type iDoc ASync to JDBC SQL Server.
At first, it was not a problem, just manual work. But them, I am getting an error.
In the RFC, I had a date field, that was directly related to the date field on the JDBC destination, so the mapping was pretty much straight forward. The SQL INSERT command was working fine on this cenario.
Now, in iDoc, this field was automatically converted to a string, and somehow, PI is not understanding that string has to be mapped to a date field in the JDBC.
Is there any 'workaround' for me to do this?
Thanks!
Ricardo Sancio Lóra
BrazilThe issue here is that somehow, the same SQL insert command that was working, does not work anymore.
This is the SQL command took from RWB log monitor:
INSERT INTO aniversariantes_sap (matricula, nome, nascimento, unidade) VALUES (00000070, 'Ricardo Lora', '19851216', 00000000)
If I run this query on my DB it works.
But, in PI, it's not, here is the error:
Could not execute statement for table/stored proc. "aniversariantes_sap" (structure "ANIVERSARIANTES_SAP") due to com.microsoft.sqlserver.jdbc.SQLServerException: Syntax error converting datetime from character string.
I´ve tried cast() and convert() using mapping 'habilities', but also, does not work. Work if I run in the DB, but not if PI runs it.
Wierd..
Ricardo -
JDBC driver does not support XA - Exception
JDBC driver does not support XA
cannot participate in a two-phase commit
To Force participation set EnableTwoPhaseCommit property on the corresponding JDBCTxDataSource property to true
1) What is a JDBCTxDataSource - what does the TX mean?
2) I have two data sources and according to BEA Weblogic docs, setting the property on both won't solve the problem. I tried.
3) When I try to change the data pools to use XA drivers, I get the following error on server startup:
java.sql.SQLException: Pool connect failed: java.lang.Exception: WebLogic Pool Driver doesn't support XA driver, Please change your config file to use a Non-XA driverJDBC driver does not support XA
cannot participate in a two-phase commit
To Force participation set EnableTwoPhaseCommit
property on the corresponding JDBCTxDataSource
property to true
So use an XA driver.
TX usually means "transaction".
1) What is a JDBCTxDataSource - what does the TX mean?
2) I have two data sources and according to BEA
Weblogic docs, setting the property on both won't
solve the problem. I tried.Right - you need XA drivers and JTA for both.
3) When I try to change the data pools to use XA
drivers, I get the following error on server
startup:
java.sql.SQLException: Pool connect failed:
java.lang.Exception: WebLogic Pool Driver doesn't
support XA driver, Please change your config file to
use a Non-XA driverCreate new pools using the XA drivers. Don't reuse the old ones.
Which version of WebLogic? I've made XA work for both 8.1 and 9.1.
% -
JDBC driver does not support XA,,hence cannot be a participant in two-phas
Error committing transaction:; nested exception is: javax.transaction.xa.XAException: JDBC driver does not support XA, hence cannot be a participant in two-phase commit. To force this participation, set the GlobalTransactionsProtocol attribute to LoggingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source = SOADataSource
i have enabled the LoggingLastResource option still it is not working showing the same error.
i have a doubt in this case my datasource is of type XA then is there any need to enable any of the above option(LoggingLastResource (recommended) or EmulateTwoPhaseCommit).
please do reply it has hampered many of the tasks.Open a support case. You can't even create an XA LLR datasource.
-
URGENT: xml:dml commit="yes" does not work
Hello!
Im using XDK 9.0.1.1.0A with Tomcat 4.0 and Oracle 9.0.1.1.1 on
NT. I have a problem with commiting an xsql:dml action. I tried
to set the commit-attribute like
<?xml version="1.0"?>
<page connection="demo" xmlns:xsql="urn:oracle-xsql">
<xsql:dml commit="yes" >
INSERT INTO dept(deptno, dname) VALUES ({@dept}, '{@dname}')
</xsql:dml>
</page>
and I tried to set the autocommit tag in XMLConfig connection
definition, but that does not work. The result was
<?xml version="1.0" ?>
- <page>
<xsql-status action="xsql:dml" rows="1" />
</page>
The only way is to use
<?xml version="1.0"?>
<page connection="demo" xmlns:xsql="urn:oracle-xsql">
<xsql:dml commit="yes" >
BEGIN
INSERT INTO dept(deptno, dname) VALUES ({@dept}, '{@dname}');
COMMIT;
END;
</xsql:dml>
</page>
Shouldn't that be fixed?
Any help would be very welcome!
Thanks
Stefan
(I know there were a lot of discussion on this topic here, but I
could not sort all the search results by date, so...)Using XDK 9.0.2C and Tomcat 4.0.1 I performed the following test.
[list=1]
[*]Created the page test.xsql
<page connection="demo-no-commit" xmlns:xsql="urn:oracle-xsql">
<xsql:dml>
insert into testtable(a,b) values (testtabseq.nextval,1)
</xsql:dml>
</page>
[*]Edited my XSQLConfig.xml file (which I put in
<tomcathome>\common\classes) to contain the section
<connection name="demo-no-commit">
<username>scott</username>
<password>tiger</password>
<dburl>jdbc:oracle:thin:@localhost:1521:ORCL</dburl>
<driver>oracle.jdbc.driver.OracleDriver</driver>
<autocommit>false</autocommit>
</connection>[*]I deleted all rows from TESTTABLE in SQLPLUS
[*]I created TESTTABLESEQ sequence
[*]I requested the test.xsql page 10 times through my browser
[*]I selected from the TESTTAB table and found zero rows
[*]I edited my XSQL page to add commit="yes" like this
<page connection="demo-no-commit" xmlns:xsql="urn:oracle-xsql">
<xsql:dml commit="yes">
insert into testtable(a,b) values (testtabseq.nextval,1)
</xsql:dml>
</page>[*]I re-requested the XSQL page through the browser
[*]I selected rows from the TESTTABLE table, and now found
one row:
SQL> select * from testtable;
A B
11 1[list]
So using 9.0.2C with autocommit off and commit="yes" this
works as advertised. -
If I use a check box component then FScommand2 Quit does not work
If I use a check box component then FScommand2 Quit does not
work? Even tho the check box component works fine.
Why is this so? I spent two hours tearing my hair out to work
this out!I have tried to help my friend Blasta and then he export the photo (as you told us to do) the description is lost. Then I have read your god advices I took up one photo in Graphic Converter with result:
---- ExifTool ----
ExifTool Version Number: 9.39
---- System ----
File Name: DSC00160.jpg
Directory: /Users/akesjodin/Documents/Jan 2
File Size: 594 kB
File Modification Date/Time: 2013:12:17 13:46:16+01:00
File Access Date/Time: 2013:12:17 13:51:37+01:00
File Inode Change Date/Time: 2013:12:17 13:48:05+01:00
File Permissions:
rw-r--r--
---- File ----
File Type: JPEG
MIME Type: image/jpeg
Current IPTC Digest: fac9fec98a44c4d807be572ed64373d6
Exif Byte Order: Big-endian (Motorola, MM)
Image Width: 3328
Image Height: 2216
Encoding Process: Baseline DCT, Huffman coding
Bits Per Sample: 8
Color Components: 3
Y Cb Cr Sub Sampling: YCbCr4:2:0 (2 2)
---- JFIF ----
JFIF Version: 1.01
Resolution Unit: inches
X Resolution: 72
Y Resolution: 72
---- IPTC ----
Coded Character Set: UTF8
Application Record Version: 2
Caption-Abstract: Alla bilder Gepe Made in Sweden (41 stycken) utom 17 stycken Agfacolor Service German Made, 1 stycken Agfacolor Dia Agfa, 15 stycken Kodachrome Slide Kodak Processed by Kodak, 5 stycken Kodachrome Transparency Processed by Kodak och 1 stycken okänd...Bergastrand. X. 1970. Blandade bilder. .(Somm?)ar 1970 1 magasin..Torsten Erna 1 magasin..Blandade bilder 710-749...Bergastrand...Vänstra magasinet: Bergastrand 1 år I...12-68. 701.
Object Name: DSC00160
and there is the description text in Caption-Abstract under ----IPTC---
If I use Preview I can´t se any descrption and if I import to Iphoto no descption.
we are very greatful for all help -
The raise to speak feature on Siri does not work
The raise to speak feature on Siri does not work anymore is there any possible fixes for this
I had the same problem (iPhone 5), but the fix was simple.
Turn off your Bluetooth. Yeah, I know this sounds crazy. Here's why.
When you use Siri with the "Raise to Speak" feature activated (Settings/General/Siri), this enables the proximity sensor that lets the iPhone know it is near your ear, activates Siri, and turns off the display.
However, if you are using a bluetooth headset (like I do), then this sensor is turned off automatically, because you will be speaking thru your bluetooth and not the iPhone to activate Siri and make calls.
To prove this, do the following test.
Make sure "Siri" is on, and "Raise to Speak" is on (Settings/General/Siri).
Turn off your Bluetooth (Settings/Bluetooth).
(TEST) Hold your phone in front of you, and with a natural motion, bring the phone to your ear (as if you are answering a call). Siri will automatically activate, assuming you want to ask it/her a question (very cool feature). And the screen will turn offautomatically.
If you have never used the "Raise to Speak" feature, this feature automatically activates Siri when you raise the phone to your ear (really a cool and helpful feature). It may take a little practice to get used to this. I struggled at first, but soon got the hang of using a natural motion to bring the phone to my ear. Starting with the phone in front of you, the phone should be "almost" parallel to the ground when it gets to your ear. It may take several practice tries to get it, but you will get it, and you will be hooked on this neat little feature.
Ok, with this done, this proves your proximity sensor is funtioning properly.
Now, turn on your Bluetooth (Settings/Bluetooth).
And repeat the same (TEST) above.
This time, Siri should not activate, and the screen should not go off. Why? This is because your voice communications with callers (and Siri), are now going thru your Bluetooth, and not the phone handset. Because of this, their is no need for the proximity sensor, so it is automatically turned off (when Bluetooth is on).
I can only speak for me and my situation, and what worked for me. However, their may be other issues regarding the proximity sensor separate of this that I am not aware of.
I hope this helps you.
Man I love the "Raise to Speak" feature, you will too.
God Bless You All.
Maybe you are looking for
-
ANY UPDATES FOR IPHONE 4S to fix WIFI ISSUE
ANY UPDATES TO FIX THE WIFI (UNABLE TO JOIN NETWORK) FOR IPHONE 4S? THERES A NEW OS FOR IPHONE5, WHY NOT BOTHER TO FIX THIS ISSUE FIRST???
-
How to avoid special stock indicator for intercompany sales transitions.
Hi Friends I have an issue Intercompany sales .if I enter intercompany plant(Delivering plant) in the sales order system is taking special stock indicator and looking for sales order stock. If I enter company code plant for sales from unrestricted s
-
Hi, We just upgraded to SAP 6.0 and we are having an issue with some of our zreports using ALV. When using the excel button on the grid, it starts excel but only the first few lines the report are now being transferred to excel. Example: If I have fi
-
I can not restore and upgrade my Iphone 4. When i plug in to computer itune's restore and check for update buttons are not active. What is that mean?
-
Screen Captures of Setup Assistant?
I'd like to document the Setup Assistant that runs after installing Mac OS X (or booting a brand new Mac for the first time). Specifically, I'd like to be able to take screen captures of the various dialog boxes that appear such as setting up the fir