Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jonatan

    Updating LVARBINARY fields in JDBC

    I'm trying to insert a record in a table that contains a field of LVARBINARY data type. I'm using 'setBinaryStream' method of PreparedStatement to set the data. When I execute the command, I get the following error: java.sql.SQLException: Bad file descriptor at...
  2. jonatan

    Disable Close Button

    Is there anyway to disable the X button (close button) in the top of the form? I want to avoid that the form be closed this way. Tks --- Jonatan Schroeder Medisoft Ltda. - Brazil System Development Project Coordination
  3. jonatan

    Dynamic call of session beans

    I have no problems with creating the ejb-jar.xml or jboss.xml. My question was about ejb-ref. But, anywhere, I did already solve my problem. I was using "java:comp/env/..." to reference my EJB. I modified the reference to use directly the JNDI name for the EJB, and it works. Even so...
  4. jonatan

    Dynamic call of session beans

    During our development, we're going to call some session beans, but not by the normal way. We have the session bean A, that contains some data such like the name for the remote and home interface and JNDI Name for a session bean B. It also contains the name of a method that shall be called in...
  5. jonatan

    Mutating Tables Workaround Problem

    I'm using the "classic" mutating table workaround, that uses an AFTER STATEMENT trigger to run the trigger (http://osi.oracle.com/~tkyte/Mutate/index.html). But in my trigger I have an UPDATE in the same table from trigger. In this second UPDATE, the package data is redefined, and I...
  6. jonatan

    Transaction scope in Java triggers

    The situation is something like this: create table a ( id number, ... ); create table b ( id number, a_id number, ... ); The trigger for table B verifies if table A exists. In some situations, trigger for table A inserts a record in table B. In this case, when the trigger for...
  7. jonatan

    Transaction scope in Java triggers

    I use Progress Java triggers. When I update table A, the trigger fires an update in table B. This fires the trigger for table B, that looks for the original record in table A. The problem is: in this point, the trigger returns an error, cause the record I want to find is already locked. But the...
  8. jonatan

    I'm finding some problems in execut

    Yeah, this is how it works, but I'd like that it changes also the size of the variable (:new.c). My question is: how to do that? In "C" I know it works so, but Java doesn't work so. If I call: SQL> VAR x CHAR; SQL> begin 2 x := 'aa'; 3 end; 4 / SQL> CALL d (:x); SQL> PRINT...
  9. jonatan

    Cache of java code

    I'm developing an application in Java, that accesses an Progress database. I want to create triggers in Java for the application, to make some validations and replications. Some triggers access other classes that I created. The call works fine, but when I modify the java class and re-deposit the...
  10. jonatan

    I'm finding some problems in execut

    I'm finding some problems in execution of java triggers (stored procedures). The scripts follow: create table a ( b number(5), c varchar2(10) ); create or replace procedure d (e in out varchar2) as language java name 'TriggerOracle.atribuiValor(java.lang.String[])'; / create or...
  11. jonatan

    Java Triggers for Progress Database

    I'm developing an application in Java, that accesses an Progress database. I want to create triggers in Java for the application, to make some validations and replications. 1. Is there anyway to send the exception data to the application, such as the error message? I tried to update a table...
  12. jonatan

    how i do now if my abt ab-bh6 motherboard supports agp 4x

    im trying to fnd out if my motherboard supports 4x agp where can i fnd such information
  13. jonatan

    How can I innsert a record in the middle of other records?

    Maybe you can modify it with another temporary table.You can copy data from number what u want until eof.And then you insert your new data, then you copy your old data in temp table back to the origin table.Quite messy right ... But maybe can help.. see ya ..!
  14. jonatan

    Ignore error prg

    I need help.In some case i need to ignore some error in my program.Usually we must choose cancel,suspend,or ignore right.I don't want it shown if found an error.What i should i do ? It seems like ON ERROR RESUME NEXT in Visual Basic ... Thanks .... CS

Part and Inventory Search

Back
Top