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...
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?
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...
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.
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?
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...
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...
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...
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...
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...
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...
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.
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.