使用Eclipse+hibernateTool配置后,建立Configuration报如下错误
An internal error occurred during: "Fetching children of hibernateAuto".
org.eclipse.jdt.internal.compiler.impl.CompilerOptions.versionToJdkLevel(Ljava/lang/Object;)J
An internal error occurred during: "Fetching children of hibernateAuto".
org.eclipse.jdt.internal.compiler.impl.CompilerOptions.versionToJdkLevel(Ljava/lang/Object;)J
2017-07-08
create teble grade
(
gid int primary key
gname varchar(20) not null
gdesc varchar(50)
)
create table student
(
sid int primary key,
sname varchar(20) not null,
sex char(2),
gid int
)
alter table student add constraint fk_student_gid foreign key (gid)
references grade(gid)
(
gid int primary key
gname varchar(20) not null
gdesc varchar(50)
)
create table student
(
sid int primary key,
sname varchar(20) not null,
sex char(2),
gid int
)
alter table student add constraint fk_student_gid foreign key (gid)
references grade(gid)
2017-07-02
在大学的时候用idea,出来实习了,发现很多公司都是用的myeclipse或者eclipse。。。。。
2017-06-19