Skip to content

Commit

Permalink
generated with Celerio v3.0.104 - http://www.springfuse.com/
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Romanetti committed Aug 29, 2013
1 parent 13d5eaf commit 4aa5654
Show file tree
Hide file tree
Showing 20 changed files with 2,199 additions and 2,209 deletions.
2 changes: 1 addition & 1 deletion jpa2-backend/pom.xml
Expand Up @@ -46,7 +46,7 @@
<!-- Version dependencies when used in multiple dependencies -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<maven-celerio-plugin.outputDir>${project.basedir}</maven-celerio-plugin.outputDir>
<maven-celerio-plugin.version>3.0.103</maven-celerio-plugin.version>
<maven-celerio-plugin.version>3.0.104</maven-celerio-plugin.version>
<hibernate.version>4.2.3.Final</hibernate.version>
<spring.version>3.2.3.RELEASE</spring.version>
<spring-security.version>3.1.4.RELEASE</spring-security.version>
Expand Down
2,144 changes: 1,072 additions & 1,072 deletions jpa2-backend/src/main/config/maven-celerio-plugin/celerio.xsd

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions jpa2-backend/src/main/config/maven-celerio-plugin/metadata.xml
Expand Up @@ -9,7 +9,7 @@
<tables>
<table name="ACCOUNT" type="TABLE" remarks="The Account represent a basic bank account">
<columns>
<column name="ID" columnDef="(NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_7038C586_FE85_4217_8F04_5DFEB9C2B6F0)" decimalDigits="0" autoIncrement="true" nullable="false" ordinalPosition="1" size="10" type="INTEGER"/>
<column name="ID" columnDef="(NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_4E2AD083_C5A2_48B6_B37E_E25DC05303BE)" decimalDigits="0" autoIncrement="true" nullable="false" ordinalPosition="1" size="10" type="INTEGER"/>
<column name="ACCOUNT_NUMBER" decimalDigits="0" autoIncrement="false" nullable="false" ordinalPosition="2" size="100" type="VARCHAR"/>
<column name="NAME" decimalDigits="0" autoIncrement="false" nullable="false" ordinalPosition="3" size="100" type="VARCHAR"/>
<column name="CURRENCY_ID" decimalDigits="0" autoIncrement="false" nullable="false" ordinalPosition="4" size="10" type="INTEGER"/>
Expand All @@ -30,7 +30,7 @@
</table>
<table name="ADDRESS" type="TABLE">
<columns>
<column name="ID" columnDef="(NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_4785579C_58BB_44E7_8AE3_7F9850D8F86E)" decimalDigits="0" autoIncrement="true" nullable="false" ordinalPosition="1" size="10" type="INTEGER"/>
<column name="ID" columnDef="(NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_20514A89_4F49_4B77_AD05_9C559BFE04B4)" decimalDigits="0" autoIncrement="true" nullable="false" ordinalPosition="1" size="10" type="INTEGER"/>
<column name="STREET" decimalDigits="0" autoIncrement="false" nullable="true" ordinalPosition="2" size="100" type="VARCHAR"/>
<column name="ZIP_CODE" decimalDigits="0" autoIncrement="false" nullable="true" ordinalPosition="3" size="10" type="VARCHAR"/>
<column name="CITY" decimalDigits="0" autoIncrement="false" nullable="false" ordinalPosition="4" size="100" type="VARCHAR"/>
Expand All @@ -47,7 +47,7 @@
</table>
<table name="CURRENCY" type="TABLE">
<columns>
<column name="ID" columnDef="(NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_88E423FB_CE17_4B5C_B7F7_EA318E4B723A)" decimalDigits="0" autoIncrement="true" nullable="false" ordinalPosition="1" size="10" type="INTEGER"/>
<column name="ID" columnDef="(NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_DBD2D338_1632_4637_A110_E91852733677)" decimalDigits="0" autoIncrement="true" nullable="false" ordinalPosition="1" size="10" type="INTEGER"/>
<column name="CODE" decimalDigits="0" autoIncrement="false" nullable="false" ordinalPosition="2" size="3" type="CHAR"/>
<column name="NAME" decimalDigits="0" autoIncrement="false" nullable="false" ordinalPosition="3" size="100" type="VARCHAR"/>
<column name="DECIMAL_COUNT" decimalDigits="0" autoIncrement="false" nullable="true" ordinalPosition="4" size="10" type="INTEGER"/>
Expand All @@ -63,7 +63,7 @@
</table>
<table name="CUSTOMER" type="TABLE">
<columns>
<column name="ID" columnDef="(NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_A4B7B56D_1217_4D5A_B060_2D9692514562)" decimalDigits="0" autoIncrement="true" nullable="false" ordinalPosition="1" size="10" type="INTEGER"/>
<column name="ID" columnDef="(NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_DB24C97C_D2EF_4C81_85AA_5B615AEA4704)" decimalDigits="0" autoIncrement="true" nullable="false" ordinalPosition="1" size="10" type="INTEGER"/>
<column name="COMPANY_NAME" decimalDigits="0" autoIncrement="false" nullable="false" ordinalPosition="2" size="100" type="VARCHAR"/>
<column name="ADDRESS_ID" decimalDigits="0" autoIncrement="false" nullable="true" ordinalPosition="3" size="10" type="INTEGER"/>
<column name="CONTRACT_BINARY" decimalDigits="0" autoIncrement="false" nullable="true" ordinalPosition="4" size="2147483647" type="VARBINARY"/>
Expand All @@ -84,7 +84,7 @@
</table>
<table name="ROLE" type="TABLE">
<columns>
<column name="ID" columnDef="(NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_F6FBEA2F_C77D_4C3F_A303_B11683F34C78)" decimalDigits="0" autoIncrement="true" nullable="false" ordinalPosition="1" size="10" type="INTEGER"/>
<column name="ID" columnDef="(NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_44F46C4B_2063_45D8_A8C1_25A4432B7327)" decimalDigits="0" autoIncrement="true" nullable="false" ordinalPosition="1" size="10" type="INTEGER"/>
<column name="ROLE_NAME" decimalDigits="0" autoIncrement="false" nullable="false" ordinalPosition="2" size="100" type="VARCHAR"/>
</columns>
<indexes>
Expand All @@ -98,7 +98,7 @@
</table>
<table name="SAVED_SEARCH" type="TABLE">
<columns>
<column name="ID" columnDef="(NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_6001C984_5A75_46CE_B8D6_BB0931720953)" decimalDigits="0" autoIncrement="true" nullable="false" ordinalPosition="1" size="10" type="INTEGER"/>
<column name="ID" columnDef="(NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_388836B5_769E_4BF5_9ECA_EACE106521BC)" decimalDigits="0" autoIncrement="true" nullable="false" ordinalPosition="1" size="10" type="INTEGER"/>
<column name="NAME" decimalDigits="0" autoIncrement="false" nullable="false" ordinalPosition="2" size="128" type="VARCHAR"/>
<column name="FORM_CLASSNAME" decimalDigits="0" autoIncrement="false" nullable="false" ordinalPosition="3" size="256" type="VARCHAR"/>
<column name="FORM_CONTENT" decimalDigits="0" autoIncrement="false" nullable="true" ordinalPosition="4" size="2147483647" type="VARBINARY"/>
Expand All @@ -116,7 +116,7 @@
</table>
<table name="TRANSACTION" type="TABLE">
<columns>
<column name="ID" columnDef="(NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_083B32F6_C864_407B_809A_C369447FDF39)" decimalDigits="0" autoIncrement="true" nullable="false" ordinalPosition="1" size="10" type="INTEGER"/>
<column name="ID" columnDef="(NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_989713C6_41A3_43BE_B8C5_42B116BB00B3)" decimalDigits="0" autoIncrement="true" nullable="false" ordinalPosition="1" size="10" type="INTEGER"/>
<column name="ACCOUNT_ID" decimalDigits="0" autoIncrement="false" nullable="false" ordinalPosition="2" size="10" type="INTEGER"/>
<column name="AMOUNT" decimalDigits="2" autoIncrement="false" nullable="false" ordinalPosition="3" size="20" type="DECIMAL"/>
<column name="TRANSACTION_DATE" decimalDigits="0" autoIncrement="false" nullable="false" ordinalPosition="4" size="8" type="DATE"/>
Expand All @@ -138,7 +138,7 @@
</table>
<table name="USER" type="TABLE" remarks="The User is a human that can connect to this web application">
<columns>
<column name="ID" columnDef="(NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_BBC68570_F524_4D5B_AF70_4B4D71A94A45)" decimalDigits="0" autoIncrement="true" nullable="false" ordinalPosition="1" size="10" type="INTEGER"/>
<column name="ID" columnDef="(NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_DFF43DCC_7BF4_4A27_984C_7C6221721136)" decimalDigits="0" autoIncrement="true" nullable="false" ordinalPosition="1" size="10" type="INTEGER"/>
<column name="LOGIN" decimalDigits="0" autoIncrement="false" nullable="false" ordinalPosition="2" remarks="The login used to login" size="100" type="VARCHAR"/>
<column name="PASSWORD" decimalDigits="0" autoIncrement="false" nullable="false" ordinalPosition="3" size="100" type="VARCHAR"/>
<column name="EMAIL" decimalDigits="0" autoIncrement="false" nullable="true" ordinalPosition="4" size="100" type="VARCHAR"/>
Expand Down
20 changes: 10 additions & 10 deletions jpa2-backend/src/main/config/maven-celerio-plugin/nonamespace.xsd
@@ -1,9 +1,9 @@
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="profiles">
<xs:sequence>
<xs:element type="profile" name="profile" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute type="xs:string" name="version"/>
<xs:element type="profiles" name="profiles"/>
<xs:complexType name="setting">
<xs:sequence/>
<xs:attribute type="xs:string" use="required" name="id"/>
<xs:attribute type="xs:string" use="required" name="value"/>
</xs:complexType>
<xs:complexType name="profile">
<xs:sequence>
Expand All @@ -13,10 +13,10 @@
<xs:attribute type="xs:string" name="name"/>
<xs:attribute type="xs:string" name="version"/>
</xs:complexType>
<xs:element type="profiles" name="profiles"/>
<xs:complexType name="setting">
<xs:sequence/>
<xs:attribute type="xs:string" use="required" name="id"/>
<xs:attribute type="xs:string" use="required" name="value"/>
<xs:complexType name="profiles">
<xs:sequence>
<xs:element type="profile" name="profile" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute type="xs:string" name="version"/>
</xs:complexType>
</xs:schema>
Expand Up @@ -11,7 +11,6 @@
import static com.google.common.base.Preconditions.checkNotNull;
import static com.google.common.collect.Lists.newArrayList;
import static com.jaxio.repository.support.JpaUtil.applyPagination;
import static com.jaxio.repository.support.MetamodelUtil.toAttribute;

import java.io.Serializable;
import java.lang.reflect.Method;
Expand Down Expand Up @@ -502,14 +501,14 @@ public void delete(E entity) {
List<SingularAttribute<?, ?>> ret = newArrayList();
for (Method m : type.getMethods()) {
if (m.getAnnotation(Field.class) != null) {
ret.add(toAttribute(BeanUtils.findPropertyForMethod(m).getName(), type));
ret.add(MetamodelUtil.toAttribute(BeanUtils.findPropertyForMethod(m).getName(), type));
}
}
return ret;
}

public boolean isIndexed(String property) {
return indexedAttributes.contains(toAttribute(property, type));
return indexedAttributes.contains(MetamodelUtil.toAttribute(property, type));
}

// -----------------
Expand Down
2 changes: 1 addition & 1 deletion jsf2-spring-conversation/pom.xml
Expand Up @@ -46,7 +46,7 @@
<!-- Version dependencies when used in multiple dependencies -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<maven-celerio-plugin.outputDir>${project.basedir}</maven-celerio-plugin.outputDir>
<maven-celerio-plugin.version>3.0.103</maven-celerio-plugin.version>
<maven-celerio-plugin.version>3.0.104</maven-celerio-plugin.version>
<hibernate.version>4.2.3.Final</hibernate.version>
<spring.version>3.2.3.RELEASE</spring.version>
<spring-security.version>3.1.4.RELEASE</spring-security.version>
Expand Down

0 comments on commit 4aa5654

Please sign in to comment.