Looking for a class to connect to MySQL data base

Hi,
I'm looking for a class to connect to MySQL data base.
And i want to know how to access to my data base MySQL under linux ( i've already the driver for mysql-java).
Can you help me ?
Thank u.

I'm looking for a class to connect to MySQL data
base.Do you mean driver class or ready-made code?
And i want to know how to access to my data base
MySQL under linux ( i've already the driver for
mysql-java).Search for the JDBC tutorial.

Similar Messages

  • Applet is not looking for the classes in the jar

    I have an applet that uses 2 jar files (Jasplet.jar and WinLS.jar). They are downloaded fine, but then java look for the classes in a URL instead of using the jar:
    network: Cache entry found [url: http://localhost:8000/reportes/Jasplet.jar, version: null]
    network: Connecting http://localhost:8000/reportes/Jasplet.jar with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/Jasplet.jar with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: ResponseCode for http://localhost:8000/reportes/Jasplet.jar : 304
    network: Encoding for http://localhost:8000/reportes/Jasplet.jar : null
    network: Disconnect connection to http://localhost:8000/reportes/Jasplet.jar
    security: Loading Root CA certificates from /usr/lib/jvm/java-6-sun-1.6.0.07/jre/lib/security/cacerts
    security: Loaded Root CA certificates from /usr/lib/jvm/java-6-sun-1.6.0.07/jre/lib/security/cacerts
    security: Loading Deployment certificates from /home/santiago/.java/deployment/security/trusted.certs
    security: Loaded Deployment certificates from /home/santiago/.java/deployment/security/trusted.certs
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Validate the certificate chain using CertPath API
    security: Obtain certificate collection in Root CA certificate store
    security: Obtain certificate collection in Root CA certificate store
    security: The CRL support is disabled
    security: The OCSP support is disabled
    security: No timestamping info available
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment permanent certificate store
    network: Cache entry found [url: http://localhost:8000/reportes/lib/WinLS.jar, version: null]
    network: Connecting http://localhost:8000/reportes/lib/WinLS.jar with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/lib/WinLS.jar with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: ResponseCode for http://localhost:8000/reportes/lib/WinLS.jar : 304
    network: Encoding for http://localhost:8000/reportes/lib/WinLS.jar : null
    network: Disconnect connection to http://localhost:8000/reportes/lib/WinLS.jar
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Validate the certificate chain using CertPath API
    security: Obtain certificate collection in Root CA certificate store
    security: Obtain certificate collection in Root CA certificate store
    security: The CRL support is disabled
    security: The OCSP support is disabled
    security: No timestamping info available
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment permanent certificate store
    network: Cache entry not found [url: http://localhost:8000/reportes/winls/resource/engine.class, version: null]
    network: Connecting http://localhost:8000/reportes/winls/resource/engine.class with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/winls/resource/engine.class with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/winls/resource/engine_en.class, version: null]
    network: Connecting http://localhost:8000/reportes/winls/resource/engine_en.class with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/winls/resource/engine_en.class with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/winls/resource/engine_en.properties, version: null]
    network: Connecting http://localhost:8000/reportes/winls/resource/engine_en.properties with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/winls/resource/engine_en.properties with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/winls/resource/engine_en_US.class, version: null]
    network: Connecting http://localhost:8000/reportes/winls/resource/engine_en_US.class with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/winls/resource/engine_en_US.class with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Connecting socket://localhost:5432 with proxy=DIRECT
    select relname,attname,typname,atttypmod-4 as length from pg_class c , pg_attribute a ,pg_type t where c.oid=a.attrelid and a.atttypid=t.oid and (typname='varchar' or typname='bpchar') and relkind='r' and substring(relname from 1 for 4)!='sql_' and substring(relname from 1 for 3)!='pg_'
    network: Connecting socket://localhost:5432 with proxy=DIRECT
    Oct 22, 2008 11:52:20 AM winls.dbdata.DataEmployee getEmployee():505
    INFO: Connected to:jdbc:postgresql://localhost:5432/wmc
    Oct 22, 2008 11:52:20 AM winls.dbdata.DataEmployee getEmployee():505
    INFO: Connected to:jdbc:postgresql://localhost:5432/wmc
    select * from employees where empusername = 'jw1' and emppassword = 'YW5jeA=='
    network: Cache entry not found [url: http://localhost:8000/reportes/winls/resource/resource.class, version: null]
    network: Connecting http://localhost:8000/reportes/winls/resource/resource.class with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/winls/resource/resource.class with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/winls/resource/resource_en.class, version: null]
    network: Connecting http://localhost:8000/reportes/winls/resource/resource_en.class with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/winls/resource/resource_en.class with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/winls/resource/resource_en.properties, version: null]
    network: Connecting http://localhost:8000/reportes/winls/resource/resource_en.properties with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/winls/resource/resource_en.properties with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/winls/resource/resource_en_US.class, version: null]
    network: Connecting http://localhost:8000/reportes/winls/resource/resource_en_US.class with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/winls/resource/resource_en_US.class with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Connecting socket://localhost:5432 with proxy=DIRECT
    LISTEN companyPostDate
    network: Cache entry not found [url: http://localhost:8000/reportes/org/postgresql/errors.class, version: null]
    java.lang.NullPointerException
         at winls.gui.WinLSFrame.loadCompany(WinLSFrame.java:365)
         at winls.gui.WinLSFrame.<init>(WinLSFrame.java:250)
         at winls.gui.WinLSDesktop$2.run(WinLSDesktop.java:141)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at spin.Invocation.evaluate(Invocation.java:122)
         at spin.off.OffInvocation.spin(OffInvocation.java:78)
         at spin.Invocation.start(Invocation.java:100)
         at spin.Interceptor.intercept(Interceptor.java:52)
         at spin.Spin$AbstractInvocationHandler.invoke(Spin.java:411)
         at $Proxy1.run(Unknown Source)
         at winls.gui.WinLSDesktop.<init>(WinLSDesktop.java:137)
         at jasplet.Main.init(Main.java:38)
         at sun.applet.AppletPanel.run(AppletPanel.java:425)
         at java.lang.Thread.run(Thread.java:619)
    basic: Exception: java.lang.NullPointerException
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors.class with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors.class with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/org/postgresql/errors_en.class, version: null]
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors_en.class with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors_en.class with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/org/postgresql/errors_en.properties, version: null]
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors_en.properties with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors_en.properties with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/org/postgresql/errors_en_US.class, version: null]
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors_en_US.class with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors_en_US.class with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/org/postgresql/errors_en_US.properties, version: null]
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors_en_US.properties with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors_en_US.properties with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Connecting socket://localhost:5432 with proxy=DIRECTThe lines like network: Cache entry not found [url: http://localhost:8000/reportes/winls/resource/engine.class, version: null] are the ones that seems to cause the problem.
    I have tried to clear the cache. I even deleted mi ~/.java/deployment directory. Any idea of what could be the problem?

    Your applet appears to be asking for https:// protocol security.
    Is there a certificate should be in your localhost server and https enabled and supported
    (the applet continually asks for "https protocol" types of information and your using standard http)?
    Other protocols for such use are ssl:// and tls://
    Dependent the server configuration you may or may not require the port number on the end of the domain
    e.g. something like.
    ssl://mydomain.com:443 or https://mydomain.com:8080 or tls://mydomain.com:989
    And be sure there program if its an extra such as ssl:// has its service started.
    Edited by: nicephotog on Oct 28, 2008 4:09 AM

  • Looking for app that can connect iPhone / Ipad to generic bluetooth camera

    looking for app that can connect iPhone / Ipad to generic bluetooth camera

    I doubt that you will find one. I have not heard of BT cameras.

  • Looking for Coldfusion Classes in-person

    I am looking for Coldfusion classes in Springfield, Massachusetts.  Any help?

    Go to guru.com and search for Coldfusion Denver

  • Looking for a Class that provide Computer and Software installation information

    Hi there,
    when you open a computer configuration item in the console you can use the form the view all the installed software.
    I am now looking for a class which I can use to create a view that shows me a list of computers with the installed software. If there is no class how could I build one?
    Thanks,
    Gunter
    Gunter - www.server-log.com

    Hi Gunter,
    The software class is System.SoftwareItem.
    The device class is System.Device.
    The relationship is System.DeviceHasSoftwareItemInstalled.
    The management pack's name is System.Software.Library (System Software Library).
    Cheers,
    Marat
    Site: www.scutils.com  Twitter:
    LinkedIn:
    Graveyard:

  • How to use Add Query Criteria for the MySQL data Base in Netbeans ?

    How to use Add Query Criteria for the MySQL data Base in Netbeans Visual web pack.
    When the Query Criteria is add like
    SELECT ALL counselors.counselors_id, counselors.first_name, counselors.telephone,counselors.email
    FROM counselors WHERE counselors.counselors_id = ?
    when i run this Query in the Query Window
    i get a error message Box saying
    Query Processing Error Parameter metadata not available for the given statement
    if i run the Query with out Query Criteria its working fine.

    *I am glad I am not the only one who have this problem. Part of issue has been described as above, there are something more in my case.
    Whenever I try to call ****_tabRowSet.setObject(1, userDropList.getSeleted()); I got error message as shown below:*
    The Java codes are:
    public void dropDown1_processValueChange(ValueChangeEvent event) {
    Object s = this.dropDown1.getSelected();
    try {
    this.User_tabDataProvider1.setCursorRow(this.User_tabDataProvider1.findFirst("User_Tab.User_ID", s));
    this.getSessionBean1().getTrip_tabRowSet1().setObject(1, s);
    this.Trip_tabDataProvider1.refresh();
    } catch (Exception e) {
    this.log("Error: ", e);
    this.error("Error: Cannot select user"+e.getMessage());
    SQL statement for Trip_tabRowSet:
    SELECT ALL Trip_Tab.Trip_Date,
    Trip_Tab.User_ID,
    Trip_Tab.Destination
    FROM Trip_Tab
    WHERE Trip_Tab.User_ID = ?
    Error messages are shown below:
    phase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@5abf3f) threw exception: com.sun.rave.web.ui.appbase.ApplicationException: java.sql.SQLException: No value specified for parameter 1 java.sql.SQLException: No value specified for parameter 1
    com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.cleanup(ViewHandlerImpl.java:559)
    com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.afterPhase(ViewHandlerImpl.java:435)
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:274)
    com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:240)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
    com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
    com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
    com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
    com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    tandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception
    java.sql.SQLException: No value specified for parameter 1
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:910)
    at com.mysql.jdbc.PreparedStatement.fillSendPacket(PreparedStatement.java:1674)
    at com.mysql.jdbc.PreparedStatement.fillSendPacket(PreparedStatement.java:1622)
    at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1332)
    at com.sun.sql.rowset.internal.CachedRowSetXReader.readData(CachedRowSetXReader.java:193)
    at com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:979)
    at com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:1439)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.checkExecute(CachedRowSetDataProvider.java:1274)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorRow(CachedRowSetDataProvider.java:335)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorIndex(CachedRowSetDataProvider.java:306)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.getRowCount(CachedRowSetDataProvider.java:639)
    at com.sun.webui.jsf.component.TableRowGroup.getRowKeys(TableRowGroup.java:1236)
    at com.sun.webui.jsf.component.TableRowGroup.getFilteredRowKeys(TableRowGroup.java:820)
    at com.sun.webui.jsf.component.TableRowGroup.getRowCount(TableRowGroup.java:1179)
    at com.sun.webui.jsf.component.Table.getRowCount(Table.java:831)
    at com.sun.webui.jsf.renderkit.html.TableRenderer.renderTitle(TableRenderer.java:420)
    at com.sun.webui.jsf.renderkit.html.TableRenderer.encodeBegin(TableRenderer.java:143)
    at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:810)
    at com.sun.webui.jsf.component.Table.encodeBegin(Table.java:1280)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:881)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
    at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:182)
    at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:285)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:133)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:240)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
    at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    Also when I tried to update my MYSQL connector / J driver to version 5.1.5 from 5.0.5 (NB 5.5.1) and 5.0.7 (NB 6.1), I could not get it work (looooong time to search some JDBC classes and with no response in the end) on both of my Netbean 5.5.1(on PC) and Netbean 6.1(on laptop) IDEs.
    Could anybody look into this issue.
    Many thanks
    Edited by: linqing on Nov 22, 2007 4:48 AM

  • Looking for a solution or service to export data from a dynamic form into a database

    As the title of this discussion states, I'm looking for a solution or service to export data from a dynamic form into a database to be used for reporting. Creating the dynamic form is not a problem, it's getting it into a database that's more of a nuisance. A dynamic form is needed in order to provide skip logic, hide/reveal, and other similar dynamic features.
    The database hasn't been created, so just looking for the easiest, more effective and dependable solution. The key is being able to run reports off the data later.

    So i set up 2 residential grade routers to test this out. Seems to be working okayish. I believe with directional antenae routers I should achieve what I need.
    As for security I configured each device separately. I set them so only allow the MAC address of the other through wireless. This seems to be the best system for me. Once they are connected even if a MAC is spoofed of the other router it drops automatically because they are always connected. My wired devices get plugged in and recieve an IP from my main network.
    There more testing to be done, but it seems to be working.
    Thanks for your input and suggestions guys. I will be marking this topic as answered.

  • Looking for a query to find first/last dates in overlapping dates...

    Hi,
    I'm looking for a query to find the first dates and last dates in a table conaining overlapping dates.
    I have a subscription table which has for each Customer start and end date for different subscriptions.
    I want to know the different ranges of date where there is subscriptions active.
    so if the table has this:
    CustID, Start date, end date
    1, 2008-01-01, 2012-06-06
    1 ,2009-01-01, 2011-01-01
    1, 2011-01-01, 2013-02-02
    1, 2013-01-01, 2013-08-08
    1, 2014-01-01, 2014-04-04
    I want to produce this result:
    custid, range start, range end
    1, 2008-01-01, 2013-08-08
    1, 2014-01-01, 2014-04-04
    the first row is the range identified from the 4 rows in my subscription table.
    thanks :)

    I think I found it...
    http://stackoverflow.com/questions/5213484/eliminate-and-reduce-overlapping-date-ranges
    let me try this method
    Hi,
    m writing to follow up with you on this post. Thanks for you posting a reply to share your workground. Was the problem resolved after performing the above link? If you are satisfied with the above solution, I’d like to mark this issue as "Answered".
    Please also feel free to unmark the issue, with any new findings or concerns you may have.
    Thanks,
    Sofiya Li
    If you have any feedback on our support, please click here.
    Sofiya Li
    TechNet Community Support

  • 9i can't connect to a data base, even when I use another user's tnanames.or

    I can't connect to a data base, even using tnsping with a tnanames.ora file that I copied from a user's PC that was able to connect. It's a new install of 9i on my PC. What did I miss? I'm on a Win 2000 box and Oracle is on a UNIX server.
    Here's the description from the tnsnames.ora file:
    HISTA02A =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = bkodv1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = HISTA02)
    The file is from the previous version 8.1.7, should that matter? 9.2.0.1 is the server now.

    Yes, I even pinged it to make sure. When I do a tnsping HISTA02 I get :
    C:\>tnsping HISTA02
    TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 28-FEB-2007 14:25:53
    Copyright (c) 1997 Oracle Corporation. All rights reserved.
    Used parameter files:
    C:\Local\network\ADMIN\sqlnet.ora
    TNS-03505: Failed to resolve name
    My SQLNT.ora looks like this:
    # SQLNET.ORA Network Configuration File: C:\orant\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    NAMES.DEFAULT_DOMAIN = cboent.cboe.com
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)

  • PLEASE REPLY ASAP.Unbale to connect to oracle data base using JSP.

    hi,
    I am not able to connect to oracle data base using JSP. PFB the code and out put.
    <html>
    <!--Importing the Packages-->
    <%@ page import = "java.sql.*" %>
    <body>
    <%
    try
         out.println("hi<br>");
    Connection conn = DriverManager.getConnection("jdbc:oracle:oci:@xxx.xxx.xx.xxx:xxxx:flstr800","user","paswordd");
         out.println("connected<br>");
    catch (SQLException e)
    out.println("ERROR: failed to connect!");
    out.println("ERROR: " + e.getMessage());
    e.printStackTrace();
    return;
    %>
    </body>
    </html>
    OUTPUT:
    hi
    ERROR: failed to connect! ERROR: No suitable driver found for jdbc:oracle:oci:@host:port
    Please guide me on this issue.
    Edited by: user10997061 on Apr 10, 2009 4:27 AM

    I definitely do not know much about JSP but
    http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.html
    indicates
    <quote>
    This URL connects to the same database using the the OCI driver and the SID inst1 without specifying the username or password.
    jdbc:oracle:oci:@myhost:1521:inst1
    <quote>
    I do not see the port information in your connect string. Is that an issue?

  • How an applet can connect to a data base?

    how an applet can connect to a data base?

    You need to set up a policy, it's a bit convoluted, see http://developer.java.sun.com/developer/onlineTraining/Programming/BasicJava1/dba.html#applet for more.

  • Only a connection with the data base

    I have an application MDI - opening of some windows at the same time.
    I use framework ADF Oracle - Swing/ADF JClient.
    For each new JInternalFrame a BindingContext (bootstrap) is servant, with this a new connection in the data base is created. Already I tried to use the same, but generally an action in a screen intervenes with the other.
    How I can make this (application MDI - ADF) only having a connection in the database?
    Thank you!!!

    If I have only one connection with
    the Data Base, two threads can't to request the data
    in the same time?.If two threads use the same database connection at the same time, bad things will happen. That is why each thread must use its own database connection. The easiest way to make that happen is to have a pool of connections.
    This site will do translations for you:
    http://world.altavista.com/
    It is not very good but it knows Spanish better than I do.

  • Standard Documentation for Add-on and Add-on's Data Base?

    Hi!
    I'd like to know if there is a stantard to create documentation for Add-On and Add-On's Data Base to get the Add-On's Certification.
    Thanks!
    William

    > When applying add-on images to our base the primary MSI's install just
    > fine but none of the MST's and MSP's do not apply.
    I meant to say that none of the MST's and MSP's apply. Sorry about that.

  • Looking for a script to connect bodytext to footnote and cross-references

    Hi,
    Need to do the following:
    I was provided with separate (tagged-text) files: bodytext, (foot)notes and cross-references. Now I am looking for a solution (script?) that can do the following:
    to restore the connection between the body-text, the footnotes and te cross-references after placing these in a document in Indesign.
    The cross-references should appear (in anchored text-frames) in the margin and the notes in a separate frame at the bottom of the page. If possible in the same way as footnotes in Indesign appear, but in a separate frame to be able to do some more formatting than native footnotes would accept.
    I have tested the plugin: Side Heads from InTools, and tis works well with Indesign files tthat contain footnotes. But this doesn't work with separately placed footnotes from a tagged-text-file, as they re not knotted together.
    I can't do any scripting myself.
    I would appreciate any help, and I am looking forward to your response...
    Regards,
    kkingg

    The first thing to do is:
    regexp "match regexp = ([0-9]+)" $_cli_result match count
    if $count eq 0
    exit 0
    end
    The second is a bit more challenging.  I think this will work:
    cli command "show call active voice br"
    foreach line $_cli_result "\n"
    regexp "^([0-9a-zA-Z]+) : " $line match callid
    if $_regexp_result eq 1
      continue
    end
    regexp "^dur 1d" $line
    if $_regexp_result eq 1
      cli command "show call active voice br | section $callid"
      syslog msg "$_cli_result"
    end
    end

  • Looking for IPortalUrlGenerator class

    Hi All,
    Please could you help me is urgent..
    I am looking for the .jar where i could find the IPortalUrlGenerator Class calling the
    <%@ page import="com.sapportals.portal.prt.service.urlgenerator.specialized.IPortalUrlGenerator"%>
    <%@ page import="com.sapportals.portal.prt.service.urlgenerator.specialized.ISpecializedUrlGenerator"%>
    I read that i have to import these com.sap.portal.appintegrator.sap.bwcapi.jar
    but i cannot find it.
    Please could you mail me these jar?
    My mail [email protected]
    I appreaciate your help!
    Regards,
    Ari

    Hi,
    Dear friend.
    You should easily be able to obtain the current jar file as per your requirement from the Portal itself as per path below.
    Remember never to borrow jars like this from everyone, as their Portal stack may not match yours and it can screw up your application even if it works now.
    Do the following Go to System administration->System Configuration-> Support Desk->Portal Runtime in your Portal
    Navigate in the path below here:
    ROOT/WEB-INF/portal/portalapps/com.sap.portal.appintegrator.sap.bwc/lib
    Here buddy, you will find your jar. Download and play..
    Best Regards,
    Harish

Maybe you are looking for

  • Can not open InDesign file after crash

    I was recently updating a file for a client using CS3 InDesign for the Mac. The file was created in InDesign CS2 and when I went to save the file my InDesign crashed. When I went to reopen the file, I was given this message "Cannot open the file "xxx

  • .rm to .mp3 converter for mac

    Hi there, I'm trying to find something to convert realplayer files to mp3 with. Preferably something that is free to use. Anyone know any good software for macs? Any help appreciated! Thanks.

  • Invalid Query Key when using ReadAllQuery.addOrdering()

    Hi, I have an object called Request mapped to the Request table and a field within it called creator which is mapped to the User object with a 1-1 mapping. the User object is mapped to the user table. Now when I do addOrdering() with an expression as

  • My experience....new router

    I had an old Netgear router. My wifi performance was terrible. Today I gotan Airport Extereme. My Wifi experience is fantastic! I was ready to throw the iPad across the room and now I love it again.

  • Can't update to version 1.3

    I have an Ipod color 30gig. In itunes when I try to update to new ipod software version 1.3 I get a message saying unable to connect to ipod update server. My internet connectivity is ok, I can acess itunes store but unable to update to new ipod soft