Top "Dynamicquery" questions

Use this tag for questions related to dynamic queries; queries that are built dynamically rather than provided as an explicit query string.

How to set table name in dynamic SQL query?

I want to set table name in a dynamic SQL query. I tried successfully for parameter as following: /* Using sp_…

sql sql-server sql-server-2008 parameters dynamicquery
PLS-00382: expression is of wrong type in Oracle cursor

I have written a cursor in oracle 11g as follows: DECLARE CURSOR QnA_cursor IS SELECT activity_id, question, answer …

sql oracle plsql cursor dynamicquery
Spring Data dynamic query

I'm trying to set up a dynamic query using spring data, basically I have an array with a bunch of …

java spring spring-data dynamicquery
Dynamic where condition in LINQ

I have a scenario where I have to use a dynamic where condition in LINQ. I want something like this: …

c# linq linq-to-sql dynamicquery
Getting all users with a Role in Liferay

I'm new to Liferay development in general, so feel free to point out if I'm going about stuff totally the …

java liferay liferay-6 dynamicquery
XML ResultMap in MyBatis with association

I see this issue very strange descibed on google or stack. Let me explain. I have Result Maps in annotations …

java associations mybatis dynamicquery xmlmapper
Dynamic WHERE clauses in a SqlDataSource

I'm using a SqlDataSource in a very simple application. I'm allowing the user to set several search parameters for the …

c# asp.net .net-2.0 sqldatasource dynamicquery
dynamically Search Query in HQL with optional Parameter?

i am developing an application in which i need search functionality, i want to write HQL query that dynamically create …

java hibernate hql dynamicquery
How to initialize Specification of Spring Data JPA?

I have a method that does a search with filters, so I'm using Specification to build a dynamic query: public …

java spring-data-jpa dynamicquery
Anonymously Hosted DynamicMethods Assembly c# linq

I have a query: _selectQuery = _selectQuery.Substring(0, _selectQuery.Length - 1) + ")"; var testData= (from student in view.StudentView join school in …

c# linq dynamicquery