What is the need setEntityContext method of Entity Bean?
444743
just u go to the goole and search about setEntityContext
38564
Your applet will be in client's browser.\n\nThe best design would be that your applet will interact with a Servlet or JSP which will inturn connect to database and perform database activity.
565802
If you use INSERT INTO and do not set a value for the description feild the default "NO DESCRIPTION" that you set will appear in the column.\n\nYes, as the first person said, you can't use INSERT INTO and set the value of description to NULL because you have set the column to not allow NULL
118208
Just add dateestablished in the required fields. It will do the rest...
151838
You can't create real objects for interfaces. You can have a reference for a object.\nConnection c;\n\nc = DriverManager.getConnection (url,"myLogin", "myPassword");\n\nThis is what happens - \nYour driver class (oracle/db2/sql/ whichever) makes a object which implements the interface Connection. The reference of this real object is returned by the getConnection method.\n\nThis is the real object which you access through the referecnce of the Connection interface. \n\nSo you cannot create an object of the Connection interface, only reference a real object through it.
601218
stmt = connection.createStatement();\n\n// check from User_tables data dictionary table \n//to see if the table exists.\nrset = stmt.executeQuery(" SELECT Table_Name FROM\n                           User_Tables "+ \n                         " WHERE Table_Name='XYZ'");    \n\n// if the resultset of the above query \n//does not have any record, \n//it means table is not existing.\nif (!rset.next())\n{\n          //operation to do if table doesn't exist\n}\nelse\n{\n          //operation to do if table exists\n}
255564
In powerbuilder you already have the datawindow so I assume you mean an alternative in another language but you didn't specify which. I general it involves the 2 step process of querying your database (say using odbc/jdbc etc.) then populating the required fields of your form with the data. You'd then have to write specific routines for updating/inserting etc.
288421
Taht looks good, but I'd try this instead.\n\n&#92;&#92;code start\nDataColumn[] keys=new DataColumn[1];\ndataSet11.Tables["Orders"].Con... UniqueConstraint("ck_constrain...\nkeys[0]=dataSet11.Tables["Orde...\ndataSet11.Tables["Orders"].Pri...\nDataRow findrow = dataSet11.Tables"Orders"].Rows...\n&#92;&#92;code end
305680
Use this as the JNDI name while referring to the bean \ncorbaname:iiop:MACHINEID:3700#JNDINAME
932102
You...cannot. Either declare it as a static variable, or create an instance of the object it is in.
134350
You can write servlets form home.\n\nYou need J2EE 1.4 (free form sun.com)\n\nYou will also need Tomcat (free from tomcat.apache.org) as the Servlet/JSP container.\n\nThis should be enough for you until you want EJB.
154345
I've seen several references of this error using SQL.\n\nAre you accessing a database?  If so, are you sure you JDBC linkage is right, and your SQL is correct?
604514
Look into Properties and how to use them in C#. You have to create a property and then instantiate this property in the main function.
1083678
Question is not clear. \n\nAnyway, If you are using DataGrid or GridView, they have built-in features on ASP.NET. If not, you can impletment this manually using tricks.\n\nPlease explain your requirement with language, platform etc.
516073
Yes sure we can.....Apart from using the JDBC - ODBC Bridge, we can use other API's too such as JDBC - MYSQL, JDBC - MSSQL.
937
Entity is used for storage access... Statefull / Stateless Sessions contain / execute a activity or business process..\nMDBs handle inbound messages... \n\nExample: JMS message is sent from a Web Server application requesting account details for a user from the backend host, a MDB is triggered on the inbound traffic, MDB calls up the Session EJB Customer account details service, Session calls a collection of security / role access, web services, jdbc and / or entity beans to grab the data, MDB mediates the reply and responds to the reply queue.\n\nIn my souces I've included a link to a book on this subject.
993355
Hi, can you emphasize on the SQL Load Test Program. For instance what is your outcome to use such application.\n\nTo test if the sql connection is valid within an application, the drivers JDBC/ODBC/ADO which are the main ones 99% people use them.. already deal if the database connection method failed. If it failed it will return false.\n\nSo look into your api for the sql application your doing and see what the connect method returns.\n\nSorry if i answered your question differently, please clarify things :)