Export java code out of database?  difference between Prod and Test

Hi all,
I'm a seasoned DBA, but I have never really dealt with Java, so this is all new to me. Within one of my test databases (10.2.0.3.0), I have a database package - within the package is a procedure that has this Java call:
language java name 'com.clinapps.pmd.etl.interfaces.forecasting.itemtrial.helper.SSFItemOutboundPMDHelper.processSSFItemInterface()';
This Java code goes and exports a file to .xml format. The basic problem is that in our Test environment, there is a problem in the xml file that gets generated - the second line is missing the first few characters. However, in all of our other environments, including Production and Validation, it all works fine - the xml file is good. What has me confused, is that we've done several database refreshes, where we export from production, then import it down to test. So from everything I'm looking at, the schema is exactly the same - but something is different, causing the issue in the xml file that is being generated. I was wondering if I could get into the database and export the Java code, then that is something where I could confirm if there's a difference or not, from Prod to Test.
Does anyone have any input/feedback on how to do this? I've been googling, and tried several methods, including dbms_metadata.get_ddl, and DBMS_JAVA.EXPORT_SOURCE, but I can't get anything to work.
Or if anyone has any other thoughts on how to debug/troubleshoot this, I'd appreciate any ideas!!
Thank you from a Java newbie!!

OK, that is helping me get somewhere!! If I change the query to this, I am getting results:
select obj_num,long_name from SYS."KU$_JAVA_CLASS_VIEW" where LONG_NAME like '%SSFItemOutboundPMDHelper%';
171879
com/clinapps/pmd/etl/interfaces/forecasting/itemtrial/helper/SSFItemOutboundPMDHelper
Note that it has the / instead of the . as the differentiator
Now if I do the second query, I see this:
SQL> select * from SYS."KU$_JAVA_OBJNUM_VIEW" where OBJ_NUM=171879;
OBJ_NUM DATAOBJ_NUM OWNER_NUM OWNER_NAME
NAME NAMESPACE SUBNAME
TYPE_NUM TYPE_NAME CTIME MTIME
STIME STATUS REMOTEOWNER
LINKNAME
FLAGS OID SPARE1 SPARE2 SPARE3
SPARE4
SPARE5
SPARE6
171879 123 PMD50
/34bae3f1_SSFItemOutboundPMDHe 1
29 JAVA_CLASS 2012-06-28 10:44:22 2012-06-28 10:44:22
2012-06-28 10:44:22 1
8 6 65535
Any thoughts on where to go from here??

Similar Messages

  • Java code to get the difference between two dates in days

    Hi ppl,
    I need to write a user defined function to get the difference between two date nodes, in days.Please help me out
    regards,
    Prashanth

    Hi,
    have a look at those two:
    (How do I calculate the difference between two dates?)
    http://joda-time.sourceforge.net/faq.html
    Calculating the Difference Between Two Datetime Stamps
    http://www.xmission.com/~goodhill/dates/deltaDates.html
    Get difference in days
    http://javaalmanac.com/egs/java.util/CompDates.html
    Regards,
    michal

  • What's the difference between photos and albums

    I'm trying to figure out what the difference between photos and albums is on my ipad 'photos' programme.
    What I'm really trying to do is to delete photos from my phone so that I'm not going over 5GB on my icloud and I don't want to lose them, so I'm checking to see where they are stored on ipad.

    Hello julian
    As far as what iCloud backs up, it is backing up the photos and videos in the Camera Roll. If you want to ensure that your pictures are backed up, then follow the steps in the last article to import them to your computer. One thing to note is that you cannot import your albums that you create. If those photos are not in your camera roll, import the photos to your camera roll.
    iPhone, iPad, and iPod: Understanding capacity
    http://support.apple.com/kb/ht1867
    iCloud: iCloud storage and backup overview
    http://support.apple.com/kb/PH12519
    iOS: Importing personal photos and videos from iOS devices to your computer
    http://support.apple.com/kb/HT4083
    Regards,
    -Norm G.

  • Difference between ob08 and oc41 Transaction code in Exchange rate

    Hi,
    Can any one help me out what is the difference between OB08 and Oc41 in transaction code in Exchange rates...
    Thanks in Advance
    Sivanand

    hi Siva,
    When foreign currencies are valuated, all the open items that were posted in a foreign currency are valuated. The valuation is based on the individual open items in a foreign currency, that is, each open item in a foreign currency is valuated individually.
    The exchange rate table is OB08
    AND
    OC41 is another transaction to the exchange rate table.
    When you try to change you cannt change the rates sometimes.... but u can see the rates displayed.......
    Regards
    Ranjit Kumar

  • Java-options, What is the difference between the parameters xms and ms

    Hi,
    I have a problem with deploy bpel process , I get an error "java.lang.OutOfMemoryError: PermGen Space" several sources of information tells me that I have to change some parameters in the file "<ORACLE_HOME> / opmn / conf / opmn.xml" but I doubt some of the parameters, what is the difference between Xms and ms?
    And what is the value of the parameter MaxPermSize, which I must also change.
    Thanks
    Gustavo

    Did you ever find out what the difference between the two parameters were!? I have the same questions. Default for opmn.xml = "-server -XX:MaxPermSize=128M -ms512M -mx1024M ...." In attempting to maximize performance and accessible memory, Oracle docs identify adding/modifying "-server -Xmn1228m -XX:+AggressiveHeap -Xms2048m -Xmx2048m -XX:MaxPermSize=128M -ms2048M -mx2048M...." But I question if Xms and ms are really the same parameter or not?
    Thanks in advance...
    Steve

  • Difference between upgrdae and migration about oracle database

    Difference between upgrdae and migration about oracle database
    please give the comments

    Well, the question is almost philosophic...<br>
    In 9i, there is a Migration Guide whereas in 10g there is a Upgrade Guide.<br>
    Furthermore, in 9i, there is the command line startup migrate whereas in 10g that's startup upgrade.
    Somebody think upgrade when go to new release, and migration when go to new version.<br>
    Others think upgrade when new version replace database in place, and migration when new version include a move of database.<br>
    Another point of view is : upgrade is for technical, and migration for application/data.<br>
    <br>
    Well, after these explanations, your upgrade/migratation notion will not be more clear, but I think that is not very important, only a terminology game. The most important is to know what you need : new version or new release.<br>
    <br>
    Nicolas.

  • Difference Between Shutdown and Close Database

    Hi all,
    Let say I want to start the instance of database with the following processes :
    1. STARTUP MOUNT
    2. ALTER DATABASE OPEN
    With two commands above, now the database is open. Then, I want to close the database with command :
    3. ALTER DATABASE CLOSE
    After this, I want to reopen the database again by using this :
    4. ALTER DATABASE OPEN
    I know that it will produce an error because when the database is opened and closed, its lifetime has already ended, so we must shutdown it first.
    My questions are :
    1. What's the difference between CLOSE and SHUTDOWN ? Suppose in the case above, I want to close the database. Why don't I just type SHUTDOWN ? Why is it necessary for me to use command CLOSE instead of SHUTDOWN ?
    2. What are the conditions of database when I CLOSE database, also, what are the conditions of database when I SHUTDOWN database ? I want to know more detail because I have tried to find in google, but now satisfying result
    Thanks before
    Edited by: cycon on Nov 8, 2010 9:00 AM

    alter database close;this you can execute only from OPEN status
    when ever you close the database it will go to mount status here you cannot open the database again, you need to clean sutdown and need to startup.
    alter database open;ths you can execute only on MOUNT status, it will takes you to mount --> open status.
    Thanks

  • T-Code for reporting stock quantity difference between IM and WM

    Hi All
    I'm probably going to kick myself for asking this quastion but is there a report to show the stock quantity differences between IM and WM?
    I have searched the forum first but cannot find info.
    We have various differences in IM and WM shown in MD04 and LS26. This is usually the result of an unplanned plant to plant transfer not being recipted in at the destination plant.
    If no standard T-code is available, which tables can I join to create my own query?
    Thanks in advance
    Darren

    compare MMBE with LS26
    Make sure you dont enter a storage location and storage type in selection screen of LS26.
    if you post a difference with LI20, then you have just posted a difference within WM, means you moved a quantity from a bin into the difference storate type 998.  The balance of both is still equal to your stock shown in MMBE. You have to clear the difference with IM by executing LI21 transaction. Only then the quantity will disappear from difference storage type and will be adjusted in MM and FI.
    LX23 will only report real inconstencies and will adjust them.
    If you do a MM movement like 303, then this creates a transfer request in WM, this TR needs to be converted into a TO. to move the stock from the bin to the interim storage type for goods issue.
    In your case you created just a negative quant in the interim storage type for goods issue and still have a positive quant in the bin, the balance is equal to the stock shown in MMBE.

  • What's the difference between PNG and JPG for exporting .idea files from the Adobe Ideas app?

    What's the difference between PNG and JPG for exporting .idea files from the Adobe Ideas app?
    What situations are better to export to to .PNG or .JPG?
    J

    iPad apps are designed specifically for the iPad and will not run on the iPhone or iPod Touch. iPhone/iPod apps will run on the iPad, but will only take up an iPhone sized portion of the iPad screen (though you get a 2x button which effectively doubles each pixel in both directions so may appear pixelated). There are also 'universal' apps (which have a '+' symbol against them in the store) which have processing in them to recognise the device that they are on and will tailor the display accordingly (so will make use of the iPad's larger screen).

  • What's the difference between "overloading" and "overriding" in Java

    What's the difference between "overloading" and "overriding" in Java

    hashdata wrote:
    What is the real-time usage of these concepts...?Overriding is used when two classes react differently to the same method call. A good example is toString(). For Object it just returns the class name and the identityHashCode, for String it returns the String itself and for a List it (usually) returns a String representation of the content of the list.
    Overloading is used when similar functionality is provided for different arguments. A good example is [Arrays.sort()|http://java.sun.com/javase/6/docs/api/java/util/Arrays.html#sort(byte%5B%5D)]: all the sort() methods do the same thing (they sort arrays), but one sorts byte-arrays, another one sorts int-arrays, yet another one sorts Object-arrays.
    By the way, you almost certainly mean "real-world" usage. "real-time" (and thus "real-time usage) means something entirely unrelated to your question.

  • Differences between SLIN and Code Inspector

    Hi,
    Can anyone tell me the differences between SLIN and Code Inspector(SCI)..?
    and in which cases we use SLIN and  SCI..?
    and as an ABAPer, which one should we prefer..?
    Thanks,
    Pradeep.

    Hi
    Extended syntax check or SLIN is used to check the program in all aspects for the different syntaxes like
    When you use select single whether you have passed all the key fields or not>
    whether you have maintained the text elements texts or not,
    Have you used UNIT...CURRENCY along with the QTY and AMOUNT fields when displayed using the WRITE statement
    and check for all the varities of statements used in the code, and if there is some problem with that statement/command, it will display as error or warning.
    Check following links -
    slin
    can any one tell me abt SLIN T-CODE
    Reward points if useful
    Regards
    Anji

  • What are the Basic Differences between Oracle and  MS-SQL server Database?

    Hello,
            anybody pls Guide me about the Differences between Oracle and MS-SQL server Database.and also IBM Databases also
    Regards,
    Balaram

    SQL Server only works on Windows-based platforms, including Windows 9x, Windows NT, Windows 2000 and Windows CE.
    In comparison with SQL Server , OracleDatabase supports all known platforms, including Windows-based platforms, AIX-Based Systems, Compaq Tru64 UNIX, HP 9000 Series HP-UX, Linux Intel, Sun Solaris and so on.
    The SQL Server  advantages:
    SQL Server  holds the top TPC-C performance and price/performance results.
    SQL Server  is generally accepted as easier to install, use and manage.
    The Oracle  Database advantages:
    Oracle  Database supports all known platforms, not only the Windows-based platforms.
    PL/SQL is more powerful language than T-SQL.
    More fine-tuning to the configuration can be done via start-up parameters.
    Samrat

  • What are the differences between Oracle and other NoSQL database

    Hi all,
    I would like to know what the differences between Oracle and other NoSQL database are.
    When and why should we use Oracle?
    Is Oracle NoSQL database link with Big Data Appliance?
    Can we use map-reduce on a single personal computer? How should we install Oracle NoSQL database to use map reduce on a single personal computer?
    Do we also have eventual consistency with Oracle NoSQL database? Can we lose data if master node fails?
    Are transactions ACID with Oracle NoSQL database? How can we prove it?
    Thanks.

    893771 wrote:
    Hi all,
    I would like to know what the differences between Oracle and other NoSQL database are.
    When and why should we use Oracle?I suggest that you start here:
    http://www.oracle.com/technetwork/database/nosqldb/overview/index.html
    Is Oracle NoSQL database link with Big Data Appliance?Yes, Oracle NoSQL Database will be a component of the Big Data Appliance.
    Can we use map-reduce on a single personal computer? How should we install Oracle NoSQL database to use map reduce on a single personal computer?Yes, I believe you can run M/R on a single computer. Consult the various pieces of documentation available on the web. You may run Oracle NoSQL Database on the same computer that you are running M/R on, but it is likely that they will compete for CPU and IO resources and therefore performance may suffer.
    Do we also have eventual consistency with Oracle NoSQL database? Yes.
    Can we lose data if master node fails?If you run Oracle NoSQL Database with the default (recommended) durability settings, then if the master fails, a new one will be elected and data is not lost.
    Are transactions ACID with Oracle NoSQL database? How can we prove it?Yes, each operation is executed in an ACID transaction. The API has the concept of "multi" operations which allow the caller to perform multiple operations on sets of records with the same major key, but different minor keys. Those operations are also performed within a transaction.
    Charles Lamb

  • Difference between physical and logical standby database

    What is the difference between physical and logical standby database?

    Hi,
    Physical Standy where its a read only DB.
    Logs are applied.
    Logical Standy where it can be Read / Write DB and the logs are applied in terms of SQL Statements.
    Thanks & Regards,
    Pavan Kumar N

  • There is a tax code difference between PO and MIRO

    There is a tax code difference Between PO and MIRO.tax code is VO in PO but it must be T8 becuase invoice is T8.can you please solve this issue ?
    Thanks & Regards
    Raj

    Hi
    Put the Tax code same in PO and MIRO, because In F-47 you have to give the PO no in it. Then create MIGO, Then F-48 and then create MIRO, and Then F-54 Then F-58.
    Thanks
    Anil

Maybe you are looking for

  • Front panel of SubVI locks on 2nd call

    HI! I'm calling a SubVI and pass a Boolean Reference to this SubVI. In the SubVI I'm executing a While loop. The stop condition is the value of the boolean control in the VI that calls the SubVI. (Boolean Refnum + Property Node: VALUE connected to wh

  • Why is my MacBook Pro (mid-2012) so unresponsive and slow?

    I have been having many huge problems with my MacBook Pro recently. First of all, it takes a minute to two minutes to boot up. Whenever I try to open an application, it usually takes 30 seconds or so to even open, and it remains unresponsive (with th

  • Color space comparison in PS versus Aperture 3

    Photoshop uses ECI-RGB color space in its RAW conversion process. What color space does Aperture 3 employ? Are we comparing Apples to Apples with initial RAW processing with these systems? Thanks

  • Why can't my After Effects import .MP4 XDCAM files ???

    I've searched everywhere for this and couldn't find the solution to it. Whenever I try to import a .MP4 file my After effects says "After Effects error: file 'xxx.mp4 cannot be imported - this 'xxx.mp4' file is damaged or unsupported" ....but I've ed

  • How long do I got to activate my new phone?

    I bought my daughter a new iphone 5s for Christmas and I ordered it early because they were back ordered....I got it a lot sooner than expected....now can I still wait until Christmas to activate it or do I have to activate before the deadline(if the