我刚开始研究java, 之前是做.net开发的
因为系统是win7所以呢oracle 11支持,不得不安装它,hibernate 也是3.6以上的新新版本
但我的hibernate无法操作成功
看SQL都已经生成了starting...
drop table UserInfo cascade constraints
drop sequence student_sequence
create table UserInfo (student_id number(10,0) not null, username varchar2(255), pwd varchar2(255), primary key (student_id))
create sequence student_sequence
fihish...这是我写的方法:
,执行test.java创建表:public static void main(String[] args) {
// TODO Auto-generated method stub
SchemaExport export=new SchemaExport(new Configuration().configure());
export.create(true, true);
我用mysql联接是成功生成表了。但是oracle11没有成功。不晓得啥原因
请大侠们指点一下吧
因为系统是win7所以呢oracle 11支持,不得不安装它,hibernate 也是3.6以上的新新版本
但我的hibernate无法操作成功
看SQL都已经生成了starting...
drop table UserInfo cascade constraints
drop sequence student_sequence
create table UserInfo (student_id number(10,0) not null, username varchar2(255), pwd varchar2(255), primary key (student_id))
create sequence student_sequence
fihish...这是我写的方法:
,执行test.java创建表:public static void main(String[] args) {
// TODO Auto-generated method stub
SchemaExport export=new SchemaExport(new Configuration().configure());
export.create(true, true);
我用mysql联接是成功生成表了。但是oracle11没有成功。不晓得啥原因
请大侠们指点一下吧
解决方案 »
- jboss7在哪里配置maxPostSize参数?
- 定期向数据库查询数据
- 为程序员的您是否有下面这些性格与习惯??
- weblogic8.1在myeclipse上启动出现下面异常
- 随机密码生成问题
- .net如何实现页面间的参数传递?
- 看看你行不行
- Tomcat中dbcp关闭超时连接时不打印日志
- linux+weblogic8环境下用jspsmartupload组件上传文件的中文乱码问题如何解决
- 为什么编译本地接口的时候出错?
- action向service或dao传参数,传哪种类型比较好???????????????????????
- 在strust2 整合 spring 中,spring默认实例化action是的 id 是什么?
谢谢大家