named

How passa parameter to IN Operator in NHibernate?

HI, I'm Trying, pass a long array for a named query (native sql) for to use in a IN STATEMENT: Like this: (...) WHERE Identificator IN (:pIdes) I tried pass my ides as long[]: ctx.GetNamedQuery("NamedQueryName") .SetParameter<long[]>("pIdes", Identificators) ...

Linux C: "Interactive session" with separate read and write named pipes?

Hi all, I am trying to work with "Introduction to Interprocess Communication Using Named Pipes - Full-Duplex Communication Using Named Pipes", http://developers.sun.com/solaris/articles/named_pipes.html#5 ; in particular fd_server.c (included below for reference) Here is my info and compile line: :~$ cat /etc/issue Ubuntu 10.04 LT...

Mixing JPA annotations and XML configuration

I have a fairly large (new) project in which we have annotated many domain classes with JPA mappings. Now it is time to implement many named queries -- some entities may have as many as 15-20 named queries. I am thinking that writing these named queries in annotations will clutter the source files and therefore am considering putting t...

grails named queries

I started to write a simple named query in grails ..but it says missing method on the domain for the named query:( am i doing something wrong? I referred the documentation and i find no problem with the code.Any help?? I just tried the example in the documentation. class Publication { String title String author Date datePublis...

Exceptions in NHibernate when using named sql query for full text index search

I am implementing a full text search using a view vw_SearchSite which has all the searchable fields and returning sites which have site IDs in common with the search results. the query: ..... <return alias="site" class="Site"/> SELECT DISTINCT {site.*} FROM v_Site {site} WHERE {site}.Id IN ( SELECT Id FROM vw_SearchSite ...

Send timeouts on WAS-hosted WCF service with named pipe binding, per-call instancing

We have a client that sends requests to a per-call WCF service (WAS hosted, NP binding, same machine) in a loop. The WCF service calls an external EXE to process requests. The operations on the service can take a few seconds, or a few hours. To combat this, we have sendTimeout=00:01:00, receiveTimeout=00:05:00 and a built-in circuit-b...

Asynchronous I/O with Named Pipes WinAPI

Ok, I have asked a few questions about different facets of trying to accomplish what I want to do. This time I'm having big issues just reading from a named pipe. I think I have harvested enough information to possibly complete the project I am working on if I can set this up properly. I will include all relevant code below, but my missi...

Routes configuration for named arguments in CakePHP

Hi, In my Cake application I have a controller "completed_projects". Its index action takes no arguments and lists some projects. Different pages can be accessed by example.com/completed_projects/index/page:23 etc. I want to make the url's like this: example.com/portfolio/page23 Obviously I need to make some routes for this. I've tri...

Why does named pipe WCF service reject Windows service clients?

On Windows 7 and .NET 4 I'm getting some very weird effects from the WCF named pipe transport when my WCF client is a Windows service. My WCF service is hosted in a user mode app and exposed over the named pipe binding. My WCF client is a Windows service, running as Network Service (I get the same result if it runs as Local System). I...

Free Tagged Corpus for Named Entity Recognition

Hey guys, I am looking for a free tagged corpus for a system to train on to for Named Entity Recognition. Most of the ones I find (like the New York Times one) are expensive and not open. Can anyone help? ...

HTML named anchor not working more than once on iPhone.

The named anchor at the bottom of the page doesn't work more than once on an iPhone. Any suggestions? Thanks, Andy. <html> <head> <title>anchor scroll test</title> <meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/> <meta http-equiv="content-type" CONTENT="text/html; charset=UTF-8"> <met...

How to add security attributes for non admin rights account in creatnamedpipe method of win API

I am creating a named pipe in windows service running on local syastem account with security attribute as Intptr.Zero in CreateNamedPipe() method of Windows API. The problem is that this named pipe is not accesible to the user account running the client application and calling CreateFile() method. Now I have googled a lot and found ou...

Is there a downside to this Mercurial workflow: named branch "dead" head?

I love the flexibility of named branches but I have some concerns about the prolifieration of heads. Even when the branch is closed, it still shows up in the heads. I have an idea for how to clean up the output from "hg heads" My question to the gurus: "What am I missing?" First off you may ask, Why might I want to totally hide the he...

cannot generate routes

hello frens i have a problem as following. i have a resources setup in my routes.rb file as following resources :users do resources :sub_transactions end resources :sub_transactions do collection do get :income get :expenditure end end Now what is the correct route that i should write so that i can generat...

returning a link to a named URL from a model function

Hello all, Well, it has finally happened, and I have stumbled across a problem for which no amount of googleing has helped. (Although I may simply be looking in the wrong direction, in which case, any pointers in the right direction would be great). I am trying to find a way to return a link to a named url (with variable arguments) fro...

Excel listing named range in a worksheet and get the value

Hi there, How to obtain a list of named range exist in a specific worksheet that start with particular string (for example all named range that start with total) and grab the value? I am trying to do Sub Total and Grand Total of accommodation cost based on the date. I will assign an unique name for each Sub Total based on the Date group...