-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hi @beginor ,
first of all thanks for your project. It really helps to make use of postgres' features.
After moving to latest version 9, I learned that I need to change the array mapping. Unfortunately, it doesn't work as expected and I can't find any example or help on the internet.
I am using class xml mapping and using string[] as a type results into a NHibernate.MappingException:
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="Infrastructure" namespace="Infrastructure">
<class name="ContactDAO" table="contacts">
<id name="Id" column="id" type="string">
<generator class="assigned" />
</id>
<property name="Name" column="name" type="string" />
<property name="Email" column="email" type="string" />
<property name="PhoneNo" column="phone_no" type="string" />
<property name="MailingGroups" column="mailing_groups" type="string[]" />
</class>
</hibernate-mapping>
do you have an idea what is wrong here and what I need to do to make this work again?
Thanks a lot in advance!
Metadata
Metadata
Assignees
Labels
No labels