SHOPXX to Oracle

Source: Internet
Author: User

Shopxx adopts spring + jpa hibernate without hbm files, and adopts hbm2dllauto default update

Update means that when hibernate is loaded for the first time, the table structure will be automatically created based on the model class (the premise is that the database is established first), and the table structure will be automatically updated based on the model class when hibernate is loaded later, even if the table structure is changed, the row in the table still does not delete the previous row.

Therefore, the example SQL provided does not need to be used. You need to modify the number field to num. Do not use the Oracle keyword.

The admin record resource table name is reserved.

The required data table is admin role admin_role resource role_resource.

Other footer items are optional. You can add it later.

Test data. You also need to make simple modifications.

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