Hi. I have 3 tables organization(id, name, and etc) organizationContact(organizationId, contactId, status) contact(id, name, email)
How can I make a many to many mapping and use status column from organizationContact?
...
I have mounted a NAS device on Debian Linux using mount -t smbfs, and everything works well. except for one thing. When I create a directory on the mounted device, it creates it with root user and group, and a 0777 permission. Can this be set to, that the current linux user is the owner of the new directory, with a different permission?
...
I need to map the enums which didn't implement the interface beforehand to the existing database, which stores enums in the same table as the owner class using the @Enumerated(EnumType.STRING).
class A {
HasName name;
}
interface HasName {
String getName();
}
enum X implements HasName {
John, Mary;
public String getNa...
Strange thing...
I have a binding definition user-wrapper.xml:
<binding>
<include path="core-wrapper.xml" />
<include path="user-composite-entity.xml" />
<mapping name="users" class="UserWrapper" extends="CoreWrapper">
<structure map-as="CoreWrapper" usage="optional" />
<collection field="users" usage="optional" ...
I know annotations to do the hibernate mapping in Java and am looking now for a similar way to do the same in C# and NHibernate. I found out that there exists several approaches
do the mapping in xml files
NHibernate.Mapping.Attributes (NHMA)
Fluent
are there any more??
I tried NHMA and found out it had some blocking points for me......
Hello,
I have a question to Enterprise Search in SharePoint. I use this functionality over web service (.../_vti_bin/search.asmx). There are some standart set of attributes (Name, Title...) returned as search result. For more attributes I created new "Metadata Property Mappings" and started full crawl, to be sure attributes in index wil...
I am a complete beginner with Fluent and I am running into an issue which is probably my own fault.
I have a namespace containing 3 classes. Entity, EntityVersion and Property. No inheritance involved between the classes.
I try to only map the Entity class but what happens is that all classes in the namespace are being mapped. What am ...
I am using an httpHandler to pass all requests for *.gif files to an ashx handler. i only want to do this for requests to a sub-folder within the website. The website root is called 'demo' and the subfolder is called et. So, I add a web.config file to the et folder with an entry as follows:
This is not enough to pass all *.gif reque...
Actually I am looking for something like this:
u alter the table in db (say u increase one column); it should be reflected in the front end wihtout hardcoding the mapping file...
thanks for help..
...
How would I go about mapping three classes to one table with fluent NHibernate. A "Type" column should indicate which class should be mapped. Is it even possble?
Kristoffer
...
I'm developing application with NHibernate EntityMode.Map so I have entities of IDictionary without cs domain model, database configures only with hbm files. It gives me lots of flexibility.
I want to find out does NH.Validator support this EntityMode.Map too?
If yes how to configure it properly, now I'm getting exceptions related to m...
As the question states, is it possible to map a composite key in fluent nhibernate (or non fluent i suppose) where one of the two fields used in the composite is an identity field?
I have a table where one part of the primary key is an identity field and the other is a tenant id. This is a legacy database where the composite key is used...
Does anyone know where I can find a good mapping tool to use in connection with Access data? Similiar to Mappoint but not even as detailed/in-depth. Anything that would work with Access or Excel would be really what I need.
Thanks!
...
Trying to map a model class to service dto class where both have a custom class property.
i.e.
class Source
{
public CustomObject MyProperty {get;set;}
}
class Destination
{
public CustomObject MyProperty {get;set;}
}
However at the point of mapping, the Destination is Webservice.Destination, and so CustomObject is also Webservice.De...
I'm in the processing of developing a GIS component for our product and I have the need to convert NAD83 to WGS84.
Does anyone know of any Ruby libraries that are available that do this? Or experience with anything that might do this? I had previously done this using a library in .Net/C#, but so far I haven't had much luck tracking ...
Hi guys,
I'm trying to work out a feature for a Web application, but I'm a bit confused at this point. I was wondering if anyone can shed some light on the following scenario.
Say, my Web app is located at domain1.com and a users website is located at domain2.com. What I would like to allow is for the user to be able to map their domai...
My mod_rewrite turns accounts/create into index.php?folder=accounts&action=create, but pdt ignores it, so when I try to start a PHP Script debug session, I have to type a folder location in the file field and pdt doesn't accept.
When PDT auto generates the URL for the PHP Web Page debug session, I go to http://localhost/myframe/index.ph...
I have a set of 52 or so latitude/longitude pairs. I simply need to find the shortest path through all of them; it doesn't matter where staring point or ending point is.
I've implemented Dijkstra's algorithm by hand multiple times before and don't really have the time to do it again. I've found a couple things that come close, but most...
Is it possible to get location data out of Google Gears, Google Gelocation API or any other web location API (such as Fire Eagle) in such a format that it appears to other software as a GPS device?
It occured to me reading these answers to my question regarding WiFi location finding, on Super User, that if I could emulate a GPS unit, ma...
Hi there,
Been having some real issues with automapper, i think i have found the solution but unsure of how to implement it..
basically i am using a custom mapping with ResolveUsing and ConstructedBy to pass in params to the constructor, i understand that most people set this up in the global.asax once and forget about it..
But the pr...