| <?xml version="1.0" encoding="UTF-8"?> |
| <entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd"> |
| |
| <package>org.apache.roller.weblogger.pojos</package> |
| <entity metadata-complete="true" name="CustomTemplateRendition" |
| class="org.apache.roller.weblogger.pojos.CustomTemplateRendition" access="PROPERTY"> |
| <table name="custom_template_rendition"/> |
| <attributes> |
| <id name="id"> |
| <column name="id"/> |
| </id> |
| <basic name="template"> |
| <column name="template" insertable="true" updatable="true" nullable="false"/> |
| </basic> |
| <basic name="type"> |
| <column name="type" insertable="true" updatable="true" nullable="false"/> |
| <enumerated>STRING</enumerated> |
| </basic> |
| <basic name="templateLanguage"> |
| <column name="templatelang" insertable="true" updatable="true" unique="false"/> |
| <enumerated>STRING</enumerated> |
| </basic> |
| <many-to-one name="weblogTemplate" target-entity="org.apache.roller.weblogger.pojos.WeblogTemplate"> |
| <join-column name="templateid" insertable="true" updatable="true" nullable="false"/> |
| </many-to-one> |
| </attributes> |
| </entity> |
| </entity-mappings> |