Hibernate is generating an Oracle database table for the project, __python

Source: Internet
Author: User
Tags tomcat server
The original project is Ssh+sql Server2005, now move the system to the oracle11g, is going to generate database tables, the results start Tomcat Server, the console error, some tables can not be created, the wrong message is as follows: 16:23:24,896 error Schemaexport:274-unsuccessful:create table ZW.dbo.attachment (ID number (10,0) not NULL, aud_id number (10,0), Descriptio n varchar2 (1000), Uploadperson varchar2 (255), Uploadtime varchar2 (255), addr varchar2 (1000), primary key (ID) 16:23:24,896 ERROR schemaexport:275-ora-00922: option is missing or invalid man, Oracle mode is wrong. Your table name ZW.dbo.attachment is considered to be under the ZW user. Two points are not available. For example, your connection username is test1, then the schema name is test1, you have two points here, SQL Server support, but Oracle does not support. Oralce only supports a single point, and represents the pattern in front of this point, that is, the database user to which the table belongs. Modify your statement. It's OK to remove the schema= "sa" catalog= "myjob" from the XML file in the bean.
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.