Urgent: automatic key generation and java.lang.Long

Hi,
I keep getting the following error:
In RDBMS CMP bean 'UserEntity', when Automatic Key Generation is enabled, the
Primary Key class must be java.lang.Integer.
I need to have Long as primary key, how do I solve it?
Thanks,
A.

Use WebLogic Server 8.1
java.lang.Long is supported in WLS 8.1
thanks,
Deepak
"iggy" <[email protected]> wrote:
>
Hi,
I keep getting the following error:
In RDBMS CMP bean 'UserEntity', when Automatic Key Generation is enabled,
the
Primary Key class must be java.lang.Integer.
I need to have Long as primary key, how do I solve it?
Thanks,
A.

Similar Messages

  • I have been getting java.lang.ClassNotFoundException: ZeroApplet.class and java.lang.ClassNotFoundException: JavaToJS.class crashes with JRE version 1.6.0_26-b03-384-10M3425 VM executing a Java Applet. Is Apple aware of this problem? No longer supported?

    My web page uses a Java Applet to allow my visitors to replay chess games; the Chess Viewer Deluxe applet was written by Nikolai Pilafov some time ago and has been working properly for some time (until recently). I don't monitor this part of my site regularly so I am not sure when it began to fail. On his web site [http://chesstuff.blogspot.com/2008/11/chess-viewer-deluxe.html] he has a link to check LiveConnect object functionality (which fails for OBJECT tags). His recommendation is to "seek platform specific support which might be available from the JRE developers for your platform".
    I have been getting java.lang.ClassNotFoundException: ZeroApplet.class and java.lang.ClassNotFoundException: JavaToJS.class crashes with JRE version 1.6.0_26-b03-384-10M3425 VM executing a Java Applet. Until I checked the LiveConnect object functionality, I was unable to identify the source of the console error messages. This does seem to be the smoking gun.
    Is Apple aware of this problem? Are these classes no longer supported? Has anyone else had this problem? You can attempt to recreate the problem locally by going to my web page: http://donsmallidge.com/DonSmallidgeChess.html
    Thanks in advance for any help you can provide!
    Abbreviated Java Console output:
    Java Plug-in 1.6.0_26
    Using JRE version 1.6.0_26-b03-384-10M3425 Java HotSpot(TM) 64-Bit Server VM
    load: class ZeroApplet.class not found.
    java.lang.ClassNotFoundException: ZeroApplet.class
        at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:211)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:144)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:662)
        at sun.applet.AppletPanel.createApplet(AppletPanel.java:807)
        at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2389)
        at sun.applet.AppletPanel.runLoader(AppletPanel.java:714)
        at sun.applet.AppletPanel.run(AppletPanel.java:368)
        at java.lang.Thread.run(Thread.java:680)
    load: class JavaToJS.class not found.
    java.lang.ClassNotFoundException: JavaToJS.class
        at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:211)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:144)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:662)
        at sun.applet.AppletPanel.createApplet(AppletPanel.java:807)
        at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2389)
        at sun.applet.AppletPanel.runLoader(AppletPanel.java:714)
        at sun.applet.AppletPanel.run(AppletPanel.java:368)
        at java.lang.Thread.run(Thread.java:680)

    I just went up to check the LiveConnect object functionality page AND IT WORKED THIS TIME! I must confess, this is very mysterious. I will do some more checking and reply here if I can determine why it is working now (and more importantly, why it didn't work before).

  • Cmp-field of type 'java.lang.Long' does not have a no-arg constructor

    Hi,
    I am a newer of Oracle9i JDeveloper and I am learning it by "Oracle9i JDeveloper Reviewers Guide". I did the sample as the guideline in "Oracle9i JDeveloper Reviewers Guide". But when I tried to run the sample I made, the error : "cmp-field of type 'java.lang.Long' does not have a no-arg constructor which is needed for properties/fields based mapping" was appeared.
    Any one know how to correct it?
    Thanks in advance.
    Best Regards,
    Double
    Auto-deploying file:/E:/JDev9i/jdev/Workspace2/J2EE/classes/ (No previous deployment found)...
    Error compiling E:\JDev9i\jdev\Workspace2\J2EE\classes: cmp-field of type 'java.lang.Long' does not have a no-arg constructor which is needed for properties/fields based mapping
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized

    I'm getting the same thing. The message doesn't indicate which of the four beans I have that use type Long is encountering this. I suspect that since it says 'constructor' it is one of the two which uses an Long for a primary key.
    Yet another OC4J bug,
    Michael A. Moran

  • Java.lang.long

    Hi,
    I have written a java system to read and analyse log files. I wrote the code and tested it on a windows xp machine with the latest 1.4.2 SDK. It all worked fine, tested and debuged it. Finally moved it onto a Linux Red Hat 9 machine, where it will live from now on, with the same SDK.
    Expected it to compile fine, but it has thrown 2 errors. Here they are :
    main.java:174: incompatible types
    found : java.lang.Long
    required: long
    long boutx = Long.valueOf(bout);
    ^
    main.java:184: incompatible types
    found : java.lang.Long
    required: long
    long binx = Long.valueOf(bin);
    ^
    2 errors
    bout and bin are Strings that contain a large number. int is not big enough to hold the number. What i am tryign to do is convert the String to a long so i can divide it by 1000000 then convert it back to a Strign again.
    Like i said, it worked fine on Windows XP. I am at a loss on what to do to solve this.
    Thanks :)

    ok, im fairly new to java so, i made a mistake. BUT, it works in XP for sure, no errors. I did use BlueJ to compile it, dont knwo if that makes any difference. But it compiles and get teh correct values lol.
    OK, so long is a primitive right? and Long.valueOf() is a object that stores a primitive value long ? The way i thought it worked was teh Object Long just worked out the long value of a String. Is thsi correct or am i thinkign wrong?
    I have read the ********** API a few times :) Thats where i got valueOf() friom. I just didnt understand it right. :)
    Any sugestions on how i should be going abotu this?
    Thanks for you response.

  • Read "Qualified Range Key Generation" with Java API.

    Hi guru,
    I use MDM 5.5 SP6.
    In MDM Console I read Qualified Range Key Generation it in "ADMIN -> Remote Systems -> Qualified Range".
    I have to get "Qualified Range Key Generation" with Java API.
    It's possible?

    Hi Rocco,
    I am also thinking  of same scenario.I thought it is possible in Java Apis by calling the webservices for MDM.there is a service of "get key mapping" where we can pass this "Qualified key range" as  parameter.In MDM we have to define a look up table for that key ranges .We will access that table through JAVA API and then link it with the key mapping service .
    If u find any solution to apply this ,please share.
    thanks and regards
    Ank

  • Jdeveloper 9i beta : Bc4j : Sequence : java.lang.long error

    I am using sequence to genetrate a auto number but it gives an
    error of java.lang.long
    Error:
    path="" :java.lang.Long
    javax.servlet.jsp.JspException: java.lang.Long
         int oracle.jbo.html.jsp.datatags.RowTag.doStartTag()
         void site1.DataEditComponent._jspService
    (javax.servlet.http.HttpServletRequest,
    javax.servlet.http.HttpServletResponse)
         void oracle.jsp.runtime.HttpJsp.service
    (javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void oracle.jsp.app.JspApplication.dispatchRequest
    (javax.servlet.http.HttpServletRequest,
    javax.servlet.http.HttpServletResponse)
         void oracle.jsp.JspServlet.doDispatch
    (oracle.jsp.app.JspRequestContext)
         void oracle.jsp.JspServlet.internalService
    (javax.servlet.http.HttpServletRequest,
    javax.servlet.http.HttpServletResponse)
         void oracle.jsp.JspServlet.service
    (javax.servlet.http.HttpServletRequest,
    javax.servlet.http.HttpServletResponse)
         void javax.servlet.http.HttpServlet.service
    (javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void org.apache.tomcat.core.ServletWrapper.doService
    (org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
         void org.apache.tomcat.core.Handler.service
    (org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
         void org.apache.tomcat.core.ServletWrapper.service
    (org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
         void
    org.apache.tomcat.facade.RequestDispatcherImpl.doInclude
    (javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void
    org.apache.tomcat.facade.RequestDispatcherImpl.access$1
    (org.apache.tomcat.facade.RequestDispatcherImpl,
    javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         java.lang.Object
    org.apache.tomcat.facade.RequestDispatcherImpl$2.run()
         java.lang.Object
    java.security.AccessController.doPrivileged
    (java.security.PrivilegedExceptionAction)
         void
    org.apache.tomcat.facade.RequestDispatcherImpl.include
    (javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void oracle.jsp.runtime.OraclePageContext.include
    (java.lang.String)
         int oracle.jbo.html.jsp.datatags.ComponentTag.doStartTag
         void site1.DeptView__Edit._jspService
    (javax.servlet.http.HttpServletRequest,
    javax.servlet.http.HttpServletResponse)
         void oracle.jsp.runtime.HttpJsp.service
    (javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void oracle.jsp.app.JspApplication.dispatchRequest
    (javax.servlet.http.HttpServletRequest,
    javax.servlet.http.HttpServletResponse)
         void oracle.jsp.JspServlet.doDispatch
    (oracle.jsp.app.JspRequestContext)
         void oracle.jsp.JspServlet.internalService
    (javax.servlet.http.HttpServletRequest,
    javax.servlet.http.HttpServletResponse)
         void oracle.jsp.JspServlet.service
    (javax.servlet.http.HttpServletRequest,
    javax.servlet.http.HttpServletResponse)
         void javax.servlet.http.HttpServlet.service
    (javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void org.apache.tomcat.core.ServletWrapper.doService
    (org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
         void org.apache.tomcat.core.Handler.service
    (org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
         void org.apache.tomcat.core.ServletWrapper.service
    (org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
         void
    org.apache.tomcat.core.ContextManager.internalService
    (org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
         void org.apache.tomcat.core.ContextManager.service
    (org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
         void
    org.apache.tomcat.service.http.HttpConnectionHandler.processConne
    ction(org.apache.tomcat.service.TcpConnection, java.lang.Object
         void org.apache.tomcat.service.TcpWorkerThread.runIt
    (java.lang.Object[])
         void
    org.apache.tomcat.util.ThreadPool$ControlRunnable.run()
         void java.lang.Thread.run()
    path="" :java.lang.Long
    Code I have used :
    SequenceImpl s = new SequenceImpl("deptsequence",getDBTransaction
    Integer next = (Integer)s.getData();
    int i = next.intValue();
    setDeptno(new Number(i));
    This error does not happen if i use a hard coded value
    eg:
    setDeptno(new Number(10));
    this code works fine

    Hi Manoj,
    In Jdeveloper 9i, sequence.next() is not castable to an Integer.
    Try casting it to a Long (Long has an intValue() function as
    well).
    Hope this helps,
    Avrom

  • Failed to create Salience object and java.lang.NoClassDefFoundError

    We are getting the below error while trying to use the text enrichment component in Endeca integrator clover server.
    2015-01-26 10:11:59,880 INFO 1343495 [pool-7-thread-1] Creating new Salience object from data paths: '/app/oracle/ofm/TextEnrichment/salience-5.1.1.7349/data'.
    2015-01-26 10:11:59,881 ERROR 1343495 [pool-7-thread-1] Failed to get Salience object from factory
    java.lang.NoClassDefFoundError: com/lexalytics/salience/Salience
      at com.endeca.clover.adapters.salience.SalienceFactory.createSalience(SalienceFactory.java:101)
      at com.endeca.clover.adapters.salience.SalienceFactory.getSalienceInstance(SalienceFactory.java:41)
      at com.endeca.clover.adapters.salience.SalienceRunnable.run(SalienceRunnable.java:92)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      at java.lang.Thread.run(Thread.java:680)
    2015-01-26 10:11:59,891 ERROR 1343495 [WatchDog_1343495] Component [Customer Background:CUSTOMER_BACKGROUND] finished with status ERROR.
    Failed to create Salience object.
    2015-01-26 10:11:59,891 ERROR 1343495 [WatchDog_1343495] Error details:
    org.jetel.exception.JetelRuntimeException: Component [Customer Background:CUSTOMER_BACKGROUND] finished with status ERROR.
      at org.jetel.graph.Node.createNodeException(Node.java:535)
      at org.jetel.graph.Node.run(Node.java:514)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      at java.lang.Thread.run(Thread.java:680)
    Caused by: java.lang.RuntimeException: Failed to create Salience object.
      at com.endeca.clover.adapters.salience.SalienceComponent.execute(SalienceComponent.java:166)
      at org.jetel.graph.Node.run(Node.java:485)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
      ... 1 more
    2015-01-26 10:11:59,930 INFO 1343495 [WatchDog_1343495] Execution of phase [0] finished with error - elapsed time(sec): 0
    2015-01-26 10:11:59,930 ERROR 1343495 [WatchDog_1343495] !!! Phase finished with error - stopping graph run !!!
    2015-01-26 10:11:59,930 INFO 1343495 [WatchDog_1343495] Post-execute finalization of connection:
    2015-01-26 10:11:59,930 INFO 1343495 [WatchDog_1343495] DBConnection driver[org.jetel.connection.jdbc.driver.JdbcDriverImpl@103cdbdc]:jndi[null]:url[jdbc:oracle:thin:@gitvm000212.us.oracle.com:1521:upslstg]:user[upsell_winref] ... OK
    2015-01-26 10:11:59,930 INFO 1343495 [WatchDog_1343495] -----------------------** Summary of Phases execution **---------------------
    2015-01-26 10:11:59,931 INFO 1343495 [WatchDog_1343495] Phase# Finished Status RunTime(sec) MemoryAllocation(KB)
    2015-01-26 10:11:59,930 INFO 1343495 [JobFinalizer_1343495] Finalisation
    2015-01-26 10:11:59,931 INFO 1343495 [WatchDog_1343495] 0 ERROR 0 139976
    2015-01-26 10:11:59,931 INFO 1343495 [WatchDog_1343495] ------------------------------** End of Summary **---------------------------
    2015-01-26 10:11:59,931 INFO 1343495 [WatchDog_1343495] WatchDog thread finished - total execution time: 0 (sec)
    2015-01-26 10:11:59,935 INFO 1343495 [JobFinalizer_1343495] RunTime: 296 ms
    2015-01-26 10:11:59,935 ERROR 1343495 [JobFinalizer_1343495]
    --------------------------------- Error details ----------------------------------
      Component [Customer Background:CUSTOMER_BACKGROUND] finished with status ERROR.
      Failed to create Salience object.
    2015-01-26 10:11:59,935 INFO 1343495 [JobFinalizer_1343495] Finished Status: ERROR
    This happens only on our stage and production instances. On our dev instance it works without problems. All 3 instances are setup the same, although our dev instance was created long time before the stage and prod instances. However, we cannot detect any differences between the machines.
    I've tried the solutions mentioned in the other similar thread: Failed to create Salience object but this doesnt solve the issue since the directory and variables were already correct.
    Anyone can help?

    Given that you are running this in Clover Server, one thing I can recommend is to shut that server down, move/truncate the logs, restart and retest, then look at the first error message you get when attempting to run the graph.  Java classloaders sometimes cache failed class clinit and report future attempts to load that class as a simple NoClassDefFoundError, masking the original/actual root cause.  With any luck you might find another, clearer error - maybe the native binary libraries are not being located.

  • Urgent Issue:Err-REP-50125 : java.lang.ClassNotFoundException  - 11.1.1.3.0

    I'm trying to use custom destination with oracle fusion middleware 11.1.1.3.0 In-Process report server. I have added a custom destination section in the rwserver.conf file. Added the (customdest.jar - my jar file) jar file to the system classpath and reports_classpath. Still receiving class not found error.
    Here are the details:
    rwserver.conf:/opt/oracle/Middleware/user_projects/domains/ReportsDomain/config/fmwconfig/servers/WLS_REPORTS/applications/reports_11.1.1.2.0/configuration/rwserver.conf
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <server xmlns="http://xmlns.oracle.com/reports/server" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="11.1.1.2.0" xsi:schemaLocation="http://xmlns.oracle.com/reports/server file:/opt/oracle/Middleware/as_1/reports/dtd/rwserverconf.xsd">
    <cache class="oracle.reports.cache.RWCache">
    <property name="cacheSize" value="50"/>
    <!--property name="cacheDir" value="your cache directory"/-->
    <!--property name="maxCacheFileNumber" value="max number of cache files"/-->
    </cache>
    <!--Please do not change the id for reports engine.-->
    <!--The class specifies below is subclass of _EngineClassImplBase and implements EngineInterface.-->
    *<engine class="oracle.reports.engine.EngineImpl" engLife="50" id="rwEng" maxEngine="1" minEngine="1" jvmOptions="-Xmx512M" classPath="/opt/oracle/Middleware/as_1/jlib/jsp-api-2.1-6.0.1.jar:/opt/oracle/Middleware/as_1/jlib/jsch-0.1.26.jar:/opt/oracle/Middleware/as_1/reports/jlib/customdest.jar">*
    <property name="sourceDir" value="/opt/ogreports/catalog:/opt/ogreports/catalog/img"/>
    <!--property name="tempDir" value="your reports temp directory"/-->
    <!--property name="keepConnection" value="yes"/-->
    </engine>
    <engine class="oracle.reports.urlengine.URLEngineImpl" engLife="50" id="rwURLEng" maxEngine="1" minEngine="0" classPath="/opt/oracle/Middleware/as_1/jlib/jsp-api-2.1-6.0.1.jar:/opt/oracle/Middleware/as_1/jlib/jsch-0.1.26.jar:/opt/oracle/Middleware/as_1/reports/jlib/customdest.jar"/>
    <security class="oracle.reports.server.RWJAZNSecurity" id="rwJaznSec"/>
    <!--destination destype="oraclePortal" class="oracle.reports.server.DesOraclePortal">
    <property name="dbuser" value="$$PORTAL_DB_USERNAME$$"/>
    <property name="dbpassword" value="csf:$$CSF_ALIAS$$:$$PORTAL_DB_PASSWORD_KEYE$$"/>
    <property name="dbconn" value="$$PORTAL_DB_TNSNAME$$"/>
    </destination-->
    <destination class="oracle.reports.plugin.destination.ftp.DesFTP" destype="ftp"/>
    <destination class="oracle.reports.plugin.destination.webdav.DesWebDAV" destype="WebDav"/>
    *<destination destype="rcpfile" class="com.ubizen.og.offline.reporting.oracle.RcpDestination">*
    *<property name="user" value="tomcat"/>*
    *<property name="destype" value="rcpfile"/>*
    *</destination>*
    <job engineId="rwEng" jobType="report"/>
    <job engineId="rwURLEng" jobType="rwurl"/>
    <notification class="oracle.reports.server.MailNotify" id="mailNotify">
    <property name="succnotefile" value="succnote.txt"/>
    <property name="failnotefile" value="failnote.txt"/>
    </notification>
    Error:/opt/oracle/Middleware/user_projects/domains/ReportsDomain/servers/WLS_REPORTS/logs/reports/rwserver_diagnostic.log
    [2011-09-29T10:52:26.871-04:00] [WLS_REPORTS] [INCIDENT_ERROR] [REP-50125] [oracle.reports.server] [tid: 46] [userId: <anonymous>] [ecid: 0000JApf0iF9XbpSoQjc4m1EOGV800001d,1:18769] [APP: reports#11.1.1.2.0] [dcid: fa0c1bc817f5aeb4:-3e9d1a3b:1322b067681:-7fff-000000000000876f] REP-50125 : java.lang.ClassNotFoundException: com.ubizen.og.offline.reporting.oracle.RcpDestination [[
    java.lang.ClassNotFoundException: com.ubizen.og.offline.reporting.oracle.RcpDestination
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    at oracle.reports.server.Destination.invokeShutdown(Destination.java:492)
    at oracle.reports.server.Destination.shutdownDest(Destination.java:125)
    at oracle.reports.server.RWServer.shutdown(RWServer.java:463)
    at oracle.reports.server.RWServer.run(RWServer.java:364)
    at java.lang.Thread.run(Thread.java:662)
    ClassPath:.:/opt/oracle/Middleware/as_1/jlib:/opt/oracle/Middleware/as_1/reports/jlib
    File in classpath: /opt/oracle/Middleware/as_1/reports/jlib
    aolj.jar customdest.jar rwadmin.jar rwenv.jar rwxdo.jar
    confmbean.jar runtimembean.jar rwbuilder.jar rwrun.jar
    Relates to Oracle Bug:
    https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&id=()),(page=KBNavigator&id=(viewingMode=1143&from=BOOKMARK&bmDocTitle=Can%20Not%20Find%20Class%20From%20Custom%20Destinations%20Jar%20File%20-%20REP-50125%20:%20java.lang.ClassNotFoundException&bmDocID=1263455.1&bmDocType=PROBLEM&bmDocDsrc=KB))
    Note:
    I'm not sure where the In-Process report server is looking for the classpath. I added them in all possible classpaths ans none of them worked.
    This is an urgent issue in our team. We are migrating from 10g oracle application server to fusion middleware 11g report server. This functionality is working in 10g report server but not in 11g due to classpath issues.
    Please let me know if additional info needed. Please respond.

    Hi,
    Thanks very much for responding. I added my jar file(customdest.jar) as you have suggested to setDomainEnv.sh. Now the In-Process report server just hangs when I try to bring it up through em and I don't see any errors in the log files. Any ideas where to look for errors? The jar files were created for 10g , we are just migrating them to 11g. I have setup the trace at highest level still don't see any error in rwserver_diagnostic.log.
    Here is the details:
    /opt/oracle/Middleware/user_projects/domains/ReportsDomain/bin/setDomainEnv.sh :
    if [ "${SERVER_NAME}" = "WLS_REPORTS" ] ; then
    POST_CLASSPATH="/opt/oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/opt/oracle/Middleware/as_1/opmn/lib/nonj2eembeans.jar:/opt/oracle/Middleware/as_1/jdbc/lib/ojdbc6.jar:/opt/oracle/Middleware/as_1/opmn/lib/optic.jar:/opt/oracle/Middleware/as_1/opmn/lib/iasprovision.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/commons-el.jar:/opt/oracle/Middleware/as_1/jlib/dfc.jar:/opt/oracle/Middleware/as_1/dvt/lib/dvt-jclient.jar:/opt/oracle/Middleware/as_1/dvt/lib/dvt-utils.jar:/opt/oracle/Middleware/oracle_common/jlib/ewt3.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.iau_11.1.1/fmw_audit.jar:/opt/oracle/Middleware/as_1/oui/jlib/http_client.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.idm_11.1.1/identitystore.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.idm_11.1.1/identityutils.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.jps_11.1.1/jaccprovider.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.jps_11.1.1/jacc-spi.jar:/opt/oracle/Middleware/as_1/ord/jlib/jai_codec.jar:/opt/oracle/Middleware/as_1/ord/jlib/jai_core.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.oc4j-obsolete_11.1.1/jazn.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.oc4j-obsolete_11.1.1/jazncore.jar:/opt/oracle/Middleware/oracle_common/jlib/jewt4.jar:/opt/oracle/Middleware/as_1/jlib/jta.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.ldap_11.1.1/ldapjclnt11.jar:/opt/oracle/Middleware/as_1/lib/mail.jar:/opt/oracle/Middleware/as_1/jlib/netcfg.jar:/opt/oracle/Middleware/as_1/jlib/oracle_ice.jar:/opt/oracle/Middleware/oracle_common/jlib/share.jar:/opt/oracle/Middleware/as_1/jlib/zrclient.jar:/opt/oracle/Middleware/as_1/reports/jlib/aolj.jar:/opt/oracle/Middleware/as_1/reports/jlib/confmbean.jar:/opt/oracle/Middleware/as_1/reports/jlib/runtimembean.jar:/opt/oracle/Middleware/as_1/reports/jlib/rwadmin.jar:/opt/oracle/Middleware/as_1/reports/jlib/rwbuilder.jar:/opt/oracle/Middleware/as_1/reports/jlib/rwenv.jar:/opt/oracle/Middleware/as_1/reports/jlib/rwrun.jar:/opt/oracle/Middleware/as_1/reports/jlib/rwxdo.jar:/opt/oracle/Middleware/as_1/jlib/rts2.jar:*/opt/oracle/Middleware/as_1/reports/jlib/customdest.jar*:${CLASSPATHSEP}${POST_CLASSPATH}"
    export POST_CLASSPATH
    Log file: rwserver_diagnostic.log
    /opt/oracle/Middleware/user_projects/domains/ReportsDomain/servers/WLS_REPORTS/logs/reports
    <destination class="oracle.reports.plugin.destination.ftp.DesFTP" destype="ftp"/>
    <destination class="oracle.reports.plugin.destination.webdav.DesWebDAV" destype="WebDav"/>
    <destination destype="rcpfile" class="com.ubizen.og.offline.reporting.oracle.RcpDestination">
    <property name="user" value="tomcat"/>
    <property name="destype" value="rcpfile"/>
    </destination>
    <job engineId="rwEng" jobType="report"/>
    <job engineId="rwURLEng" jobType="rwurl"/>
    <notification class="oracle.reports.server.MailNotify" id="mailNotify">
    <property name="succnotefile" value="succnote.txt"/>
    <property name="failnotefile" value="failnote.txt"/>
    </notification>
    <!--notification id="wfNotify" class="oracle.reports.server.WorkflowNotify">
    <property name="connStr" value="%WF_DB_USERNAME%/%WF_DB_PASSWORD%@%WF_DB_TNSNAME%" encrypted="no"/>
    </notification-->
    <!--jobStatusRepository class="oracle.reports.server.JobRepositoryDB">
    <property name="dbuser" value="$$REPO_DB_USERNAME$$"/>
    <property name="dbpassword" value="csf:$$CSF_ALIAS$$:$$REPO_DB_PASSWORD_KEYE$$"/>
    <property name="dbconn" value="$$REPO_DB_TNSNAME$$"/>
    </jobStatusRepository-->
    <connection idleTimeOut="15" maxConnect="50"/>
    <queue maxQueueSize="1000"/>
    <!--jobRecovery auxDatFiles="yes"/-->
    <pluginParam name="mailServer" value="%MAILSERVER_NAME%">
    <!--property name="enableSSL" value="yes"/-->
    <!--UserName and Password that can be used to connect to the mail server-->
    <!--property name="mailUserName" value="%MAIL_USERID%" /-->
    <!--property name="mailPassword" value="%MAIL_PASSWORD%"/-->
    </pluginParam>
    </server>
    [2011-10-02T23:31:51.431-04:00] [WLS_REPORTS] [TRACE:32] [REP-56025] [oracle.reports.server] [tid: 22] [userId: weblogic] [ecid: 0000JB7par79XbpSoQjc4m1EYIaI00000F,0] [SRC_CLASS: oracle.reports.utility.RWLogger] [APP: reports#11.1.1.2.0] [dcid: fa0c1bc817f5aeb4:7b3253ab:132c7c7f2e9:-8000-00000000000000fa] [SRC_METHOD: writeln] RWServer:startServer Reports Server is starting up.
    [2011-10-02T23:31:51.435-04:00] [WLS_REPORTS] [TRACE:16] [] [oracle.reports.server] [tid: 22] [userId: weblogic] [ecid: 0000JB7par79XbpSoQjc4m1EYIaI00000F,0] [SRC_CLASS: oracle.reports.utility.RWLogger] [APP: reports#11.1.1.2.0] [dcid: fa0c1bc817f5aeb4:7b3253ab:132c7c7f2e9:-8000-00000000000000fa] [SRC_METHOD: writeln] Multicast:registerReceiver Packet handler registered
    [2011-10-02T23:31:51.435-04:00] [WLS_REPORTS] [NOTIFICATION:16] [] [oracle.reports.server] [tid: 22] [userId: weblogic] [ecid: 0000JB7par79XbpSoQjc4m1EYIaI00000F,0] [APP: reports#11.1.1.2.0] [dcid: fa0c1bc817f5aeb4:7b3253ab:132c7c7f2e9:-8000-00000000000000fa] ServerPacketHandler:start ServerPacketHandler started successfully
    [2011-10-02T23:31:51.441-04:00] [WLS_REPORTS] [NOTIFICATION:16] [] [oracle.reports.server] [tid: 22] [userId: weblogic] [ecid: 0000JB7par79XbpSoQjc4m1EYIaI00000F,0] [APP: reports#11.1.1.2.0] [dcid: fa0c1bc817f5aeb4:7b3253ab:132c7c7f2e9:-8000-00000000000000fa] SecurityHelper:start Security system rwJaznSec successfully started.
    No more error logged after this line. but in-process server just hung up indefinitely when I tried stating via the em and also via getserverinfo URL.
    In rwserver.conf: I have defined the following for custom destination
    /opt/oracle/Middleware/user_projects/domains/Repdomain/config/fmwconfig/servers/WLS_REPORTS/applications/reports_11.1.1.2.0/configuration/rwserver.conf
    <destination destype="rcpfile" class="com.ubizen.og.offline.reporting.oracle.RcpDestination">
    <property name="user" value="tomcat"/>
    <property name="destype" value="rcpfile"/>
    </destination>

  • JSR179:LocationProvider: Shutting down! and java.lang.SecurityException

    Hello,
    I am a newbie both at Java ME and JSR-179 (Location based services). I am trying to create location based services but gets the following error:
    JSR179:LocationProvider: Shutting down!
    null - 6
    java.lang.SecurityException
    at unknown
    at unknown
    at unknown
    at unknown
    at unknown
    at unknown
    at unknown
    at unknown
    at unknown
    at unknown
    at unknown
    at unknown
    at unknown
    at unknown
    at unknown
    at unknown
    at unknown
    at java.lang.Thread.run
    at unknown
    at unknownThe problem occures when trying to execute following line below: Location l = lp.getLocation(60);Additional information:
    1. The output "null - 6" above is from my Catch-block. That's how I know at which row the error occurs
    2. The application works in WTK.
    3. The problem occures when I am using the SEM Device Explorer and doing on device debugging. Not sure if that is related to that.
    4. If I am running the directly on the phone it works. Well, not neccessarily if I have tried running it from the Device Explorer, guess it wont work because something happened while using the Device Explorer. And when I am trying to use the application on the phone and it hangs, the only thing I can do is to restart the phone. The phone hangs when the "phone" asks if the application should have access to the resources on the phone.
    5. Have I missed something, but could it be some place where I can read about all these things how it works?
    Please let me know if I should provide more information. I have noted down everything I can think of. I really need to get this going asap.
    My code looks as follows:
    package hello;
    import java.util.Calendar;
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.location.Coordinates;
    import javax.microedition.location.Criteria;
    import javax.microedition.location.Location;
    import javax.microedition.location.LocationProvider;
    public class HelloMIDlet extends MIDlet implements CommandListener {
    private int err = 0;
    private Command exitCommand;
    private Display display;
    StringItem errTest;
    public HelloMIDlet() {
    display = Display.getDisplay(this);
    exitCommand = new Command("Exit", Command.EXIT, 0);
    public void startApp() {
    try{
    StringItem t = new StringItem("First: ", "Baseline");
    StringItem t2 = new StringItem("After Criteria cr: ", "0");
    StringItem t3 = new StringItem("After cr.setHoriz: ", "0");
    StringItem t4 = new StringItem("After LocationProvider: ", "0");
    StringItem t5 = new StringItem("After Location l: ", "0");
    StringItem t6 = new StringItem("After Coordinates c: ", "0");
    StringItem t7 = new StringItem("After double lat: ", "0");
    StringItem t8 = new StringItem("After double lon", "0");
    errTest = new StringItem("Error", "0");
        err = 1;
    Form form = new Form("TestLocation");
    form.append(t);
    form.append(t2);
    form.append(t3);
    form.append(t4);
    form.append(t5);
    form.append(t6);
    form.append(t7);
    form.append(t8);
    form.append(errTest);
        err = 2;
    form.addCommand(exitCommand);
    form.setCommandListener(this);
    display.setCurrent(form);
    long time = Calendar.getInstance().getTime().getTime();
    t.setText(Long.toString((Calendar.getInstance().getTime().getTime())-time));
        err = 3;
        Criteria cr= new Criteria();
    t2.setText(Long.toString((Calendar.getInstance().getTime().getTime())-time));
    err = 4;
    cr.setHorizontalAccuracy(500);
    err = 5;
    t3.setText(Long.toString((Calendar.getInstance().getTime().getTime())-time));
    // Get an instance of the provider
    LocationProvider lp= LocationProvider.getInstance(cr);
    err = 6;
    t4.setText(Long.toString((Calendar.getInstance().getTime().getTime())-time));
    Location l = lp.getLocation(60);
    err = 7;
    t5.setText(Long.toString((Calendar.getInstance().getTime().getTime())-time));
    Coordinates c = l.getQualifiedCoordinates();
    err = 8;
    t6.setText(Long.toString((Calendar.getInstance().getTime().getTime())-time));
    if(c != null ) {
    // Use coordinate information
    double lat = c.getLatitude();
    err = 9;
    t7.setText(Long.toString((Calendar.getInstance().getTime().getTime())-time));
    double lon = c.getLongitude();
    err = 10;
    t8.setText(Long.toString((Calendar.getInstance().getTime().getTime())-time));
    }catch (Exception e){
    System.out.println(e.getMessage() + " - " + err);
    errTest.setText(e.getMessage() + " - " + err);
    e.printStackTrace();
    public void pauseApp() {
    public void destroyApp(boolean unconditional) {
    public void commandAction(Command c, Displayable s) {
    if (c == exitCommand) {
    destroyApp(false);
    notifyDestroyed();
    }Would be most greateful if anyone could help ou, it's a bit stressful to dump into problems like this without any clue how to solve it.
    Thank you in advance!
    /Niklas

    ...Is there any other way to do on-device debuging not using Sony Ericsson Device Explorer?Well I think it depends on whether device supports debug wire protocol like KDWP or JDWP. If it does then you might try debugging with Netbeans Mobility or with Wireless Toolkit ...

  • Netbeans profiler and "java.lang.OutOfMemoryError: Java heap space"

    I have a swing application. When I run this program, I get java.lang.OutOfMemoryError: Java heap space periodically.
    I am using the netbeans profiler to figure out how my heap size is increasing and whether or not I have any memory leaks. What I see is that I have lots of int[] getting generated. When I take the snapshot and look at the allocation stack traces, I cannot find the packages in my code at all. I see classes in java.awt.image.*, sun.awt.image.*, javax.swing.*, etc., but nothing referring to the classes I have developed. What could be wrong and how come I do not see anything referring to my code so that I can fix it?

    Take a look here.
    It seems that you may have a similar situation. If you read through, you'll see that the number of surviving generations gives an indication of where to look.

  • URGENT: XML Report with warning(java.lang.StackOverflowError)

    Hello,
    I have created a custom report using XML Publisher(with PDF output). The report runs fine for limited data. But when more than 3 Lakh records are retrieved, the report gets completed with Warning.
    The log details show the following error message:
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 18175653 on node PWXS3Q-E at 25-JUL-2008 06:56:22.
    Post-processing of request 18175653 failed at 25-JUL-2008 06:58:01 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    The OPP log shows the following message:
    [7/24/08 10:37:04 PM] [main] Starting GSF service with concurrent process id = 297839.
    [7/24/08 10:37:04 PM] [main] Initialization Parameters:
    oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=5
    [7/24/08 10:37:05 PM] [Thread-25] Service thread starting up.
    [7/24/08 10:37:05 PM] [Thread-26] Service thread starting up.
    [7/25/08 6:56:23 AM] [OPPServiceThread1] Post-processing request 18175653.
    [7/25/08 6:56:23 AM] [297839:RT18175653] Executing post-processing actions for request 18175653.
    [7/25/08 6:56:24 AM] [297839:RT18175653] Starting XML Publisher post-processing action.
    [7/25/08 6:56:24 AM] [297839:RT18175653]
    Template code: PFOA249P
    Template app: XXPOP
    Language: nl
    Territory: NL
    Output type: PDF
    [7/25/08 6:58:00 AM] [UNEXPECTED] [297839:RT18175653] java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:580)
    at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:378)
    at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:197)
    at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:156)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:916)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:869)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:204)
    at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1497)
    at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:913)
    at
    oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:1816)
    at
    oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:1278)
    at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
    at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    Caused by: java.lang.StackOverflowError
    [7/25/08 6:58:01 AM] [297839:RT18175653] Completed post-processing actions for request 18175653.
    Any help would be greatly appreciated

    Note:315477.1 : XML Report Publisher Fails With java.lang.OutOfMemoryError.
    Could any one point me to the right place where i can find this note. I searched in Oracle metalink and google but no success.Here you go ..
    Note: 315477.1 - XML Report Publisher Fails With java.lang.OutOfMemoryError
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=315477.1

  • Return statement error and java.lang.noclassDefFoundError?

    public class Calculation
         public static void main (String[] args)
              int a[]=new int [12];
              int iNum=0;
              MainPrompt();
         static public int MyInput()
         return MyInput.readInt();
         public static boolean MainPrompt()
              System.out.println("\n This program will show you the times table [1-12] of any number between 1 & 100 inclusive.");
              int a[]=new int [12];
              int iNum = 0;
              do
                   do
                        System.out.print("\n Enter your number [1-100] or 999 to exit: ");
                        iNum = MyInput();
                        while ((iNum>=1)&&(iNum<=100));
                             if (iNum==999)
                                  System.out.println("\n Goodbye \n");
                        while (!(((iNum>=1)&&(iNum<=100))||(iNum==999)));
                             if ((iNum>=1)&&(iNum<=100))
                                  Calculation(a,iNum);
                                  TimesTable(a,iNum);
         public static void Calculation(int a[], int iNum)
              for(int j=0;j<a.length;j++)
              a[j]=iNum*(j+1);
         public static void TimesTable(int a[], int iNum)
              for(int i=0;i<a.length;i++)
              System.out.println((i+1)+"     *"+iNum+"     ="+a);
    In build output it says missing return statement line 42 "}"
    and also when I try to execute the program it gives me the Exception in thread "main" java.lang.NoClassDefFoundError: calculation
    In the folder I have placed the myinput.java and myinput.class file where my calculation.java is, but still no go.
    can anyone here help me out here?
    thanks in advance

    public class Calculation
         public static void main (String[] args)
              int a[]=new int [12];
              int iNum=0;
              MainPrompt();
         static public int MyInput()
         return MyInput.readInt();
         public static void MainPrompt()
              System.out.println("\n This program will show you the times table [1-12] of any number between 1 & 100 inclusive.");
              int a[]=new int [12];
              int iNum = 0;
              do
                   do
                        System.out.print("\n Enter your number [1-100] or 999 to exit: ");
                        iNum = MyInput();
                        while ((iNum>=1)&&(iNum<=100));
                             if (iNum==999)
                                  System.out.println("\n Goodbye \n");
                        while (!(((iNum>=1)&&(iNum<=100))||(iNum==999)));
                             if ((iNum>=1)&&(iNum<=100))
                                  Calculation(a,iNum);
                                  TimesTable(a,iNum);
         public static void Calculation(int a[], int iNum) //This part doesn't execute
              for(int j=0;j<a.length;j++)
              a[j]=iNum*(j+1);
         public static void TimesTable(int a[], int iNum)
              for(int i=0;i<a.length;i++)
              System.out.println((i+1)+"     *"+iNum+"     ="+a);

  • Problem with automatic key generation

    Hi,
    I'm getting an exception when creating entity EJB's that use automatic primary key
    generation (I'm using MS SQL Server as the db). The data is being inserted correctly
    onto the database (including the auto generated key), but the auto generated primary
    key field in the EJB is being set to zero rather than the correct value. This causes
    a NoSuchEntityException.
    The db table has an identity set on the auto generated field, but this field is not
    the primary key.
    Does anyone have an idea as to what the problem is?
    thanks,
    Andy

    Make sure you are using a TX DataSource
    "Andy Pearson" <[email protected]> wrote in message
    news:3ccead40$[email protected]..
    >
    Hi,
    I'm getting an exception when creating entity EJB's that use automaticprimary key
    generation (I'm using MS SQL Server as the db). The data is being insertedcorrectly
    onto the database (including the auto generated key), but the autogenerated primary
    key field in the EJB is being set to zero rather than the correct value.This causes
    a NoSuchEntityException.
    The db table has an identity set on the auto generated field, but thisfield is not
    the primary key.
    Does anyone have an idea as to what the problem is?
    thanks,
    Andy

  • Unable to read big files into string object  and java.lang.OutOfMemory Prob

    Hi All,
    I have an application that uses applet and servlet communication. On the client side I am reading an large xml file of 12MB size (using JFileChooser) and converting the file to an string object using below code. But I am getting java.lang.OutOfMemory on the client side . But the same below code works fine for small xml files which are less than 4MB sizes:
    BufferedReader in = new BufferedReader(new InputStreamReader(new FileInputStream(file),"UTF8"), 1024*12);
    String s, s2 = new String();
    while((s = in.readLine())!= null)
         s2 += s + "\n";
    I even tried below code but still java.lang.OutOfMemory is coming:
    while (true)
         int i = in.read();
         if (i == -1)
              break;
         sb.append(i);
    Please let me know what am I doing wrong here ...
    Thanks & Regards,
    Sony.

    Using a String is bad for the following reason:
    When you initially create the String, it has a certain memory size (allocated length if you will). As you keep appending to this String, then memory reallocation will occur over and over, slowing your program down dramatically (ive seen with a 16k x 8 Char file taking 30 secs to read into memory using Strings in this way)
    A Better way would be if you knew the number of characters in the XML file (Using some File size method for example) Then you can use a StringBuffer, which will pre allocate enough space (or try to, it may just be that you cannot create a string as large as you need). You can use toString() method to get the resultant in a String Object (the extra allocated space at the end of the Buffer will be removed)
    StringBuffer strBuf = new StringBuffer(xxxx);
    Where xx is the length (int). Assuming that you are only allowed to enter an int to the constructor then (platform depedant) an int is 2^31 at maximum (or whatever) which allows 2.14e9 characters, therefore an xml file being totally filed would allow a size of ~2048 MB to be read in.
    Try it and see.

  • Large insert and java.lang.OutOfMemoryError

    Hello.
    I have an application that is trying to insert a large amount of data into the database (could be 200,000 rows). We are getting a java.lang.OutOfMemoryError in the process of doing the insert. The inserts are currently being done by looping over a Vector where each element in the Vector contains an id that is needed to do each insert. Actually, the Vector contains instances of DatabaseRow from a previous query done using "executingSelectingCall()". For each DatabaseRow in the Vector, a row is added to another table in the database:
    for(int i=0; i<trackingSelectRes.size(); i++)
    DatabaseRow dbRow = (DatabaseRow)trackingSelectRes.get(i);
                                  BigDecimal recordId = (BigDecimal)dbRow.get(PREMIUM_PK_IN_TMP_TABLE);
                                  trackingUpdateSql.setSQLString("INSERT INTO " + trackingTableName + " (" + PK_IN_TRACKING + ", " + PREMIUM_PK_IN_TRACKING + ", " + BMTID + ", " + RULEID + ", " + TIMESTAMP + ") " + "VALUES" +
                                                                          " ("+ TRACKING_PK_SEQ + ".nextval, " + recordId.longValue() + ", '" + rule.getBmtId().getBmtId() + "', '" + rule.getRuleId() + "', sysdate)");
                                  //System.out.println("TRACKING PREMIUM INSERT STATEMENT: " + trackingUpdateSql.getSQLString());
                                  session.executeNonSelectingCall(trackingUpdateSql);
    My first thought is to do a ReportQuery to get the ids that are needed to do the insert instead of loading all of the rows that contain the ids into memory. But, I'm also thinking that we are taking the incorrect approach to the problem. I looked at TopLink's batch writing, but I don't want to create objects for this data. Does TopLink have another way of doing a mass insert or would it be better to use a stored procedure?
    Thanks,
    Katie

    Thanks for your reply. I have another quick question? Could I get a UnitOfWork and call executeNonSelectingCall() with calls to commitAndResume() at a predetermined interval? Would that allow me to not have to commit every row?
    Thanks,
    Katie

Maybe you are looking for