個別包装されキロと修復の問題

個別包装されキロと修復の問題

  1. 新しいデータソース、関連するテーブルを生成するかどうか
    T_USERを、

    T_DEPARTMENT、
    T_USER_ROLE_DEPARTMENT_SET

    T_DOMAIN、

    t_field_extends、

    t_calendar、

    t_specialday、

    t_standardday

  2. 戦争のパッケージテストとしてラベル

関連するテーブルを生成することができるかどうか1.新規のデータ・ソース、

t_user

...

t_user_department_role_set

Attributeクラス名 データベース
ID ID
ユーザーID ユーザーID
RoleId RoleId
DepartmentID DepartmentID

...

私は、JPAクラスからテーブルを生成したいが、そのため休止状態を生成し、テーブルを変更、休止状態を参照する参照を発見しました

hibernate.cfg.xmlの

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
		"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
		"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
	<session-factory>
		<property name="hibernate.connection.SetBigStringTryClob">true</property>
		<property name="hibernate.hbm2ddl.auto">update</property>

		<mapping resource="cn/myapps/common/model/department/DepartmentVO.hbm.xml" />
		<mapping resource="cn/myapps/common/model/user/UserVO.hbm.xml" />
		<mapping resource="cn/myapps/common/model/user/UserDepartmentRoleSet.hbm.xml" />
		<mapping resource="cn/myapps/common/model/domain/DomainVO.hbm.xml" />

		<mapping resource="cn/myapps/common/model/fieldextends/FieldExtendsVO.hbm.xml" />
		<mapping resource="cn/myapps/common/model/workcalendar/calendar/CalendarVO.hbm.xml" />
		<mapping resource="cn/myapps/common/model/workcalendar/special/SpecialDayVO.hbm.xml" />
		<mapping resource="cn/myapps/common/model/workcalendar/standard/StandardDayVO.hbm.xml" />

		</session-factory>
</hibernate-configuration>

テーブル生成が正常であってもよいです

ここに画像を挿入説明

フィルターの切片がauthtime接続をKMSので、これを追加することが可能

ここに画像を挿入説明

新規ユーザーは、新しい標準カレンダー24時間夜勤カレンダーカレンダーを読んでいません

コード生成が必要です

接続がキャッシュを引き起こし、PersistenceFilterキロ登録フィルタを追加

公開された20元の記事 ウォンの賞賛0 ビュー63

おすすめ

転載: blog.csdn.net/qq_42745404/article/details/105019676
おすすめ