Quantcast








     

Updating URL of DataSource object for JDBC connection

stackoverflow.com - 2012-03-10 01:14:24 - Similar - Report/Block

I have a situation where I am on a server with a valid DataSource file (reproduced below) for connection to a local database which works fine. I also have a host of other machines with the exact same credentials except their ip addresses are different (which I also have). I would like to read in my localhost DataSource object and update...

Cannot insert image into xpage richtext ckeditor when using custom datasource

stackoverflow.com - 2013-01-15 12:39:04 - Similar - Report/Block

I am attempting to use my own datasource in an xpage application. The datasource is a managed-bean which implements the com.ibm.xsp.model.DataObject interface Everything is working fine, including text in the CKEditor , except for images in the CKEditor Here's what appears to happen when you upload an image using the CKEditor with a Domi...

PDF/A1A (XMP Tagged PDF) with XML datasource (JaserReports/iText)

java-forums.org - 2012-08-14 09:40:53 - Similar - Report/Block

Hello, I'm trying to run the code underneath, but it fails with the error: Code: Exception in thread "main" java.lang.ClassCastException: com.itextpdf.text.Document cannot be cast to org.w3c.dom.Document Here's the actual code. It seems that I'm combining two different Document classes, but I don't know how to solve it. If my co...

Usercontrol Datasource?

stackoverflow.com - 2012-03-22 15:21:19 - Similar - Report/Block

In my current windows application I am looking on how to give a datasource to my usercontrol. On my page I add my own usercontrol in a flowlayoutpanel, the usercontrol has 3 textboxes in it which I want to fill with data from a datasource. usercontrol uc = new usercontrol(); flowlayoutpanel.Controls.Add(uc); uc.DataSource? I know that...

How to setup Tomcat 7 Postgresql datasource for Hibernate?

stackoverflow.com - 2013-04-11 11:15:12 - Similar - Report/Block

For some reasons I've to fine-tune the jdbc connecton, and I've found, the context.xml is the way I can do that. ( http://tomcat.apache.org/tomcat-7.0-doc/ jndi-datasource-examples-howto.html#Post greSQL So, I create context.xml: Add some config to web.xml: postgreSQL Datasource example jdbc/connectorDs javax.sql.DataSource Container An...

Using DataSource Without Data URL

stackoverflow.com - 2013-03-19 15:11:24 - Similar - Report/Block

I have a legacy situation whereas the software currently transforms the returned response into an internal JSON formatted String. Is it possible for a DataSource to operate on a JSON formatted String for read-only purposes? The DataSource would be used to populate a ListGrid . How can I set the data URL to a String in memory? Would it...

How to enable Selection for a GridView that assigns the DataSource in the code behind class?

stackoverflow.com - 2012-03-12 04:59:27 - Similar - Report/Block

I noticed that when I create a GridView that I am given the option to "Enable Selection" as long as I choose a DataSource in the GUI. However, I am binding the DataSource in the code behind class. I added SelectMethod="GetCustomers" to my GridView control and an empty GetCustomers() method to my code behind class but I don't see a "Select...

where should c3p0 properties specified?

stackoverflow.com - 2012-05-11 16:55:02 - Similar - Report/Block

I am using spring/hibernate integrated application. i have configured c3p0 connection pooling. I am using c3p0 combopooled datasource. Please suggest me where should i specify combopooled datasource properties? in this section? <bean id="sessionFactory" class="org.springframework.orm.hibernate 3.LocalSessionFactoryBean"> <propert...

Changing numberOfComponentsInPickerView

stackoverflow.com - 2012-03-28 16:17:25 - Similar - Report/Block

In a UIView I have two UIPicker's with two different datasources. The first datasource is with one component in the pickerview and the second datasource is with two components. The following code is included in the file: - (NSInteger)numberOfComponentsInPickerVie w:(UIPickerView *)pickerView { NSLog(@"Refreshing"); if ([inputSource...

SSRS RDL Mapping datasources programmatically

stackoverflow.com - 2013-04-18 13:12:20 - Similar - Report/Block

We are using rs.exe for deployment of RDLs to ReportServer. As DataSource, Shared DataSet and RDLs reside in different folders.After deploying RDLs, mapping between RDL to Shared DataSets and Shared DataSets to DataSource are removed. I have to map each RDL manually to the respective DataSets and DataSource. I have 200 RDLs and it's reall...

Grails not using DataSource.groovy file for test environment

stackoverflow.com - 2013-02-21 13:19:24 - Similar - Report/Block

I want to change data base from inbuild H2 to Mysql database in grails , Grails documentation says change in Datasource.groovy file will change the database but it is working only for my development environment but not for test environment , Even i have tried removing the complete Datasource.groovy file and deleted the database from mysql...

"Lazy initialization" of jdbc connections from jndi datasource/connection pool: feasibility

stackoverflow.com - 2012-04-20 06:44:49 - Similar - Report/Block

I have a main controller servlet in which i instantiate a datasource . The servlet opens and closes the connections. Mainly, the servlet instantiates a command from the application using the "factory pattern". here is some code to explain: public void init() throws ServletException { super.init(); try { datasource =(DataSource) getServ...

evolveStar Join

Filter a DataGridView

stackoverflow.com - 2012-04-13 10:58:55 - Similar - Report/Block

I'm trying to filter a DataGridView, the DataSource is a DataSet. So I'm using the following line to filter the grid: DataTable dt = (dataGridViewMain.DataSource as DataSet).Tables[0]; dt.DefaultView.RowFilter = "CustomerName = 'My Customer'"; However the grid doesn't get filtered and all the rows are still displayed. What am I missing?...

Can't create connection pool and datasource in Glassfish for h2 database

stackoverflow.com - 2012-04-05 19:29:38 - Similar - Report/Block

Here's my glassfish-resources.xml: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE resources PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1 Resource Definitions//EN" "http://glassfish.org/dtds/glassfish-res ources_1_5.dtd"> <resources> <jdbc-connection-pool res-type="javax.sql.DataSource" datasou...

Jboss 7 and datasources

stackoverflow.com - 2012-05-31 19:57:17 - Similar - Report/Block

I successfully configured Jboss 7 to work with Oracle 11g by installing the jdbc drivers as a module and adding the datasource definition in the standalone.xml. However, now I want to move the datasource definition to it's own file which I dropped into the deployments directory. That resulted in the following failure: javax.naming.NameNo...

Why sql.rows Groovy method is so slow

stackoverflow.com - 2012-03-29 12:56:21 - Similar - Report/Block

I tried to fetch some data with the sql.rows() Groovy method and it took a very long time to return the values. So I tried the "standard" way and it's much much faster ( 150 times faster What am I missing ? Look at the code below : the first method returns results in about 2500ms and the second in 15 ms ! class MyService { javax.sql.DataS...

CLI0600E Invalid connection handle or connection is closed.

dbforums.com - 2013-05-22 22:45:33 - Similar - Report/Block

Hi, I am getting an exception when i try to do the testconnection after creating the datasource. I am using websphere commerce 6.x. Can you please help me to resolve this exception. Test connection failed for data source WebSphere Commerce DB2 DataSource demo on server server1 at node localhost with the following exception: COM.ibm.db2.jd...

Android: ListView not loading items after orientation change

stackoverflow.com - 2013-03-25 18:18:12 - Similar - Report/Block

Well, this seemed pretty easy at the time. I'm trying to restore the data on a ListView after an orientation change. The data is fetched from a web service, so at first I was simply calling the web service after the change took place. This was working fine, but re-fetching the data is way too slow for so simple a situation, so I thought t...

1080p Release vs Remux

torrent-invites.com - 2013-03-01 05:33:26 - Similar - Report/Block

I tried searching the forums here, but couldn't find an answer to this. What is the difference between a release tagged 1080p and one tagged 1080p remux. I don't want to know the technical difference, but more on the quality aspect. A remux is a much larger file but is there actually a difference in the way it looks/sounds? I mean they ar...

sql logger stuck 'on' in production

stackoverflow.com - 2012-03-30 15:13:32 - Similar - Report/Block

I'm pretty familiar with grails however my sql logging seems to always be on in production (tomcat6). It works as expected in development where I can toggle it on and off. I've disabled all logging in my datasource.groovy... dataSource { ... driverClassName = 'com.mysql.jdbc.Driver' dialect = org.hibernate.dialect.MySQL5InnoD...

Update Database-Context in Android when Activity changes?

stackoverflow.com - 2013-03-20 13:39:17 - Similar - Report/Block

do I need to update the Context when i access a database with multiple Activities? My App works like this: Activities <=> DataSource <=> DBHelper My DataSource has the methods open and close which retrieve or release the database from the DBHelper. The Activities call open() on the DataSource in onCreate() and onResume() and close() in...

C# building menus at runtime, commandHandlers and hashtable

stackoverflow.com - 2012-05-15 17:05:07 - Similar - Report/Block

this is my first C# tagged question! I am trying to implement an existing application metamodel in C#. In this metamodel, a "menus" table holds a combination of forms and actions, indicating form each form, which actions should be made available. I am then able to use this "menus" datasource to build and display a form's specific MenuStri...

Can a 'delegate' property support multiple protocols?

stackoverflow.com - 2012-05-11 12:07:20 - Similar - Report/Block

I can find plenty of questions about making objects support multiple protocols but none confirming whether a @property can. For example I have a class with a property of: @property (strong) id dataSource; The object passed in here supports the UITableViewDataSource protocol so I can assign it thus without problems, in ARC with no warnings...

Crash when rotating device - lifecycle issues

stackoverflow.com - 2012-04-03 17:32:32 - Similar - Report/Block

I was advised in a previous question that I didn't need to maintain the database if the device is rotated as it uses a local database. I thought that I could at least maintain the datasource for my List. I am having problems trying to do this because I get an error saying close() was not called on the database. I am calling close in the o...

GIT tagging did not work as expected

stackoverflow.com - 2013-04-23 23:57:22 - Similar - Report/Block

I have a question about an operation I have done in GIT. I have a repository which has two java projects in it and which currently sits at a certain tag. Project 1 - MyTag 1.0.0 Project 2 - MyTag 1.0.0 So far so good. Yesterday I checked in some code into the head and tagged the code again. Project 1 had some changes in it but Project 2 d...

JSF and expression language: Bind property only when it exists

stackoverflow.com - 2011-04-11 09:19:53 - Similar - Report/Block

what is the best way to bind a datacolumn to a property that might or might not exist in the datasource? This happens for example when you have a class hierarchy where some children might be of a subtype which has the property. The datasource contains various subclass types. always yields a PropertyNotFoundException when the property isn'...

Kendo DataSource: How to define "Computed" Properties for data read from remote odata source

stackoverflow.com - 2013-02-25 15:00:50 - Similar - Report/Block

Situation: List item kendo DataSource var ordersDataSource = new kendo.data.DataSource({ type: "odata", transport: { read: { url: "http://localhost/odata.svc/Orders?$expa nd=OrderDetails" }, schema: { type: "json", data: function(response){ return response.value; total: function(response){ return response['odata.count']; }, se...

Drop Down List binded, auto select an Item/make a specific Item first

stackoverflow.com - 2012-03-07 10:27:20 - Similar - Report/Block

i have a drop down list on my page with Countries, here is my code behind where i grab the ddl id, and bind my datasource: DropDownList ddlSalary = (DropDownList)this.FindControl(MyControl s.CountryDDL); if (ddlSalary != null) ddlSalary.DataSource = MyMethods.LoadCountries(); ddlSalary.DataValueField = "Value"; ddlSalary.DataTextField = "T...

Bind Datagridview to StringCollection

stackoverflow.com - 2012-04-13 14:06:22 - Similar - Report/Block

Is it possible to bind Datagridview to StringCollection ? I tried to do it in a manner StringCollection dict = Settings.Default.MyDict; BindingSource bs = new BindingSource(); bs.DataSource = dict; this.DGV.DataSource = bs; Bud instead of items of the collection datagridview shows lengths of the items.

CellForRowAtIndexPath method not beng called in storyboards

stackoverflow.com - 2012-05-26 21:02:43 - Similar - Report/Block

I am using storyboards for my app.In that I have a UITableViewController class.I am loading the table view from the data comng from the webservice.The issue is that the data is coming but is not gettng populated in table view.On Decoding I found out that the CellForRowAtIndexPath method is not getting called. Do we need to connect the dat...

Failed to decrypt using provider 'RsaProtectedConfigurationProvider'

stackoverflow.com - 2013-04-24 08:42:11 - Similar - Report/Block

In my application, that connecting to MS Sql database, I am using Microsoft.Data.ConnectionUI And my application work in my computer. If i run this application in another computer, when i open connection dialog, i see that error: That is my code for this: try connectionString = ShowDialogConnection(); SqlConnection connect = new SqlCon...

Issue using a logback DBappender with JNDIConnectionSource

stackoverflow.com - 2013-02-21 11:51:06 - Similar - Report/Block

I have a problem using a DBappender with JNDIConnectionSource. I have no errors but no log events are shown on the database. I'm using a webapp that is deployed on jboss 7 and i try to log events on the database...it is working when i use a simple DriverManagerConnectionSource in my logback.xml but not when i want to use an already specif...

How can i convert the results of a LINQ to Entities Query to a list

stackoverflow.com - 2012-05-21 10:45:48 - Similar - Report/Block

var term = from s in DB.Terms select new { s.Term_ID, s.TermName }; comboboxTerm.DataSource = term; combobox.DisplayMember = "Term_Name"; combobox.ValueMember = "Term_ID"; i want to convert the above query to a list<> such that i can set the list as the Datasource to comboboxTerm. That would enable me get access to comboboxTerm se...

Show the times of a tag being tagged to a specific object using acts-as-taggable-on in Rails

stackoverflow.com - 2013-02-12 13:50:23 - Similar - Report/Block

Sorry for such a long topic, that what I can only express with these words. For example: @article=Article.new and users could tag @article differently, with their own tag( like 'good') Then, how can I show the 'good' tag how many times being taged to the @article? After searching around, I just find solutions to count the overall times a...

Как DataSet присвоить DataSource? - Delphi для начинающих

cyberforum.ru - 2013-04-21 10:09:43 - Similar - Report/Block

Не чераз пропертис а вручную : IBDataSet1.DataSource.?????????.DataSour ce1 ?...

Запрос на отображение связанных таблиц - C# для начинающих

cyberforum.ru - 2013-05-03 05:27:25 - Similar - Report/Block

Добрый день. Проблема с отображением связанных таблиц. Имеется БД access с 5 таблицами. Схема данных Вложение 263069 В один dataGridView надо вывести информацию из главной таблицы Film + ФИО режиссера, связанного с фильмом и ФИО актера. Код: binding = new BindingSource(); string qs = "SELECT Film.id, Nazv,Date_out,Dlit,Mark,Country, Reg.R...

DBgrid - query и table - Delphi и базы данных

cyberforum.ru - 2013-03-26 15:31:14 - Similar - Report/Block

Ребят, у меня есть DBgrid, datasource, table, при помощи table я реализовал добавление удаление редактирование выделенных строк в DBgrid. Сейчас задался реализацией поиска на этой же форме. Как мне это сделать, добавил на форму Query и DataSource2, но dbgrid ничего не выдаст если не подключить его к DataSource2. Подключу, реализация добав...

Не выводит в DBlookupCombobox - Delphi и базы данных

cyberforum.ru - 2013-03-23 08:55:52 - Similar - Report/Block

Что то не могу понять, в грид выводит, а в DBlookupCombobox нет! Подскажите пожалуйста сам не вижу... (бд Access) Код: procedure TForm3.FormCreate(Sender: TObject); begin close; dm.ADOQVuborRuk.SQL.Clear; dm.ADOQVuborRuk.Active:=false; dm.ADOQVuborRuk.SQL.Add('select [IDPrepod],[FIO] FROM [Преподаватели]'+ ' where [Dolgnost] = "Классный...

привязка источника к listbox - C# и базы данных, ADO.NET

cyberforum.ru - 2013-04-12 10:39:22 - Similar - Report/Block

Пытаюсь задать источником данных для listbox компонент DataTable Код: constructionList = new BindingSource(); constructionList.DataSource = mybdwork.ConstrictionTable; this.AdvFindConstruction.DisplayMember = "construction_name"; this.AdvFindConstruction.DataSource = constructionList; this.AdvFindConstruction.ValueMember = "construct...

отображение данных в DBGrid - Delphi и базы данных

cyberforum.ru - 2013-02-25 08:49:02 - Similar - Report/Block

Всем привет! Небольшая проблема в следующем: Есть две формы. На одной DBGrid, отображающий данные таблицы в БД, IBQuery, DataSource. На второй реализовано добавление записи в БД (Edit). Добавление осуществляется посредством SQL-запроса. Оно работает, но не получается обновить данные через DBGrid, чтобы оно отображалось "правильно", без пе...




dialogShowMessage!

Fill out the form you see below. Registration is free, fast and simple.
If you are already registered, sign in page login.


Web Site :
Required Field
First Name :
Required Field
Last Name :
Required Field
Email :
Required Field
Sex :
Required Field

evolveStar.com is free for ever !


evolveStar.com provides a search engine that allows you to gather information to write their own blog.


evolveStar.com enhances the sources displaying the logo of the site.


If you want to remove your site or you believe a site listed infringes copyright, please report it to: info@evolvestar.com


Specifies the subject copyright violation and the url of the page


evolveStar.com respecting the law DMCA (Digital Millennium Copyright Act) will immediately remove whatever its merits.


Next will be effectual and relevant checks.







Who We Are Partner Advertising Contacts Privacy terms Help & FAQ

© Copyright 2010-2017 Fabrizio Fichera. All rights reserved.