Using Hypersonic SQL with JDeveloper

I'm trying to use the two together. I can make a connection and see the database contents without any trouble. However, when I try to use the embedded OC4J, I start to have problems. OC4J doesn't seem to see the connection...my read of the documents is that the OC4J configuration should be updated with whatever connections I have in my list, but that doesn't seem to be happening...there must be some missing step. Or, may you just can't use the embedded OC4J with anything else.
Any clues from those who might have succeeded with this already?
RJ

There is a thriving JDeveloper forum. ( It is visited by members of the Oracle Java tools teams like Steve Muench and Chris Schalk, and so doesn't depend so much upon self-styled experts like me :P ). You'll find it JDeveloper and ADF.
Business logic are rules regulating the use of the entity. This includes not just integrity constraints but also things like default values, check constraints, etc. In a sense this duplicates stuff that can be defined in the database, but (a) some java heads don't like squirming around in the primordial ooze of SQL and (b) because it's Java we can write stuff programmatically, which gives more flexibility than the CHECK CONSTRAINT syntax permits.
Cheers, APC

Similar Messages

  • Anybody using Hypersonic SQL in JSP?

    Hello,
    Does anybody use Hypersonic SQL?
    I implement a guestbook system with JSP that
    saves data in Hypersonic SQL. This system
    runs on www.mycgiserver.com. My JSP program
    has thread safe option set to false to make
    sure one thread is reading and writing the database
    at a time. However, every once in a while, the
    database will be wiped out mysteriously.
    So I am just wondering that this happens to
    anyone else? Is this a Hypersonic SQL's bug
    or it's the server that goofs up or I did something
    wrong with the JSP setting? Any ideas or
    comments please? Thanks !!!

    Hi there!
    I use Hypersonic locally and on mycgiserver.com. Luckilly, I haven't encountered your problems so far. I use a similar approach, I have a bean that handles a singleton-connection to the DB, and that will queue up all requests. But so far , I haven't had that much load on the app, so maybe I'll get back in this matter, with the same problem... Anyone att mycgiserver that had an id�a?
    regards
    Markus

  • How can I use jad decompiler with Jdeveloper ?

    I want to use jad decompiler with JDeveloper .
    What should I do ?
    I also want jdeveloper can set break point in source code that decompiled for debugging .
    If Jdeveloper dose n't have Jad Extension .
    Do you have any other decompiler that can be integrated with JDeveloper ?
    thanks in advance

    In JDeveloper 10.1.2, I put the following line in jdev.conf:
    AddVMOption -Djcncmd=c:/progra~1/decomp/jad.exe -b -ff -nl -p -pi99999 -space -t2 -lnc -noinner
    Use at your own risk, though. It works nicely 9 times out of 10, but for some classes it seems to 'freeze' JDeveloper and you have to kill the jdev.exe process. I'm sure it has something to do with the command line options to jad.exe, but I've not been able to identify the problem.
    If debugging is your goal, if I'm not mistaken JAD is not able to recreate source files where every statement is on the same line number as in the original file, so step-by-step debugging is a no-no. If you know of any way to use JAD so that is does put each statement on the correct line, I'll be interested!
    Peter

  • Use Oracle Reports with Jdeveloper 11

    Hi,
    My next question. How to use Oracle Reports with jdeveloper 11. I have more oracle reports (used with a existing forms application) and i need to migrate this application to web-adf application. I think that is very powerful to use this oracle definition reports but i not know ho to do it.
    thanks,
    Jordi

    Read the publishing reports manual of Oracle reports to see how to Web enabled your Oracle reports. You can then invoke them from an ADF application either by calling a URL or using a Web service interface.

  • Using dynamic ViewLinks with JDeveloper 10g

    Hello.
    I'm displaing a list of data from tab1 with a sublist of data from tab2, which has a n:m cardinality relationship.
    Attributes:
    k1 - primary key of tab1
    k2 - primary key of tab2
    fk1 - foreign key of tab1 in rel
    fk2 - foreign key of tab2 in rel
    Before data iteration I create dynamic link using createViewLinkBetweenViewObjects(...) method of my ApplicationModule. I use assocClause parameter to define the way of the data association, e.g.:
    select <attrs> from tab2 where k2 in (select fk2 from rel where fk1=:1)Parameter :1 is replaced with k1 from tab1.
    This works fine, but whern I use parameter :1 more times in query, the JBO-27122 (SQL error during statement preparation. Statement: ...) is reported. I have used it with JDeveloper 9i and it worked properly.
    Thanks for any help

    Did you read my reply here:
    Jdeveloper with PVCS

  • Error in remote debugging pl/sql with JDeveloper 10.1.3

    I'm doing remote debugging of some of my pl/sql packages with JDeveloper and I get the following error:
    DECLARE
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [15419], [severe error during PL/SQL
    execution], [], [], [], [], [], []
    ORA-06544: PL/SQL: internal error, arguments: [2603], [], [], [], [], [], [],
    ORA-06553: PLS-707: unsupported construct or internal error [2603]
    When I run this code without the debugger, everything works fine.
    Any idea how to solve this problem?
    Thanks and kind regards
    Uwe

    Hi Lee,
    thanks for your reply.
    My java_pool_size is 32M, and I found out that this seems to be sufficient (means, the pl/sql internal error does not show up) as long as some of my pl/sql packages are not compiled in DEBUG mode.
    The pl/sql package I'm debugging are owned by user A and it calls procedures of a pl/sql package that is owned by a different user B. Calling B's procedures from within A causes the error, if the packages of B are compiled in DEBUG mode. If they are compiled ordinary, debugging A's packages works fine, even with the small java_pool_size.
    During the checks I repeately increased java_pool_size up to 256M, but the problem was persisting, as long as B's packages were compiled DEBUG.
    As I get the whole picture only if A's and B's packages are debugged together, I like to ask for further help.
    Thanks and Kind Regards
    Uwe

  • File upload use pl/sql with OAS 4082 and 8i/EE

    is there any way to upload/download files (any format) from web browser use FORM and above env. Don't mention samples in OAS document, it simply doesn't work. thanks.

    806675 wrote:
    I probably wrong but I interpret this as POST is not supported, http://download.oracle.com/docs/cd/E11882_01/appdev.112/e16659/xdb22pro.htm#ADXDB5550, "Supported HTTP(S) Client Methods"
    It says:
    "+The semantics of these HTTP(S) methods is in accordance with WebDAV. Servlets and *Web services may support additional HTTP(S) methods*, such as POST.+" (my emphasis - so yes, it is supported).
    Today we are using an Appserver with HTTP mod_plsql, the code for the form looks like:
    htp.formopen (
    curl => 'FileUpload',
    cmethod => 'POST',
    cenctype => 'multipart/form-data');
    the "FileUpload" takes care of the file and inserts it in the dbThe question is how does it do it? A file upload via mod_plsql/EPG is done via the PLSQL document table. It, mod_plsql/EPG, takes cares of the actual upload part - reading the Mime stream of the upload from the browser and inserting it into the document table.
    Unfortunately, seems that the 11g documentation lacks details in this regard. Please consult the Oracle® HTTP Server mod_plsql User's Guide (10g).
    <li>section 1.7.1 describes the format of the upload table you need to define
    <li>section 1.7.4 shows a sample HTML form doing a HTTP post, and the post-process upload PL/SQL procedure that needs to be written to process the contents of the row just created for the uploaded file in the document table

  • Web Pl/Sql with Jdeveloper(903)

    hi all
    i am using jdeveloper to develop some pages build with web pl/sql but when i try to run it from jdeveloper it fails (the database is 9.0.1)and gives the error
    Executing PL/SQL: CALL SCOTT."JDEV_TMP_PROC_1"()
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "SYS.OWA_UTIL", line 323
    ORA-06512: at "SYS.HTP", line 860
    ORA-06512: at "SYS.HTP", line 975
    ORA-06512: at "SYS.HTP", line 993
    ORA-06512: at "SYS.HTP", line 40
    ORA-06512: at "SCOTT.MARINA_DATE", line 6
    ORA-06512: at "SCOTT.JDEV_TMP_PROC_1", line 3
    Process exited.
    Disconnecting from the database oracle9
    my question is how i can run and deploy web/plsql procedure from jdeveloper9i

    This is because when you run your SCOTT.MARINA_DATE procedure from JDeveloper like this, it is not exactly the same as when the MOD_PLSQL invokes it.
    The key difference lies in the invocation of the OWA.INIT_CGI_ENV() procedure.
    The MOD_PLSQL gateway is doing this prior to invoking your SCOTT.MARINA_DATE routine, and here when you're invoking it from JDeveloper, likely you're not initializing the OWA package with this call.
    Assuming your PLSQL code is not depending on any of the CGI environment variables that the normal MOD_PLSQL module passes to the PLSQL environment via this call, you can simulate the initialization of the web CGI environment with no arguments using code like this:
    declare
      args owa.vc_arr; -- An empty table of records
    begin
      owa.init_cgi_env(args);
    end;

  • Using the BC4J with JDeveloper

    What exactly is the meaning of business logic in BC4J?
    It says thatBC4J Entity objects encapsulate the business
    logic.
    What is this business logic?
    Is it the Primary Key/Foreign key relationship between
    tables?

    There is a thriving JDeveloper forum. ( It is visited by members of the Oracle Java tools teams like Steve Muench and Chris Schalk, and so doesn't depend so much upon self-styled experts like me :P ). You'll find it JDeveloper and ADF.
    Business logic are rules regulating the use of the entity. This includes not just integrity constraints but also things like default values, check constraints, etc. In a sense this duplicates stuff that can be defined in the database, but (a) some java heads don't like squirming around in the primordial ooze of SQL and (b) because it's Java we can write stuff programmatically, which gives more flexibility than the CHECK CONSTRAINT syntax permits.
    Cheers, APC

  • How to obtain a variable Server Account Name using an @SQl with an @variable_server_ name + 'master.dbo.xp.instance.regread ...'

    Hi,
    I am trying to make a flexible script to get the Service Account Name from several servers.
    I am using "servername.master.dbo.xp_instance_regread.......", but I want to use a variable for the servername.
    So I started doing this:
    Declare @servername varchar(100)
    Declare @SQL varchar(1000)
    Declare @agtServAccName varchar(250)
    set @servername = 'Server1'
    set @sql = @servername + '.master.dbo.xp_instance_regread
    N''HKEY_LOCAL_MACHINE'',
    N""SYSTEM\CurrentControlSet\Services\SQLSERVERAGENT'',
    N''ObjectName'',
    @AgtServAccName Output,
    N''no_output'''
    Execute (@SQL) 
    How am I able to get a flexible script (@sql), which gives me the Service Account Name of the server called @servername after I execute this script (@sql)
    If there is another way without this regread, I like to hear that too ofcourse...
    EDIT: the reason I use a variable for the servicename is, that I am running it on a central management server and not on the server with this servername itself.

    This did the trick. Now I can loop through all my centrally managed servers and obtain the Service Account Names.
    Thanks for the help. There's probably a better way to do it (sp_executesql?) , but at least I got something.
    Declare @ServerName varchar(50)
    Declare @SQL as varchar(500)
    If object_id('tempdb..#ServAccName') is not null
    drop table #ServAccName;
    create table #ServAccName (ServAccName varchar(50))
    set @ServerName = 'Server1'
    set @SQL = '
    declare @ServAccName varchar(50)
      execute ' + @ServerName + '.master.dbo.xp_instance_regread
                       HKEY_LOCAL_MACHINE,
                       ''SYSTEM\CurrentControlSet\Services\MSSQLServer'',
                      ObjectName,
                      @ServAccName OUTPUT
    Insert #ServAccName Select @ServAccName
    Exec (@SQL)
    Select ServAccName from #ServAccName

  • How to Use SCM (9iDS) with JDeveloper v3.2.3

    We still have users that are required to use JDeveloper v3.2.3 (not authorized to install / upgrade applications - approval process for upgrade painfully slow)
    To support them we have systems with both 9iDS and JDeveloper v3.2.3. The repository is on a Sun Solaris box (Oracle9i Enterprise Edition Release 9.0.1.3.0). The repository is (Server) 4.0.12.88.2 and (Client) 3.0.19.0.0 with Repository Admin Utility 9.0.2.88.12.
    The help instructions in JDev v3.2.3 are not clear on how to 'force' it to recognize the availability of the source control repository 'system'. It appears to that it expects a 6i installation and then it would automatically work.
    Are there any other instructions on marrying these two components (9iDS Repository and JDev v3.2.3) that would cause the Source Control menu to appear?
    Note: Received this response on the SCM forum from David Brown (Oracle)
    James,
    JDev 3.2.3 with a 9iDS backend SCM repository is very undesirable. I am sure, after much >work, they could be made
    to cohabit, but the reason we went for the 'suite' approach is to offer certification out of >the box, rather than mismatched
    components.
    sorry,
    David

    I've been out for a while, so that's why I've delayed on this response.
    Is there a description / procedure on "downgrading your repository to 6i" ?
    Thanks.
    Hi,
    I'm afraid that Dave is correct about this - it's very hard to provide future compatibility in any product, and there is a long stretch of time between JDeveloper 3.2.3 and 9iDS. We do provide backward compatibility (you can connect to a 6i repository from a 9i version of JDeveloper), so if it's absolutely not possible to upgrade your clients to 9i JDeveloper, maybe downgrading your repository to 6i is an option.
    Thanks,
    Brian
    JDev Team (SCM)

  • Error while generating wrapper pl/sql with JDeveloper 10.1.3 (production)

    Hello,
    I'm generating a webservice from pl/sql package which returns a collection.
    JDeveloper generates wrapper pl/sql which gives errors when executed in the database because it consists of code like:
    PROCEDURE "NAME"$PROC_NAME_A
    The " creates database errors. When i remove these " the packages compiles.
    But when i insert the service based upon this procedure, I get an "PLS-00103: Encountered the symbol "$" when expecting something else" error.This looks like the same code is inserted again.
    Anyon an idea to get rid of these problems?
    Regards,
    Ruben Spekle

    I'm having the same problem. Did anyone ever help you, or have you resolved this yet?

  • How to use an infile with jdeveloper?

    I dont want to use an absolute path. Where can I put a flatfile so that jdeveloper can read it? How do I set this? I can get it work from textpad by just putting it in my jdk\bin directory.
    anyway to set what directory I want to use by default for reading from files?

    You should put it into the 'src' subdirectory of your project's directory and then add it to your project, so that everytime you compile and run it, the file will be copied to the 'classes' subdirectory.

  • How to use oracle Portal with JDeveloper 10.1.3 ADF JSF

    Hi all
    I use JDeveloper 10.1.3
    I found out that the latest Portal 10.1.4 does not support JSF ADF
    IF I WANT USE PORTAL ,WHAT SHALL I DO?
    Thanks

    OracleAS Portal 10.1.4 does not support JSF portlets.
    JSF support in OracleAS Portal is in development.

  • Using PL/SQL with DAC

    Is there a way to execute PL/SQL statements in DAC? Is this advisable?
    This is to better tune some parts of the application that are so slow in Informatica.

    yeah they Can be Executed through.
    Write you SQL in a procedure and Call the Procedure through DAC.
    Give the Source and target detais as mentioned in the procedure.
    In Execution type Select Stored Procedure.
    Let me know if this helps

Maybe you are looking for

  • Iphone 3g stuck in recovery mode(error 14) after failed 3.2.1 update

    My Iphone is stuck in recovery mode after it failed to update to operating system 3.2.1 . When I press restore in itunes, the process stops at around the 20% mark and come up with error 14. I have already manually deleted and redownloaded the update

  • Can't find the map Digital Editions

    I installed Adobe Digital Editions on mijn computer but I can't use it. When I open the program it says "Can't find the map Digital Editions". Can someone help me? I need this program for my epubs and my e-reader.

  • Which table is available for profitability segment?

    Hi, I have the G/L account, the Profit center and the customer number. In which table can I find the profitability segment? Thank you. Kind regards, Linda

  • Can not control / observe when no user logged in

    Been fighting this for weeks. Searched the forum but found no relief. Using ARD 3.2 we can control / observe from our office to several workstations both in our same building and in other offices around the country. On all but one we can control / ob

  • Console error if I open acivity from Activity Management View

    Hello, following error appears if I open manual activity from the Activity Management / Manual Activities / All Activities Application: Service Manager Application Version: 7.5.3079.0 Severity: Error Message: An error was encountered while running th