mainrepository.vm
来自「一个数据访问层Torque3.1的生成器的源代码」· VM 代码 · 共 58 行
VM
58 行
<?xml version="1.0" encoding="UTF-8"?><!-- Repository for the Apache ObJectRelationalBridge (OJB) System. Generated by Torque on: [$now]--><!-- defining entities for include-files --><!DOCTYPE descriptor-repository PUBLIC "-//Apache Software Foundation//DTD OJB Repository//EN" "repository.dtd"[<!ENTITY internal SYSTEM "repository_internal.xml">#foreach ($dataModel in $dataModels)<!ENTITY $dataModel.shortName SYSTEM "repository_${dataModel.shortName}.xml">#end]><descriptor-repository version="1.0" isolation-level="read-uncommitted"><!-- The Default JDBC Connection. If a Class does not specify its own JDBC Connection, the Connection specified here will be used. --> <jdbc-connection-descriptor id="default" jcd-alias="default" default-connection="true" platform="$ojbPlatform" jdbc-level="${jdbcLevel}" #if ($ojbUseJNDI) jndi-datasource-name="$ojbJNDISource" #else driver="$databaseDriver" protocol="$urlProtocol" subprotocol="$urlSubprotocol" dbalias="$urlDbalias" #end username="$databaseUser" password="$!databasePassword" > <sequence-manager className="org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl"> <attribute attribute-name="grabSize" attribute-value="5"/> <attribute attribute-name="globalSequenceId" attribute-value="true"/> <attribute attribute-name="globalSequenceStart" attribute-value="10000"/> </sequence-manager> </jdbc-connection-descriptor> <!-- include internal mappings here --> &internal; <!-- include mappings here -->#foreach ($dataModel in $dataModels) &${dataModel.shortName};#end</descriptor-repository>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?