Using java date type
Hi,
Is possible to use one data type defined in java in one forms.? How do yo define this type in forms. We need insert data in one vector java(defined in java).
Thank all
for example:
javax.jcr.Session session = resourceResolver.adaptTo(Session.class);
String parentPath = "/content/blah"; // or whatever your parent path is
String nodetype = "nt:unstructured"; // or whatever other node type you require
Calendar calendar = Calendar.getInstance(); // or whatever date
Node node = session.getNode(parentPath).addNode("nodename", nodetype);
node.setProperty("myproperty", calendar);
session.save();
Similar Messages
-
External SOAP client Accessing Webservice using built in Java Data type
We have built a webservice and deployed it on WLS. We accessed this from a swing
client it works fine.The webservice methods uses non-built in JAVA data types
as parameters.These are Value Objects and the JAVA Serializer and Deserializer
classes are generated using Ant task itself.The client coding uses Value objects
given by the Client_jar (generated using <Clientgen> ant task) to pass to the
webservice. We dont want to go by this way.Is there anyway were in we can pass
parameters to the method which expects non-built in java datatypes?
Why i am asking this is, i want to know how an external client (.Net client )
will be able to exceute my webservice (i.e., passing the required Object which
the method is expecting)?Hi Anish,
Well first off, your web service doesn't send or receive "objects". It only sends
and recieves XML, which is in turn converted to/from Java objects at invocation
time. Second, a .NET (or Perl, or Python, or C++) client will be able to call
your web service, because the wsdl.exe tool (for .NET) will generate "programming
language specific" objects from the <types><schema> elements, in the WSDL of your
web service :-) The wsdl.exe tool will create C# objects from the WSDL, that will
convert XML to/from C# when your web service is called. That's the beauty of XML
schema - it's a "universal typing system", so it's not tied to a particular programming
language. The only issue is whether or not the web services platform vendor's
XML Schema/WSDL processor, can successfully process the WSDL. Some vendors have
more complete implementations of the WSDL and XML Schema specs than others, so
expect varying success here. The one in WLS 7.0 is pretty good, so you shouldn't
have too many problems consuming WSDL generated by .NET tools (or any other tool
for that matter).
Regards,
Mike Wooten
"Anish" <[email protected]> wrote:
>
We have built a webservice and deployed it on WLS. We accessed this from
a swing
client it works fine.The webservice methods uses non-built in JAVA data
types
as parameters.These are Value Objects and the JAVA Serializer and Deserializer
classes are generated using Ant task itself.The client coding uses Value
objects
given by the Client_jar (generated using <Clientgen> ant task) to pass
to the
webservice. We dont want to go by this way.Is there anyway were in we
can pass
parameters to the method which expects non-built in java datatypes?
Why i am asking this is, i want to know how an external client (.Net
client )
will be able to exceute my webservice (i.e., passing the required Object
which
the method is expecting)? -
Using non_build_in data type in web service
Hi everybody,
Can anyone tell me the process of using a data type which is not supported in java web services(data types such as "DATE",...)???
Any examples can be helpful.
Thanks in advanceHi everybody,
Can anyone tell me the process of using a data type which is not supported in java web services(data types such as "DATE",...)???
Any examples can be helpful.
Thanks in advance -
Using Complex Data Types in Import JavaBean Model
Hi,
I have searched and read forums and weblogs related to import javabean model.
But I am not clear about how to use complex data types like ArrayList, Collection etc in my java bean.
If I use these complex datatypes in my bean, when creating model in WDF it displays the Complex data elements in Model Relation. I dont know how to use this model relation in my WD project.
Anyone please explain the<b> step by step solution</b> about using complex data type(used in Bean) in WD Project.
Thanks,
Krishna KumarHi Krishna,
Valery`s blog contains sample code ( http://www.jroller.com/resources/s/silaev/Employees.zip )
Another blogs from this area:
/people/anilkumar.vippagunta2/blog/2005/09/02/java-bean-model-importer-in-web-dynpro
/people/valery.silaev/blog/2005/08/30/javabean-model-import-when-it-really-works
And forum topics:
Import JavaBean Model
Problem Importing JavaBean Model in NetWeaver Developer Studio
Issue on "Import JavaBean Model"
import JavaBean Model: no executable Methods?
JavaBeans Model Import
POLL : JavaBean Model Importer
JavaBean-Model
Invalid Class - Javabean not available for import
WebDynpro Using JavaBean Model ->Please Help
Best regards, Maksim Rashchynski. -
Conversion of Packed Decimal Numbers to Java Data Types
Hi all,
I'm working with a mainframe file which contains datas in Packed Decimal Numbers.My requirement is to convert these datas to Java datatypes and also to convert the Java datatypes to Packed Decimal Numbers before storing them in the mainframe.
Can anyone help me out with any code for converting Java data types to/from other data formats such as: EBCDIC, IBM370 COMP (binary numbers up to 9 digits), and COMP-16 (packed decimal numbers)?
I would hugely appreciate any response to my query.
Thanking you all,
Kaushik.Rather than go that route, I'd instead look into providing a "service" on your mainframe to:
1) provide a textual representation of the numbers (from native to text)
2) read text, converting to native numeric storage
And use that service to retrieve that information by your Java app (1)Similarly, instead of trying to write natively-formatted numbers from your Java app, I'd write it as text and make that same "service" read the text (2)
This is the kind of thing XML is for. -
Using CLOB data type - Pros and Cons
Dear Gurus,
We are designing a database that will be receiving comments from external data source. These comments are stored as CLOB in the external database. We found that only 1% of incoming data will be larger than 4000 characters and are now evaluating the Pros and Cons of storing only 4000 characters of incoming comments in VARCHAR2 data type or using CLOB data type.
Some of the concerns brought up during discussion were:
- having to store CLOBs in separate tablespace;
- applications, such Toad require changing defaults settings to display CLOBs in the grid. Default value is not to display them;
- applications that build web page with CLOBs will be struggling to fit 18 thousand chararcters of which 17 thousand are blank lines;
- cashing CLOBs in memory will consume big chunk of data buffers which will affect performance;
- to manipulate CLOBs you need PL/SQL anonymous block or procedure;
- bind variables cannot be assigned CLOB value;
- dynamic SQL cannot use CLOBs;
- temp tables don't work very well with CLOBs;
- fuzzy logic search on CLOBs is ineffective;
- not all ODBC drivers support Oracle CLOBs
- UNION, MINUS, INTERSECT don't work with CLOBs
I have not delt with CLOB data type in the past, so I am hoping to hear from you of any possible issues/hastles we may encounter?848428 wrote:
Dear Gurus,
We are designing a database that will be receiving comments from external data source. These comments are stored as CLOB in the external database. We found that only 1% of incoming data will be larger than 4000 characters and are now evaluating the Pros and Cons of storing only 4000 characters of incoming comments in VARCHAR2 data type or using CLOB data type.
Some of the concerns brought up during discussion were:
- having to store CLOBs in separate tablespace;They can be stored inline too. Depends on requirements.
- applications, such Toad require changing defaults settings to display CLOBs in the grid. Default value is not to display them;Toad is a developer tool so that shouldn't matter. What should matter is how you display the data to end users etc. but that will depend on the interface. Some can handle CLOBs and others not. Again, it depends on the requirements.
- applications that build web page with CLOBs will be struggling to fit 18 thousand chararcters of which 17 thousand are blank lines;Why would they struggle? 18,000 characters is only around 18k in file size, that's not that big to a web page.
- cashing CLOBs in memory will consume big chunk of data buffers which will affect performance;Who's caching them in memory? What are you planning on doing with these CLOBs? There's no real reason they should impact performance any more than anything else, but it depends on your requirements as to how you plan to use them.
- to manipulate CLOBs you need PL/SQL anonymous block or procedure;You can manipulate CLOBs in SQL too, using the DBMS_LOB package.
- bind variables cannot be assigned CLOB value;Are you sure?
- dynamic SQL cannot use CLOBs;Yes it can. 11g supports CLOBs for EXECUTE IMMEDIATE statements and pre 11g you can use the DBMS_SQL package with CLOB's split into a VARCHAR2S structure.
- temp tables don't work very well with CLOBs;What do you mean "don't work well"?
- fuzzy logic search on CLOBs is ineffective;Seems like you're pulling information from various sources without context. Again, it depends on your requirements as to how you are going to use the CLOB's
- not all ODBC drivers support Oracle CLOBs not all, but there are some. Again, it depends what you want to achieve.
- UNION, MINUS, INTERSECT don't work with CLOBsTrue.
I have not delt with CLOB data type in the past, so I am hoping to hear from you of any possible issues/hastles we may encounter?You may have more hassle if you "need" to accept more than 4000 characters and you are splitting it into seperate columns or rows, when a CLOB would do it easily.
It seems as though you are trying to find all the negative aspects of CLOBs and ignoring all the positive aspects, and also ignoring the negative aspects of not using CLOB's.
Without context you're assumptions are just that, assumptions, so nobody can tell you if it will be right or wrong to use them. CLOB's do have their uses, just as XMLTYPE's have their uses etc. If you're using them for the right reasons then great, but if you're ignoring them for the wrong reasons then you'll suffer. -
How to use same Data Type and Length for two fields
How to use same data type and length for two fields when using 'FOR ALL ENTRIES IN' in a select statement? For instance the select queries are :
SELECT bukrs gjahr belnr lifnr budat bldat zlspr dmbtr waers shkzg
FROM bsik
INTO TABLE it_bsik
WHERE bukrs = p_bukrs
AND lifnr IN s_lifnr.
IF it_bsik IS NOT INITIAL.
SELECT belnr gjahr awkey awtyp
FROM bkpf
INTO TABLE it_bkpf
FOR ALL ENTRIES IN it_bsik
WHERE belnr = it_bsik-belnr
AND gjahr = it_bsik-gjahr.
IF it_bkpf IS NOT INITIAL.
SELECT belnr gjahr lifnr xblnr
FROM rbkp
INTO TABLE it_rbkp
FOR ALL ENTRIES IN it_bkpf
WHERE belnr = it_bkpf-awkey+0(10)
AND gjahr = it_bkpf-awkey+10(4).
ENDIF.
ENDIF.
Here it gives an error in the 3rd select query that 'When you use the addition "FOR ALL ENTRIES IN itab", the fields "GJAHR" and "IT_BKPF2-AWKEY+10(4)" must have the same type and the same length.'
Kindly clarify.Hi Saurabh,
Please see the example code that I have developed for you. It will help you solve the problem.
REPORT ZTEST_3 .
tables : BKPF.
data : begin of it_bkpf occurs 1,
belnr type RE_BELNR,
awkey type awkey,
awtyp type awtyp,
gjahr type GJAHR,
end of it_bkpf.
data : begin of it_bkpf1 occurs 1,
belnr type RE_BELNR,
awkey type gjahr, " change the data type
awtyp type awtyp,
gjahr type GJAHR,
end of it_bkpf1.
data : begin of it_rbkp occurs 1,
belnr type BELNR_D,
gjahr type gjahr,
lifnr type LIFRE,
xblnr type XBLNR,
end of it_rbkp.
select belnr
awkey
awtyp
gjahr
from bkpf
into table it_bkpf
where BUKRS = 'TELH'.
loop at it_bkpf.
it_bkpf1-belnr = it_bkpf-belnr.
it_bkpf1-awkey = it_bkpf-awkey+10(4). "Here only append the required length.
it_bkpf1-awtyp = it_bkpf-awtyp.
it_bkpf1-gjahr = it_bkpf-gjahr.
append it_bkpf1.
clear it_bkpf1.
endloop.
select belnr
gjahr
lifnr
xblnr
from RBKP
into table it_rbkp
for all entries in it_bkpf1
where belnr = it_bkpf1-belnr
This is just an example. Change the fields according to your requirement.
Regards
Abhii
Edited by: Abhii on Mar 9, 2011 9:08 AM -
Create table dinamically using java sql types?
Hi! I've an application that reads an XML file. This file contains de definitions of some tables, using java sql types. For example:
<dbtable>
<dbtablename>Name of table</dbtablename>
<dbtablefield>
<name>Name of table field</name>
<type>java.sql.Types.VARCHAR</type>
<length>10</lenght>
<canNull>0</canNull>
<isPK>1</isPK>
</dbtablefield>
</dbtable>That's a little example of one table, with one field. Is a java.sql.Types.VARCHAR (or is equivalent in int), which has a size of 10, it cannot be null and is a primary key for the table.
Now, the lenght, null, and primary keys are not problem at all. What I want to know, is how do I create de table using the java.sql.Types. I mean, I don't want to hard code:
String s = "CREATE TABLE name (COLUMN VARCHAR(10)...";Instead, I want to use some "wild cards", as are used in PreparedStatement. The idea of this is that no matter what DB I'm using, I must always be capable of creating the tables not worrying for the DB. I mean, I must be able to create the table in Oracle, SQL Server, DB2, etc., using the same XML and the same java class.
Something like:
String s = "CREATE TABLE name (COLUMN ? (10)...";
someobject.setObject(1,java.sql.Types.VARCHAR);
someobject.execute(); //create tableIs this possible? Or do I have to make a map for each DB?
Thanks a lot for your help! Dukes available!you can provide some fields at runtime..
for example
"CREATE TABLE name (COLUMN" + arg[1] +"(10)..."
here arg is the string array passed into the main. -
Java data types are tightly coupled or loosely coupled ?
java data types are tightly coupled or loosely coupled ?
Is this another interview question? If so, the answer you should have given is, "You, sir, have been smoking too much crack."
-
Using Long Data type in the Page
Hi ,
I have a page (in multiple page creation form ) which is suppose to contain only the NOTES field of the entity being created . The Notes field is defined as LONG data type in the table.
Two Doubts.
1. As of now in Jdev , u only have Varchar2 data type when assigning to any messageText layout item. What should be the max value set for Max Lenght of this field on the form . I suppose its 32k+ ,since its Long Field .
Anybody has used Long notes field before ??
2. This page has only one item on it , ie Notes ,which i have defined as messageRichText as style. I have been trying to resize this item ,so that it stretches out on entire page . But it just doesnt resizes .. any idea ..below is my PG.xml code
<?xml version = '1.0' encoding = 'UTF-8'?>
<!-- dbdrv: exec java oracle/jrad/tools/xml/importer XMLImporter.class java &phase=dat+24 checkfile:~PROD:~PATH:~FILE &fullpath:~PROD:~PATH:~FILE -username &un_apps -password &pw_apps -dbconnection &jdbc_db_addr -userId "1" -rootPackage /oracle/apps/~PROD -rootdir &fullpath:~PROD:mds:directory -->
<page xmlns:jrad="http://xmlns.oracle.com/jrad" xmlns:oa="http://xmlns.oracle.com/oa" xmlns:ui="http://xmlns.oracle.com/uix/ui" version="9.0.3.8.13_1426" xml:lang="en-US" xmlns:user="http://xmlns.oracle.com/jrad/user" xmlns="http://xmlns.oracle.com/jrad" file-version="$Header$">
<content>
<oa:pageLayout id="NotesMainR" amDefName="oracle.apps.xxi.pro.server.ProAM" windowTitle="Pro Notes" controllerClass="oracle.apps.xxi.pro.webui.ProNotesCO">
<ui:corporateBranding>
<oa:image id="corporateBrandingImage" source="/OA_MEDIA/FNDSSCORP.gif"/>
</ui:corporateBranding>
<ui:contents>
<oa:messageComponentLayout id="ProInfoR" extends="/oracle/apps/xxi/pro/webui/ProInfoRN"/>
<oa:pageButtonBar id="PgButton">
<ui:contents>
<oa:submitButton id="Back" use="/oracle/apps/fnd/attributesets/Buttons/Back" unvalidated="true" serverUnvalidated="false"/>
<oa:submitButton id="Save" use="/oracle/apps/fnd/attributesets/Buttons/Save"/>
<oa:submitButton id="Continue" use="/oracle/apps/fnd/attributesets/Buttons/Continue"/>
</ui:contents>
</oa:pageButtonBar>
<oa:tableLayout id="region3" hAlign="center">
<ui:contents>
<oa:rowLayout id="region4" hAlign="left" vAlign="top" width="100%">
<ui:contents>
<oa:cellFormat id="region5" height="100%" width="100%" hAlign="left" columnSpan="1" vAlign="top">
<ui:contents>
<oa:header id="region6" text="Notes In Table Layout">
<ui:contents>
<oa:messageRichTextEditor id="ProNotesI" maximumLength="20000" viewName="CustomerPOVO" viewAttr="ProNotes" fontBar="true" alignmentGroup="true" tipType="shortTip" prompt="Pro Notes" richTextModeDisplayHeight="100%" richTextModeDisplayLength="100%"/>
</ui:contents>
</oa:header>
</ui:contents>
</oa:cellFormat>
</ui:contents>
</oa:rowLayout>
</ui:contents>
</oa:tableLayout>
</ui:contents>
</oa:pageLayout>
</content>
</page>
any idea??
thanksHi Padma,
Thanks for reply !!
The width is still pain point for me ,as i am unable to increase its width .
I tried increasing the width of the table to 100%, however ,it still doesn work .
Any pointers ??
If you have used this widget before , could you assist me with any sample code u hv ??
I would really appreciate it
thanks -
Problem to get ResultSet when it is used a Date type in the query condition
hello ,
I having a bit of nightmare getting a ResultSet how result of one simple Query for a table when the condition WHERE involve a Date type.
To change the String value in a date to use in the query condition, I tried both:
String strDate = "dd/mm/yyyy";
(1.) java.sql.Date sqlDate = new java.sql.Date(strDate.getTime() )
(2.) SimpleDateFormat formatter = new SimpleDateFormat(strDate) ; sqlDate = formatter.parse(strDate);
and finally I use this code to get the ResultSet:
sql = "SELECT * FROM myTable Where (idCli = " + cd_Cli + " And dateReg = " + sqlDate + ")";
statement = connection.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY);
resultSet = statement.executeQuery(sql);
boolean ok = resultSet.last();
totNumberOfRegistration = resultSet.getRow();
But In both the cases I get a empty resultSet.
I shoul like if someone would look my code to say me where it is the mistake...
thank you
tonyMrsangelo
P.S. I tryed using PrepareStatement too to get the ResultSet, but in that case I couldn't use the ResultSet because executing the statement resultSet.last() I get the error: "Result set type is TYPE_FORWARD_ONLY"In a database like Oracle, you need to use a function like TO_DATE; other databases may have something similar.
However, the proper way to do this is to use a PreparedStatement. Then you can say
PreparedStatement ps = conn.prepareStatement("update SOMETABLE set SOME_DATE=? where SOME_ID=?");
ps.setDate(1, new java.sql.Date(someJavaUtilDate.getTime()));
ps.setInt(2, theId);
ps.executeUpdate(); -
WS returns an invalid java data type
Hello guys, I started using BPM Studio 2 weeks ago, and I am stuck at this point:
I get these message:
Error workspace-1381754584564
Activity '/TramitaciónPedido#Default-1.0/GlobalCreation[RealiarPedido]' task '' could not execute successfully.
Detail:Method: '', Exception: 'El método 'CIL_beginBeginIn' de la clase 'OracleBPM_Lab2.TramitaciónPedido.Default_1_0.Instance' no se ha podido ejecutar correctamente.'
Caused by: The method 'CIL_beginBeginIn' from class 'OracleBPM_Lab2.TramitaciónPedido.Default_1_0.Instance' could not be successfully executed.
Caused by: Attempt to set empty javaType to return(hassetter hasgetter public,0) :: fuego.type.FuegoClass$LazyRef@190ce52. It must be null or a valid java type.
fuego.papi.exception.ActivityFailedException: La tarea '' de la actividad '/TramitaciónPedido#Default-1.0/GlobalCreation[RealiarPedido]' no se ha podido ejecutar correctamente.
Detalle:Método: '', Excepción: 'El método 'CIL_beginBeginIn' de la clase 'OracleBPM_Lab2.TramitaciónPedido.Default_1_0.Instance' no se ha podido ejecutar correctamente.'
This is the code that calls the ws:
// Inicilaiza parámetros fijos del expediente
expediente.idInstancia = this.id.local
expediente.intentosContactoCandidato = parametrosExpediente.maxIntentosContacto
expediente.operador = null
expediente.documentalista = null
expediente.tarificador = null
expediente.unidadOrganizativa = UnidadesOrganizativas.spain
logMessage "Guzman: expediente.idInstancia "+expediente.idInstancia
logMessage "Guzman: expediente.intentosContactoCandidato: " +expediente.intentosContactoCandidato
logMessage "Guzman: expediente.unidadOrganizativa: "+expediente.unidadOrganizativa
respuestaCRM as SCOR.WEBSERVICES.CRM.FrontalWsdl.RespuestaCRM
filtro as SCOR.WEBSERVICES.CRM.FrontalWsdl.Filtro
filtro.clave = ClaveFiltro.EXPEDIENTE
filtro.valor = "00020353"
usuarioCRM as SCOR.WEBSERVICES.CRM.FrontalWsdl.Usuario = SCOR.WEBSERVICES.CRM.Usuario()
logMessage "Guzman: filtro.clave= "+filtro.clave
logMessage "Guzman: filtro.valor= "+filtro.valor
usuarioCRM.unidadOrganizativa = "ES"
usuarioCRM.usuario = "usuarioBPM"
usuarioCRM.clave = "P@ssword"
usuarioCRM.dominio = "adminesp"
consultaExpediente FrontalService
using arg0 = usuarioCRM,
arg1 = filtro
returning respuestaCRM = @return
logMessage "Guzman: usuarioCRM.unidadOrganizativa: "+usuarioCRM.unidadOrganizativa
logMessage "Guzman: usuarioCRM.usuario: " +usuarioCRM.usuario
logMessage "Guzman: usuarioCRM.calve: "+usuarioCRM.clave
logMessage "Guzman: usuarioCRM.dominio: "+usuarioCRM.dominio
I know wich is the problem but I don´t know how to solve it, I will apreciate any help, thanks in advance.SQL Developer may not recognise the date formats in your EXCEL so you need to tell it what it is. Check and note the value of the date column in the EXCEL file, then use the date format in the Map Source Data to Existing Table section in SQL Developer during the Import Data dialog.
For example. if the data in EXCEL is 22-JUN-09. Select the column in the above mentioned section and enter DD-MON-RR (or DD-MON-YY) in the Date Format before klicking Next to Verify. This should work perfectly. -
StringIndexOutOfBoundsException using ARRAY data type
Hi all.
JDK 1.5.0_03, Oracle 9.2.0.4, 9i thin drivers.
I'm trying to use the ARRAY data type to submit a large amount of data to a stored procedure. Unfortunatley I'm getting an error when using the oracleCAllableStatement.setArray method. I've successfully set up my types in the database, and I can create my StructDescriptor and ArrayDescriptor objects but that's as far as I get.
Here's my code:
connection = ConnectionManager.getRawConnection(DatabaseProperties.CSA_DB);
connection.setAutoCommit(false);
ARRAY array = getDatabaseArray(timeSeriesList, date, connection);
String result = new String();
statement = (OracleCallableStatement)connection.prepareCall("{call DATA_LOAD.ARCHIVE_TIMESERIES(?, ?)");
statement.setARRAY(1, array);
statement.registerOutParameter(2, OracleTypes.VARCHAR, result);
statement.execute();
LOG.info(result);
connection.commit();
The line highlighted is where it fails. The exception is below. Unfortunatley its a Java exception rather than a Oracle one so not much help there.
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 40
at java.lang.String.charAt(Unknown Source)
at oracle.jdbc.driver.OracleSql.handleODBC(OracleSql.java:123)
at oracle.jdbc.driver.OracleSql.parse(OracleSql.java:69)
at oracle.jdbc.driver.OracleConnection.nativeSQL(OracleConnection.java:1181)
at oracle.jdbc.driver.OracleStatement.expandSqlEscapes(OracleStatement.java:6412)
at oracle.jdbc.driver.OracleStatement.parseSqlKind(OracleStatement.java:6401)
at oracle.jdbc.driver.OraclePreparedStatement.<init>(OraclePreparedStatement.java:152)
at oracle.jdbc.driver.OracleCallableStatement.<init>(OracleCallableStatement.java:77)
at oracle.jdbc.driver.OracleCallableStatement.<init>(OracleCallableStatement.java:48)
at oracle.jdbc.driver.OracleConnection.privatePrepareCall(OracleConnection.java:1134)
at oracle.jdbc.driver.OracleConnection.prepareCall(OracleConnection.java:988)
at com.db.csa.systems.csa.timeseries.DataArchivedTimeSeriesProvider.archiveTimeseriesForDate(DataArchivedTimeSeriesProvider.java:46)
at com.db.csa.experiments.TimeseriesArchiver.main(TimeseriesArchiver.java:26)
I'm now completely stuck as short of decompiling the class that's throwing the exception I have no idea what's going on.
Anyone got any ideas?
Thanks, Rob
Message was edited by:
user470390Hi,
Shouldn't:
statement = (OracleCallableStatement)connection.prepareCall("{call DATA_LOAD.ARCHIVE_TIMESERIES(?, ?)");be this:
statement = (OracleCallableStatement)connection.prepareCall("{call DATA_LOAD.ARCHIVE_TIMESERIES(?, ?)}");i.e. have a closing brace?
- Mark -
Hi,
While modeling a NW BPM process I wanted to create my own data types. After I have imported a Enterprise Service by SAP all the used data types are accessible in the imported namespace. I can even use them as types for DOs but unfortunately not as reference data types while creating my own xsd files. Am I doing anything wrong is it just not possible to do this?
Thanks,
ManfredThis is unfortunately a conceptial problem with WSDL: XSD types and elements that are defined in the inline schema of WSDLs cannot be imported into other WSDs.
If you have a WSDL that has the interesting types in an extenal XSD, you are lucky. In this case you can simply reference them from you new type by setting the visibility in the XSD editor to "workspace".
If not, the unnice thing is that you would need to either refactor the WSDL (taking the types out into an external XSD) or you need to copy the relevant types.
When you copy, you should us a differen namespace. As long as the original type and your copy have a similar structure - mainly the field names stay the same - the automapping is smart enough to copy field-by-field. -
New user for java (Data type conversion)
Hi all, I'm the newer from JAVA, just start to learn it few weeks before, there have some problem about me.
I want to konw how to change the data type ??For example, if I have a string call year and store the char "1", how can I change that field to int type ?
Thanks very muchYou should have a link to, or download, the API docs. You can see them on line at:
http://java.sun.com/j2se/1.3/docs/api/index.html
Look up the class Integer. It has a static method, parseInt() which takes a String argument and returns an int.. Since it is static, you can do the following:
int value = Integer.parseInt(your_string);
Then, to make it robust, you can put try/catch around it and catch NumberFormatException if you need to do error checking.
Maybe you are looking for
-
FOLLOW UP ON brokendownIPOD THREAD
brokendownIPOD wrote that to solve the iPod not being recognized by iTunes or iPod installer, she simply "reformat[ted] the drive the USB cable is plugged into." Does anyone know what she means, or, more importantly, how one would do this? I've got a
-
Why can't I sign into the iTunes store?
I've been trying to sign into the iTunes store for months now. Since v10 released, I have been unable to sign into the store, use Genius or any other feature that requires an active store use. I can sign in here (obviously) but when I try to sign in
-
Hi: Is it possible to remove the 'All Employees' from the display on the team calendar under the MSS user? I only want the manager to have the option to display their 'Directly Reporting Employees'. I have made the following changes but 'All Employee
-
Can I use PSE 8 win serial no on mac
Hi, I purchased the combined pack of PSE 8 and PRE 8 on win7 after much humming and haring on if to get mac or pc as I use both (but in the end as PRE is not available for mac) I went PC. I felt safe in choice as I have heard people say adobe lets yo
-
Greetings, I have seen the other post about the same subject but still finding it difficult to install SAPRFC, I have seen posts on project home page as well ( about the same problem ) which are still unanswered. I am trying to install version