| @@ -0,0 +1,23 @@ | ||
| <?xml version = "1.0" encoding = "utf-8"?> | ||
| <!DOCTYPE hibernate-mapping PUBLIC | ||
| "-//Hibernate/Hibernate Mapping DTD//EN" | ||
| "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd"> | ||
|
|
||
| <hibernate-mapping> | ||
| <class name = "domain.Bestelling" table = "BESTELLING"> | ||
|
|
||
| <meta attribute = "class-description"> | ||
| This class contains the bestelling detail. | ||
| </meta> | ||
|
|
||
| <id name = "id" type = "int" column = "BESTELLING_ID"> | ||
| <generator class="sequence"> | ||
| <param name="sequence">bestelling_id_seq</param> | ||
| </generator> | ||
| </id> | ||
|
|
||
| <!-- <property name = "id" column = "CATEGORIE_ID" type = "int"/> --> | ||
| <property name = "AfleverAdres" column = "AFLEVERADRES" type = "string"/> | ||
|
|
||
| </class> | ||
| </hibernate-mapping> |
| @@ -0,0 +1,24 @@ | ||
| <?xml version = "1.0" encoding = "utf-8"?> | ||
| <!DOCTYPE hibernate-mapping PUBLIC | ||
| "-//Hibernate/Hibernate Mapping DTD//EN" | ||
| "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd"> | ||
|
|
||
| <hibernate-mapping> | ||
| <class name = "domain.Bestellingsregel" table = "BESTELLINGSREGEL"> | ||
|
|
||
| <meta attribute = "class-description"> | ||
| This class contains the bestellingregel detail. | ||
| </meta> | ||
|
|
||
| <id name = "id" type = "int" column = "BESTELLINGSREGEL_ID"> | ||
| <generator class="sequence"> | ||
| <param name="sequence">bestellingsregel_id_seq</param> | ||
| </generator> | ||
| </id> | ||
|
|
||
| <!-- <property name = "id" column = "CATEGORIE_ID" type = "int"/> --> | ||
| <property name = "Aantal" column = "AANTAL" type = "int"/> | ||
| <property name = "Prijs" column = "PRIJS" type = "float"/> | ||
|
|
||
| </class> | ||
| </hibernate-mapping> |
| @@ -0,0 +1,24 @@ | ||
| <?xml version = "1.0" encoding = "utf-8"?> | ||
| <!DOCTYPE hibernate-mapping PUBLIC | ||
| "-//Hibernate/Hibernate Mapping DTD//EN" | ||
| "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd"> | ||
|
|
||
| <hibernate-mapping> | ||
| <class name = "domain.Klant" table = "KLANT"> | ||
|
|
||
| <meta attribute = "class-description"> | ||
| This class contains the klant detail. | ||
| </meta> | ||
|
|
||
| <id name = "id" type = "int" column = "KLANT_ID"> | ||
| <generator class="sequence"> | ||
| <param name="sequence">klant_id_seq</param> | ||
| </generator> | ||
| </id> | ||
|
|
||
| <property name = "Naam" column = "NAAM" type = "string"/> | ||
| <property name = "Afbeelding" column = "AFBEELDING" type = "int"/> | ||
| <property name = "Woonadres" column = "WOONADRES" type = "string"/> | ||
|
|
||
| </class> | ||
| </hibernate-mapping> |
| @@ -0,0 +1,23 @@ | ||
| <?xml version = "1.0" encoding = "utf-8"?> | ||
| <!DOCTYPE hibernate-mapping PUBLIC | ||
| "-//Hibernate/Hibernate Mapping DTD//EN" | ||
| "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd"> | ||
|
|
||
| <hibernate-mapping> | ||
| <class name = "domain.Product" table = "PRODUCT"> | ||
|
|
||
| <meta attribute = "class-description"> | ||
| This class contains the product detail. | ||
| </meta> | ||
|
|
||
| <id name = "id" type = "int" column = "PRODUCT_ID"> | ||
| <generator class="sequence"/> | ||
| </id> | ||
|
|
||
| <!-- <property name = "id" column = "CATEGORIE_ID" type = "int"/> --> | ||
| <property name = "Naam" column = "NAAM" type = "string"/> | ||
| <property name = "Prijs" column = "PRIJS" type = "float"/> | ||
| <property name = "Omschrijving" column = "OMSCHRIJVING" type = "string"/> | ||
|
|
||
| </class> | ||
| </hibernate-mapping> |