Create a table for the cache Database

Source: Internet
Author: User

Create a table for the cache Database

1. Create a table by creating a class

2. Modify your own package and Class Name

3. Select a persistent class

4. Table Name

5. Create a table attribute. One attribute is a column of the table. The following is the attribute name.

6. attribute type

7. Table column name

8. Follow the steps above to create more columns
9. Select SQL> Execute SQL Query on the System Management Portal.
10. Select Your namespace on the left
11. Enter an SQL statement

12. You can see the table you created.

13. For more information about rowid and storage structure, see the storage structure of the cache database.

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

Related Article

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: 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.