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 SkipVought 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. MartinF

    Netbeans Entity Classes from Database using intergrated Authentication

    Hi, Please could someone help me to use the Netbeans wizard (or another way) of creating Entity classes from an existing database (SQL Server) using Intergrated Authentication. I have the driver set up and configured to use Intergrated Authentication and this works when you create a simle Java...
  2. MartinF

    JDBC SQLServer 2000 connection problem

    Hi Dian, When it works i am using 'Run file' option within netbeans just to run that java file. When it does NOT work i am running the whole application after a clean and build. Does this off anymore clues?
  3. MartinF

    JDBC SQLServer 2000 connection problem

    Hi all, I have the code below...see bottom of thread I am using netbeans 6.9, if i just run the file as is, it connects to the DB and disconnects just fine. However, if i create an instance of this class from within another class and call the QueryDB() method, i get this error...
  4. MartinF

    SQL Server states i must declare my input variables!

    Thanks guys, wont be using GO in my SP's again anytime soon! ...i must admit its use has always evaded me even in query analyser, but now i understand.
  5. MartinF

    SQL Server states i must declare my input variables!

    I have figured it... ...it was the GO keyword, perhaps i must research its use a bit more fully. It appeares to cancel out the variable declaration! Should i even use it at all within my SP?
  6. MartinF

    SQL Server states i must declare my input variables!

    Hi all, Im really stumped with this...im new to T-SQL and trying to write a stored procedure. This is my code: CREATE PROCEDURE SetStrandState @pCableName varchar(50), @pStartStrand int, @pEndStrand int, @pStrandState int, @pComment varchar(80), @pUser varchar(25) AS DECLARE @OutputMsg...
  7. MartinF

    J2ME Thread Question

    Hi, I have a midlet that uses two seperate GameCanvas classes. Both GameCanvas classes are declared in the Midlet file and instantiated within an initialization method in the same Midlet class. Both GameCanvas implement runnable and have continous loop run methods. These run methods are both...
  8. MartinF

    TOAD 8.5 Database Creation Scripts

    LKBrwnDBA: Thanks for the tip, however i dont have the 'Generate Database (or Schema) Script under Database>Export!! The only menu items i have under these menu's are: Table Scripts Grants Table Data Source Code Table as Flat File Synonyms Sequences Does this mean i dont have the required...
  9. MartinF

    TOAD 8.5 Database Creation Scripts

    Hi all, I am using TOAD 8.5, how to i create a set of Database Creation Scripts for my database from TOAD? Thanks
  10. MartinF

    App not quitting

    How can i tell if System.exit() is being queued in a background thread?
  11. MartinF

    App not quitting

    Hi again, Would it be possible to send me some code to implement a DB timeout please? The issue is definately caused by the: CreateStatement(...).executeQuery(...) The app will not quit (even System.exit()) until the method has returned!!! incidently if you call System.exit() then window...
  12. MartinF

    App not quitting

    App is my Application window that extends FrameView. It is a stand alone app, developed in Netbeans The Application.exit() method supposedly gracefully exits the application. I have also tried System.exit(0)...but this doesnt quit it either!! I have also read online against the use of...
  13. MartinF

    App not quitting

    Hi, My app does not always seem to quit, i am using... App.getApplication().exit(); The window will disappear, but the app will still be running in the background, but only sometimes. I have determined that the cause is a database connection awaiting a response from the db server. At any...
  14. MartinF

    jButton's floating over a Canvas?

    Hi, Yes, what i want to do is effectively add a jButton to the Canvas as you do with an Add(Component c) method. There does not seem to be one of these methods allowing this in the Canvas Class, as there is with say a Panel.
  15. MartinF

    jButton's floating over a Canvas?

    Hi, I am developing an app that uses a custom canvas that fills the entire Frame that the app runs in. The app is driven form interacting with the content rendered on this canvas (in this case a schematic drawing that is navigated around) What i would like to do is have jButtons (and maybe...
  16. MartinF

    JTree expandPath question...

    Hello, I have constructed a Jtree from DefaultMutableTreeNodes which have been created within a loop from a database recordset. The final step in my process is to create the JTree from the root node. This works great, and all the child nodes work fine. Now though i want to expand certain...
  17. MartinF

    Can i sign an Applet in Netbeans 6.5

    Hi, Thanks for the links, i did find a bunch of articles on signing applets manually before i posted. I was wondering however if it was possible to do it directly from the Netbeans IDE, as you can create ketstores etc. Martin
  18. MartinF

    Can i sign an Applet in Netbeans 6.5

    Hello there, Please can anyone tell me if i can sign an Applet within Netbeans? I am writing an applet to access an oracle database on our network, and i understand it needs to be signed in order to do this? The applet works fine in the Netbeans Applet viewer, but not from a browser. Also...
  19. MartinF

    Fastest way to dump Recordset results onto a spreadsheet

    PJM's solution worked a treat..thanks a lot that was excatly what i wanted.
  20. MartinF

    Fastest way to dump Recordset results onto a spreadsheet

    Hi all, Please can anyone tell me the fastest and most efficient way to dump the entire contents of a recordset (in this case anything from 700 to 60000 rows) into a specified worksheet? The way i am doing it thus far is: 1. query the db to obtain records 2. loop through each field of each row...

Part and Inventory Search

Back
Top