Default Values Access from Java

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hefesto
    New Member
    • Nov 2008
    • 4

    Default Values Access from Java

    Hello

    I´m Spanish , my English isn´t very well

    My question is :

    How can I find out the default Access from Java?

    Thanks for your responses
  • missinglinq
    Recognized Expert Specialist
    • Nov 2006
    • 3533

    #2
    Originally posted by hefesto
    How can I find out the default Access from Java?
    Your English appears serviceable, hefesto, but you've still not given us a very clear question here! What do you mean by the "default Access?" Are you talking about the version of Access or something else?

    Since your question appears to involve retrieving the "default Access" ***from*** Java, the question rightfully belongs in the Java forum, so I'll move it there now.

    Welcome to Bytes!

    Linq ;0)>

    Moderator

    Comment

    • JosAH
      Recognized Expert MVP
      • Mar 2007
      • 11453

      #3
      Originally posted by hefesto
      Hello

      I´m Spanish , my English isn´t very well

      My question is :

      How can I find out the default Access from Java?

      Thanks for your responses
      There are the following access rights:

      - private: anything in the same class can access a private member;
      - protected: same as above but anything in a sub class can also access
      the member;
      - default: anything in the same package can access the member;
      - public: anything, everywhere can access the member.

      Note that the default access rights are defined by *not* specifying an access
      modifier.

      kind regards,

      Jos

      Comment

      • hefesto
        New Member
        • Nov 2008
        • 4

        #4
        Originally posted by missinglinq
        Your English appears serviceable, hefesto, but you've still not given us a very clear question here! What do you mean by the "default Access?" Are you talking about the version of Access or something else?

        Since your question appears to involve retrieving the "default Access" ***from*** Java, the question rightfully belongs in the Java forum, so I'll move it there now.

        Welcome to Bytes!

        Linq ;0)>

        Moderator
        Excuse me , my question is about Default Values in Acces , I want to obtain the Default Vaules of any table of MS Access in Java

        Thanks for you response

        Comment

        • r035198x
          MVP
          • Sep 2006
          • 13225

          #5
          I'm not sure if the default values can be found but if they are available then you should dig through the DatabaseMetaDat a interface.

          Comment

          • hefesto
            New Member
            • Nov 2008
            • 4

            #6
            Originally posted by r035198x
            I'm not sure if the default values can be found but if they are available then you should dig through the DatabaseMetaDat a interface.
            Thanks for you answer , but I use DatabaseMetaDat a interface , and this interface don´t give me the default values

            Comment

            • r035198x
              MVP
              • Sep 2006
              • 13225

              #7
              I wouldn't be too surprised at that given the following lines in the specs

              Originally posted by API Specs
              This interface is implemented by driver vendors to let users know the capabilities of a Database Management System (DBMS) in combination with the driver based on JDBCTM technology ("JDBC driver") that is used with it. Different relational DBMSs often support different features, implement features in different ways, and use different data types. In addition, a driver may implement a feature on top of what the DBMS offers. Information returned by methods in this interface applies to the capabilities of a particular driver and a particular DBMS working together.
              Out of interest, what code did you use that didn't give you the values?

              Comment

              • hefesto
                New Member
                • Nov 2008
                • 4

                #8
                Originally posted by r035198x
                I wouldn't be too surprised at that given the following lines in the specs


                Out of interest, what code did you use that didn't give you the values?
                Unfortunately , the most provideers don´t implemented all functions . For example , the function getColumns of DatabaseMetaDat a in Access doesn´t fill the default value

                Thanks for you answer

                Comment

                Working...