摘要: ====1 persistence.xml配置文件==============================<?xml version="1.0" encoding="UTF-8"?><persistence version="1.0"xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation=&qu 阅读全文
posted @ 2012-11-24 22:54 王超_cc 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 1 在项目source folder下,创建persistent.xml文件.Project Name --| src --|persistence.xml2 编写persistent.xml文件,内容符合如下格式.<?xml version="1.0" encoding="UTF-8"?><persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.o 阅读全文
posted @ 2012-11-24 15:12 王超_cc 阅读(479) 评论(0) 推荐(0) 编辑
摘要: 1 项目-->右键-->Java Build Path --> Add Library2 选择weblogic system libraries3 选择最后一项 javax.persistence 4 点击finish完成weblogic需要加载的所有jar包 阅读全文
posted @ 2012-11-24 14:35 王超_cc 阅读(315) 评论(0) 推荐(0) 编辑