linlinyu
linlinyu
posts - 0, comments - 4, trackbacks - 0, articles - 15
導航
BlogJava
首頁
新隨筆
聯系
聚合
管理
<
2025年6月
>
日
一
二
三
四
五
六
25
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4
5
留言簿
給我留言
查看公開留言
查看私人留言
隨筆檔案
2008年5月 (1)
文章分類
ejb(2)
flex(1)
hibernate(1)
html(1)
java(4)
javascript(1)
oracle(2)
roller
servlet(4)
spring
文章檔案
2008年10月 (1)
2008年6月 (1)
2008年5月 (2)
2008年1月 (1)
2007年12月 (4)
2007年11月 (6)
搜索
最新評論
1.?re: Flex 訪問 Ejb如此簡單
評論內容較長,點擊標題查看
--akan
2.?re: struts2 輸出xml格式內容
多謝了,挺有用的。
--lw
3.?re: firebug的使用
up,正需要這個。
try a try先,不知道有沒有javascript自動排版的功能。
--久城
4.?re: firebug的使用
不錯不錯
--解凍的魚
persistence.xml
Posted on 2008-06-01 16:14
linlin yu
閱讀(1011)
評論(0)
編輯
收藏
所屬分類:
ejb
、
hibernate
<?
xml version="1.0" encoding="UTF-8"
?>
<
persistence
xmlns
="http://java.sun.com/xml/ns/persistence"
xmlns:xsi
="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation
="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
version
="1.0"
>
<
persistence-unit
name
="EJBServerPU"
transaction-type
="JTA"
>
<
jta-data-source
>
java:/MySqlDS
</
jta-data-source
>
<
properties
>
<
property
name
="hibernate.hbm2ddl.auto"
value
="none"
/>
<
property
name
="hibernate.dialect"
value
="org.hibernate.dialect.MySQLDialect"
/>
<
property
name
="hibernate.show_sql"
value
="true"
/>
<!--
use a file system based index
-->
<
property
name
="hibernate.search.default.directory_provider"
value
="org.hibernate.search.store.FSDirectoryProvider"
/>
<!--
directory where the indexes will be stored
-->
<
property
name
="hibernate.search.default.indexBase"
value
="C:\\bb\\indexs"
/>
<
property
name
="hibernate.ejb.event.post-insert"
value
="org.hibernate.search.event.FullTextIndexEventListener"
/>
<
property
name
="hibernate.ejb.event.post-update"
value
="org.hibernate.search.event.FullTextIndexEventListener"
/>
<
property
name
="hibernate.ejb.event.post-delete"
value
="org.hibernate.search.event.FullTextIndexEventListener"
/>
</
properties
>
</
persistence-unit
>
</
persistence
>
新用戶注冊
刷新評論列表
只有注冊用戶
登錄
后才能發表評論。
網站導航:
博客園
IT新聞
Chat2DB
C++博客
博問
管理
相關文章:
Flex 訪問 Ejb如此簡單
persistence.xml
Powered by:
BlogJava
Copyright © linlin yu
主站蜘蛛池模板:
寻乌县
|
襄城县
|
新泰市
|
铅山县
|
茶陵县
|
乌鲁木齐县
|
青州市
|
大城县
|
稻城县
|
包头市
|
平湖市
|
城固县
|
富锦市
|
南陵县
|
禹州市
|
绵竹市
|
龙川县
|
玛纳斯县
|
石首市
|
阳西县
|
余江县
|
蓬莱市
|
莆田市
|
陵水
|
阿坝
|
德令哈市
|
夏河县
|
苗栗县
|
安仁县
|
伊春市
|
青海省
|
广饶县
|
航空
|
济阳县
|
大竹县
|
沙田区
|
灌云县
|
孝感市
|
绥江县
|
青龙
|
通化市
|