Jackcess1.2.13 released, Java Access to the Access Database

Source: Internet
Author: User
Jackcess1.2.13 contains a new method used to find the relationship between complex value types in the decoding of database and attachment content, fixing some minor bugs related to CodeHandler. Jackcess is a Java class library used to read and write Microsoft's Access database. Display the source code of the table content: viewsourceprint? 1System. out. println (Data

Jackcess 1.2.13 contains a new method used to find the relationship between complex value types in the decoding of database and attachment content, fixing some minor bugs related to CodeHandler. Jackcess is a Java class library used to read and write Microsoft's Access database. Show source code of table content: view sourceprint? 1 System. out. println (Data

Jackcess 1.2.13 contains new methods used inDatabaseThe relationship with the complex value types in the attachment content decoding, fixed some minor bugs related to CodeHandler.

Jackcess is a Java class library used to read and write Microsoft's AccessDatabase.

Show the source code of the table content:

View sourceprint?

1 System.out.println(Database.open(new File("my.mdb")).getTable("MyTable").display());


Create a table and write data:

01 Database db = Database.create(new File("new.mdb"));

02 Table newTable = new TableBuilder("NewTable")

03 .addColumn(new ColumnBuilder("a")

04 .setSQLType(Types.INTEGER)

05 .toColumn())

06 .addColumn(new ColumnBuilder("b")

07 .setSQLType(Types.VARCHAR)

08 .toColumn())

09 .toTable(db);

10 newTable.addRow(1, "foo");

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.