Derby database and client sqleonardo

Source: Internet
Author: User

Recently, when the project came into contact with Java's open-source database Derby, I would like to summarize it:

It is an object-oriented relational database that is suitable for storing small amounts of data,

Embedded databases can be used.

Class. forname ("org. apache. derby. JDBC. embeddeddriver "); // load the driver connection conn = drivermanager. getconnection ("JDBC: Derby: mydb; Create = false"); // connect to the database statement ST = Conn. createstatement (); // st.exe cute ("create table City (ID int not null, cityname varchar (10) Not null )"); // create the st.exe cuteupdate ("insert into city (ID, cityname) values (3, 'beijing ')"); // insert data st.exe cuteupdate ("insert into city (ID, cityname) values (4, 'shanghai ')"); // insert data resultset rs = st.exe cutequery ("select * from city"); // read the newly inserted data

Of course, Derby is an object-oriented relational database. It is not like sqlserver. Oracle's installation tools also have open-source database clients to view the structure of data tables. sqleonardo is a good open-source database client.

You can view various databases.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.