Questions tagged [conform]

Conform is a tool for Elixir. It is used to create simplified configuration files.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
320 views

A way to compare generics in Swift only if they conform to Equatable

Wondering if there's a good way to do this or not: I have a @propertyWrapper named "Enhanced" that I use. I use the wrappedValue.set to do some actions, and I would also like to do some ...
ev0's user avatar
  • 179
0 votes
0 answers
67 views

Elixir Conform library configuration error with unrecognized type

In my application, I have a below configuration for cron job scheduler config :my_app, MyApp.Scheduler, jobs: [ {"* * * * *", {MyApp.Core, :routine, []}} ] I am using conform library for ...
chandradot99's user avatar
  • 3,686
0 votes
1 answer
54 views

Two collection of the Table per class hierarchy in the one class in the NHibernate/Conform

I faced with following case: I have table per class hierarchy: public abstract class Parent : BaseEntity, IHierarchyEntity { } public class ChildA : Parent { public virtual string ...
Ivan Korytin's user avatar
  • 1,832
5 votes
1 answer
237 views

Is there a way to make conform work during development?

I have Conform configuration working in a Phoenix app. This requires an exrm release. For development purposes we want to use the same configuration technique, but without generating a release every ...
Brandon Joyce's user avatar
1 vote
1 answer
387 views

phoenix framework deployment issue

I am trying to deploy a Phoenix app using exrm and conform. Testing the release on local Ubuntu works. But when i run the same on server there is failure. I am not able to understand the exact cause. ...
pra's user avatar
  • 343
1 vote
1 answer
2k views

Mapping in configuration file when using Nhibernate's mapping by code

I want to use mapping by code so I have a class Employee (namespace NHibernateTests.Classes) and a class EmployeeMappings (namespace NHibernateTests.Mappings) My whole nhibernate configuration is set ...
Serge Profafilecebook's user avatar
0 votes
2 answers
3k views

Nhibernate error: The length of the byte[] value exceeds the length configured in the mapping/parameter

I want to save files using Nhibernate with Conform to MSSQL 2008. I`ve found article how to do it and implement everything. http://harmonypsa.blogspot.com/2013/07/using-filestream-with-sql-server-...
Ivan Korytin's user avatar
  • 1,832
0 votes
1 answer
783 views

NHibernate. Conform. Set composite primary key in junctiontable

I have two tables and I wand to create a junction table. I have this mapping. public UsertMap() { Table("Users"); Id(x => x.Id, map => map.Generator(Generators.Assigned)); ...
Turambar's user avatar
  • 293
0 votes
1 answer
84 views

Check for existing mapping when writing a custom applier in ConfORM

I am writing my first custom column name applier for ConfORM. How do I check if another column has already been map with same mapping name? This is what I have so far: public class ...
Philip Fourie's user avatar
0 votes
1 answer
72 views

Mapping with extendend class

I'm using NHibernate with ConfORM to map my domain entities. Assuming the following classes: public class Event { public virtual Guid Id { get; set; } public virtual string Title { get; set;...
Sebastián Guerrero's user avatar
4 votes
2 answers
5k views

"Unable to find the requested .Net Framework Data Provider" after update to NHibernate 3.2

I use NHibernate 3.1 and I updated to version 3.2. Also I use confOrm 1.0.1.5 and I update to 2.0.0.0vVersion. My version of Firebird NET Provider is 2.7. I do some modifications of my code because ...
Andrey's user avatar
  • 2,515
1 vote
1 answer
243 views

How does fetch work [duplicate]

Possible Duplicate: NHibernate Join Fetch(Kind) I have read article. http://fabiomaulo.blogspot.com/2010/03/conform-mapping-components.html Tried to reproduce it on my project and got strange ...
Ivan Korytin's user avatar
  • 1,832
2 votes
1 answer
116 views

Linq to Nhibernate strange behaviour

I have a table fill query, which have to get all references entities. I have client: public class Client { public virtual int Id { get; set; } public virtual ICollection<Address> ...
Ivan Korytin's user avatar
  • 1,832
2 votes
1 answer
603 views

How to implement .ChildWhere() mapping with many-to-many relation in NH 3.2

I have following FNH mapping: public class ItemMap : ClassMap<Item> { public ItemMap () { this.HasManyToMany(a => a.ChildItems).ChildWhere("IsDeleted = 0").AsSet(); } } ...
shuk's user avatar
  • 21
4 votes
2 answers
3k views

How to map a view without an identity column in NHibernate?

I have a view that I am going to only read from (no writes). This view does not have any unique key (not event composite). So how can I map this view in NHibernate without touching the view? I do ...
kaptan's user avatar
  • 3,070
1 vote
1 answer
159 views

How we can fetch more than one grandchild collections

I have this table structure: ReferralSource - main table -Phone - join table Rs as one-to-one - Carrier - child table for Phone - Type - child table for Phone I want ...
Ivan Korytin's user avatar
  • 1,832
2 votes
1 answer
412 views

Mapping NHibernate with confORM

I have 2 classes (summarized for brevity) : public class Product : Entity<Guid> { ... public virtual IList<Ingredient> Ingredients { get; set; } public ...
Tekno's user avatar
  • 193
1 vote
1 answer
1k views

NHibernate 3.2 conform composite id

I am upgrading to NHibernate 3.2. I was using Fluent NHibernate but I don't see a new build for NH 3.2. I am looking at using the included Conform mapper but it does not appear to allow for a ...
Paul Speranza's user avatar
2 votes
1 answer
144 views

How to use sql query in nhibernate ConfORM

How can I join two tables from different dataases using nhibernate ConfORM or at least write sql query in nhibernate ConfORM? This is the query which I need to run: select RTRIM(l.descr) as ...
Alexey G.'s user avatar
  • 360
4 votes
1 answer
2k views

Extend/Modify NHibernate classes at runtime

Apologies if there's an on point answer already out there but I haven't found it. I'm using NH3 and I've got a use case where I want to add a Set onto any entity who's class implements a specific ...
fearlsgroove's user avatar
6 votes
3 answers
443 views

NHibernate relationship has an issue with two-directional getting data

I have 2 tables which have many-to-many relation. Code of entities public class Product : BaseEntity { public virtual string Name { get; set; } public virtual IList<Category> ...
Evgeniy's user avatar
  • 108
2 votes
1 answer
521 views

ConfORM Nhibernate OneToMany Cascade

I have some problem with Nhibernate ConfORM cascade. Exist two entities: public class User : BaseEntity { public User(Role role) { this.Role = role; ...
Ivan Korytin's user avatar
  • 1,832
3 votes
1 answer
495 views

ConfORM Nhibernate OneToManyKeyColumnApplier Problem

I am using ConfORM Nhibernate in one of my MVC project. And had problem with One to Many Mappings. IEnumerable<Type> domainEntities = this.GetDomainEntities(); var ...
Ivan Korytin's user avatar
  • 1,832