Update of databases via multiple servers
Hi all.
I want to build a scenario like the one in section 17.2.3. of EJB 2.0 spec: one ejb
in one weblogic accessing other ejb in another weblogic but in a single transaction.
To achieve this I have configured tx pools with the JDriver (I'm using Oracle 9i),
and have configured the ejbs transaction as "required" in the deployment descriptor.
I want to use container managed transaction.
Do I need anything else to accomplish this scenario? (say.. have clustering?) ?
I'm using both Weblogic 6.1.
The problem I'm having is that first ejb have problems commiting the transaction
once the second return is situation.
Thanks in advanced for any ideas or pointers for documentation.
Tiago
I finally found it here but it just shows "silent installation" that works on the local computer which is pretty senseless as you still need to log in to the client where you want to update the JRE.
Similar Messages
-
Separating a database onto multiple servers
We are working on a product that uses a set of SQL Server databases that are currently all in one instance and on one server. Now that we are growing, we need more processing power/space. So we want to move the databases onto multiple servers.
So we would not need to "shard", we created separate databases (with the same schema) for each company that purchased the product. We could readily put different company databases onto the different servers.
The question is this, how to we handle the routing to the different servers?
If we would have "sharded" the data in one database with different keys, SQL Server tools would have handled the routing for us. Because we actually separated the databases, do we have to do the routing manually? (That is, do we need to figure
out that when company A logs in that they need to go to database server aa.aa.aa while compay B needs to go to server bb.bb.bb?) Or is there a product that can help us with the routing?
Thanks!
www.insteptech.com ;
msmvps.com/blogs/deborahk
We are volunteers and ask only that if we are able to help you, that you mark our reply as your answer. THANKS!Hello,
Based on your description, it seems that you want to copy all schema from a "Shared" database into other servers and separate data into the tables based on the company name.
If I understand correctly, you can try to use the
SQL Server Import and Export Data Wizard to copy data from table or view to destination server and specify query to restrict data for copy. Or you can use linked server and
SELECT INTO statement with condition to move the data.
As per my understanding about the "Handling routing", balancing capability. In order to meet your requirement, you have to load balance through your application's design.
Regards,
Fanny Liu
If you have any feedback on our support, please click here.
Fanny Liu
TechNet Community Support -
Update Access database via OleDB from DataGridView
I have been scouring these forums and the internet in general as well as doing a lot of reading, all to no avail. I can not seem to successfully update the Access database from an edited DataGridView. I am trying to use Stored Procedures that
are in the Access database and work fine therein. The DGV is filled in properly. I have tried an ever-increasing number of variants to update the database (Private Sub BtnUpdate...) without success. I'd really, really appreciate some
guidance here.
Here is my code thus far:
Public Class Form1
Dim con As OleDbConnection
Dim cmd As OleDbCommand
Dim da As OleDbDataAdapter
Dim ds As DataSet
Dim ProviderConnectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="
Dim TargetList As String = "C:\Users\Administrator\Documents\Visual Studio 2010\Projects\Development5\Test.mdb"
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
'establish a connection to the database
con = New OleDbConnection(ProviderConnectionString & TargetList)
con.Open()
'define the command to be used
cmd = New OleDbCommand
cmd.Connection = con
cmd.CommandType = CommandType.StoredProcedure
cmd.CommandText = "ListAllTargets"
'create the data adapter based on the command
da = New OleDbDataAdapter(cmd)
'fill the data set based on the command
ds = New DataSet
da.Fill(ds, "AllTargets")
'bind and load dgvTargets with the data
dgvTargetList.DataSource = ds.Tables("AllTargets") ' Binding to dgvtargetlist
End Sub
Private Sub btnUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnUpdate.Click
da.UpdateCommand = New OleDbCommand("UPDATE TargetList SET;", con)
Validate()
da.Update(ds.Tables("AllTargets"))
Me.ds.AcceptChanges()
End Sub
End ClassHi John,
Welcome to MSDN forums!
Cor pointed you to the right direction. An OleDBCommandbuilder object is required, which can be used to automatically
generate DeleteCommand, UpdateCommand and InsertCommand for DataAdapter object.
Here is detailed walkthrough: How to update
(Insert/Update/Delete) data back into MS Access database from DataGridView.
1) New a WinForms project, drag&drop DataGridView1 and Button1 onto
Form1.
2) Add database file test.mdb to project via: Data menu -> Add New Data Source
Wizard ... then you can use ralative path to this database file in code
3) Select/click
your database file test.mdb in Solution Explorer
-> Properties Pane
-> change the "copy to ouput directory" to "copy
if newer"
4) Code sample
Imports System.Data.OleDb
Public
Class Form1
Dim myDA As OleDbDataAdapter
Dim myDataSet As DataSet
Private Sub Form1_Load(ByVal sender
As System.Object, ByVal e
As System.EventArgs) Handles
MyBase.Load
Dim con As OleDbConnection =
New OleDbConnection("Provider=Microsoft.jet.oledb.4.0;data source=|DataDirectory|\test.mdb") ' Use relative path to database file
Dim cmd As OleDbCommand =
New OleDbCommand("SELECT * FROM Table1", con)
con.Open()
myDA = New OleDbDataAdapter(cmd)
'Here one CommandBuilder object is required.
'It will automatically generate DeleteCommand,UpdateCommand and InsertCommand for DataAdapter object
Dim builder As OleDbCommandBuilder =
New OleDbCommandBuilder(myDA)
myDataSet = New DataSet()
myDA.Fill(myDataSet, "MyTable")
DataGridView1.DataSource = myDataSet.Tables("MyTable").DefaultView
con.Close()
con = Nothing
End Sub
' Save data back into database
Private Sub Button1_Click(ByVal sender
As System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
Me.Validate()
Me.myDA.Update(Me.myDataSet.Tables("MyTable"))
Me.myDataSet.AcceptChanges()
End Sub
End
Class
Best regards,
Martin Xie
MSDN Subscriber
Support in Forum
If you have any feedback on our support, please contact
[email protected]
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us. -
How to update a database from an MS Excel
Hi,
I'm developing an application that would let the user view and edit the data from the database through Excel. My problem is, I need to update the database after the data was modified from MS Excel that doesn't need manual intervention.
Thanks,
mangyanAt the risk of encouraging newbies to ask Microsoft specific questions on this Sun site...... the arch-enemy of Microsoft.....
You can write a VB Macro to execute when the user clicks a button / control on the spreadsheet to say "Commit to database".
Or maybe ask the user just before they close the database.
VB has various database methods, like OpenDatabase.
See examples in the Macro editor.
Or if you want to give yourself an ounce of self respect, you could write a JSP application to input the values, and update a database via JDBC.
regards,
Owen -
We installed the following updates last night via WSUS. All of our Windows 2012 R2 servers rebooted but then stuck with the swirling logo and never booted back in to Windows. We had to power them off and back on again.
Anyone else find issues with these patches and experience this? This was consistent. We are running Vsphere 5.5 u1.
- Security Update for Windows Server 2012 R2 (KB2922229)
- Update for Windows Server 2012 R2 (KB2939087)
- Windows Malicious Software Removal Tool for Windows 8, 8.1 and Windows Server 2012, 2012 R2 x64 Edition - April 2014 (KB890830)
- Rules Update for RRAS Best Practice Analyzer for Windows Server 2012 R2 (KB2928193)
- Security Update for Internet Explorer 11 for Windows Server 2012 R2 (KB2936068)Hi,
Thank you for posting in Windows Server Forum.
I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
Regards.
Vivian Wang
Hello and thank you. I was able to narrow this down to KB2939087 and reproduce.
Only our IIS servers, and domain controllers had the problem. Vanilla 2012 R2 servers did not hang on boot up.
We installed VIA WSUS and the servers automatically rebooted OK and installed OK but upon boot up they got stuck at the swirling logo and stayed their indefinately until we hard reset them and powered them back up. There no nothing in the event whatsoever
to indicate a problem.
Kind of a big deal to have to babysit all of these servers and hard reset them after installing this update via WSUS. -
Update a database table column via EO
Hi,
I want to update a database table column via EO, but somehow the table column is not updated. Could you help if I miss anything?
Here is my code:
View SQL:
select
,GoalSheetHeaderEO.srp_goal_header_id
,XL.MEANING
,GoalSheetHeaderEO.status_code
,GoalSheetHeaderEO.start_date GS_START_DATE
,GoalSheetHeaderEO.end_date GS_END_DATE
,GoalSheetHeaderEO.PERIOD_YEAR
,GoalSheetHeaderEO.LAST_UPDATED_BY
,GoalSheetHeaderEO.LAST_UPDATE_DATE
,GoalSheetHeaderEO.LAST_UPDATE_LOGIN
,'N' CHECKED
from
xxg2c_srp_goal_headers_all GoalSheetHeaderEO
,cn_comp_plans_all comp
,jtf_rs_salesreps rs
,jtf_rs_resource_extns rse
,xxg2c_lookups xl
,shr_strct_nodes nod
,g2c_goal_shr_emp_assignments_v emp
CO:
if (pageContext.getParameter("Update") != null){
am.invokeMethod("updateGoalSheet");
AM:
public void deleteGoalSheet(){
OAViewObject vo = (OAViewObject)getGoalSheetResultGAVO1();
GoalSheetResultGAVORowImpl row = (GoalSheetResultGAVORowImpl) vo.first();
while (row != null)
if (selectFlag != null)
if (selectFlag .equals("Y"))
//row.setAttribute("GsStatusCode",Constants.GOAL_SHEET_STATUS_CODE_DEL);
row.setStatusCode(Constants.GOAL_SHEET_STATUS_CODE_DEL);
row = (GoalSheetResultGAVORowImpl) vo.next();
getTransaction().commit();
EO:
public void setStatusCode(String value) {
if (value.equals(Constants.GOAL_SHEET_STATUS_CODE_DEL)){
String currentStatus = getStatusCode();
if(!(currentStatus.equals(Constants.GOAL_SHEET_STATUS_CODE_INPROG)
||currentStatus.equals(Constants.GOAL_SHEET_STATUS_CODE_RDYAUD))){
throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
getEntityDef().getFullName(),
getPrimaryKey(),
"StatusCode",
value,
"xxg2c goaling",
"DEBUG -- need message name"
setAttributeInternal(STATUSCODE, value);
thanks
LeiHi Vikram,
It is just a type error. The delete is a soft delete to change the status to 'DEL'.
And also the view object is hybrid view object.
Complete View Object SQL:
select
nod.node_id
,nod.version_id
,emp.status_name
,rs.SALESREP_ID
,rse.source_name
,rse.source_email SRP_EMAIL_ID
,rse.source_number SRP_EMPLOYEE_NUMBER
,comp.name
,GoalSheetHeaderEO.srp_goal_header_id
,XL.MEANING
,GoalSheetHeaderEO.status_code
,GoalSheetHeaderEO.start_date GS_START_DATE
,GoalSheetHeaderEO.end_date GS_END_DATE
,GoalSheetHeaderEO.PERIOD_YEAR
,GoalSheetHeaderEO.LAST_UPDATED_BY
,GoalSheetHeaderEO.LAST_UPDATE_DATE
,GoalSheetHeaderEO.LAST_UPDATE_LOGIN
,DECODE(GoalSheetHeaderEO.PERIOD_YEAR,(SELECT PERIOD_YEAR FROM GL_PERIODS WHERE PERIOD_SET_NAME = 'Fiscal Year' AND SYSDATE BETWEEN YEAR_START_DATE AND END_DATE),DECODE(GoalSheetHeaderEO.STATUS_CODE,'AUTH','copy_enabled','copy_disabled'),'copy_disabled') COPY_FLAG
,DECODE(GoalSheetHeaderEO.SRP_GOAL_HEADER_ID,null,'create_enabled',DECODE(GoalSheetHeaderEO.status_code,'AUTH','create_enabled','create_disabled')) CREATE_FLAG
,'N' CHECKED
from
xxg2c_srp_goal_headers_all GoalSheetHeaderEO
,cn_comp_plans_all comp
,jtf_rs_salesreps rs
,jtf_rs_resource_extns rse
,xxg2c_lookups xl
,shr_strct_nodes nod
,g2c_goal_shr_emp_assignments_v emp
public void updateGoalSheet(){
OAViewObject vo = (OAViewObject)getGoalSheetResultGAVO1();
GoalSheetResultGAVORowImpl row = (GoalSheetResultGAVORowImpl) vo.first();
while (row != null)
if (selectFlag != null)
if (selectFlag .equals("Y"))
//row.setAttribute("GsStatusCode",Constants.GOAL_SHEET_STATUS_CODE_DEL);
row.setStatusCode(Constants.GOAL_SHEET_STATUS_CODE_DEL);
row = (GoalSheetResultGAVORowImpl) vo.next();
getTransaction().commit();
thanks for the help.
Lei -
Is it possible to run one ud script to update parms for multiple servers...
Is it possible to run one ud script to update certain parameters in mib for multiple
servers by giving multiple occurrences of the parameter and server id. I tried
a ud script as follows and it seem to update the parameter for only the first
server.
SRVCNM .MIB
TA_CLASS T_SERVER
TA_OPERATION SET
TA_SRVID 101
TA_SRVID 102
TA_SRVID 103
TA_CLOPT -A -r -e srv1.err --
TA_CLOPT -A -r -e srv2.err --
TA_CLOPT -A -r -e srv3.err --From the ud's output, it looks like it used only one occurrence of the fields that
I provided.
"james mathew" <[email protected]> wrote:
>
Is it possible to run one ud script to update certain parameters in mib
for multiple
servers by giving multiple occurrences of the parameter and server id.
I tried
a ud script as follows and it seem to update the parameter for only the
first
server.
SRVCNM .MIB
TA_CLASS T_SERVER
TA_OPERATION SET
TA_SRVID 101
TA_SRVID 102
TA_SRVID 103
TA_CLOPT -A -r -e srv1.err --
TA_CLOPT -A -r -e srv2.err --
TA_CLOPT -A -r -e srv3.err -- -
Update a field in an access database via TestStand
I want to read a value from a numeric field in an MS Access database, increment that value by one, and then update the database record that I got the value from with the new value. I am able to execute an Open Database step, execute a Open SQL Statement step with a SELECT query, execute a "Get" operation in a Data Operation step to get the value into a TestStand variable, and increment the value, but I'm at a loss for how to update the databse record with the incremented value.
I tried to execute another Open SQL Statement step with an UPDATE statement, but I get a "Specified value does not have the expected type." error. The TestStand variable type is a number, and the Data Type of the database field is Number. I've tried using long integer, double, and decimal as field sizes, but they all give me the same error.
I also tried to execute a "Set" operation with another Data Operation step against the original Statement Handle. When I do this, the Data Operation runs without error, but when I run a Close SQL Statement step against the statement handle I get an "ADODB.Recordset: Operation is not allowed in this context." error.
Any help would be appreciated.Scripter -
When you try to do a Set and Put, it is always good to explicitly set the statement's cursor type to something other than forward only, like keyset, and the lock type to something other than read-only. See if that helps...
Scott Richardson
National Instruments -
Config of multiple SQL-Server databases without multiple gateways-possible?
Hi Guys
Can someone tell me if there's any way of connecting to different SQL Server databases (using Transparent Gateway) WITHOUT having to create multiple gateways?
I have read in various sources that I MUST create one gateway per target database. I was contemplating a workaround such as creating a sysadmin SS user (and using these credentials in the db link) and trying to access any one of the databases within the SS instance. As I'm sure you know, you can query a SS database via a sysadmin user like:
select * from my_db.dbo.my_table
I realise it was a long shot to execute this from Oracle select * from my_db.dbo.my_table@my_dblink and yes....it didn't work.
We have SS databases that are constantly dropped, recreated, renamed etc so we don't want to configure transparent gateway for a database only for it to be dropped 5 minutes later.
Thanks in advance, Jon
Edited by: user10240703 on 01-Oct-2009 03:07Thanks! I'm sure that's the fella...but things still progressing at snails pace.
after (somehow) fixing the following ....
ORA-02055: distributed update operation failed; rollback required
ORA-02067: transaction or savepoint rollback required
ora-1591 lock held in - doubt distributed transaction error
I now get and can't get round the following error:
PLS-00487: Invalid reference to variable 'REC1'
Here's the simple code
SQL Server
alter procedure jontest as
begin transaction
select test from dbo.a
commit
Note: test is a varchar(50)
PLSQL code
create or replace package rcpackage is type RCTYPE is ref cursor;end rcpackage;
declare
rc1 rcpackage.rctype;
rec1 varchar2(50);
out_arg varchar2(255);
begin
rollback;
out_arg := null;
dbo.jontest@omg(rc1);
fetch rc1 into rec1;
dbms_output.put_line(rec1.test);
close rc1;
end;
Note: as you can see, the sql server column and the rec1 are the same datatype so i've no idea why it doesn't like this. I've tried with different datatypes, integers etc with the same error. Any clue? Thanks,
Getting there, but slowly :-) -
PL/SQL program not working when connect database via SqlNet
Hi,
This is a segment of a PL/SQL program before opening a cursor using input descriptor. It is working fine ( to get the value of unOutputCount ) without connect to a database via SqlNet, can anyone tell me why it is not working ( unOutputCount return 0)while connecting to a database via SqlNet and how to make it work without opening a cursor before DESCRIBE OUTPUT ...?
EXEC SQL ALLOCATE DESCRIPTOR GLOBAL 'input_111'
WITH MAX 100;
EXEC SQL ALLOCATE DESCRIPTOR GLOBAL 'output_111'
WITH MAX 100;
EXEC SQL PREPARE STMT1 FROM :psSqlStatement;
EXEC SQL DECLARE CURSOR1 CURSOR FOR STMT1;
EXEC SQL DESCRIBE INPUT STMT1
USING DESCRIPTOR GLOBAL 'input_111';
/* Get count of input parameters in statement */
EXEC SQL GET DESCRIPTOR GLOBAL 'input_111' :unInputCount = COUNT;
EXEC SQL DESCRIBE OUTPUT STMT1
USING DESCRIPTOR GLOBAL 'output_111';
/* Get count of output parameters in statement */
EXEC SQL GET DESCRIPTOR GLOBAL 'output_111'
:unOutputCount = COUNT;Hi,
Welcome to Oracle OTN Forums!
I changed your code a little. I think this help you
CREATE OR REPLACE
PROCEDURE xx_test
IS
v_pid VARCHAR2(100);
v_cn VARCHAR2(100);
v_id VARCHAR2(1000);
v_val VARCHAR2(1000);
CURSOR C1
IS
(SELECT product_id, 'PRODUCT_ID' cn
FROM product1 );
BEGIN
FOR V1 IN C1
LOOP
FETCH C1 INTO v_pid, v_cn;
dbms_output.put_line('==== '||v_pid||'==== '||v_cn);
EXECUTE IMMEDIATE
'SELECT product_id, DECODE(COUNT (product_id),1,MAX (product_id))||'''||V_CN||''' as val
FROM product1
WHERE product_id =:a
GROUP BY product_id)' INTO v_id, v_val USING v_pid;
dbms_output.put_line('==== '||v_id||'==== '||v_val);
EXECUTE IMMEDIATE 'UPDATE product2 SET '||v_cn||' = ' ||''''|| v_val ||''''|| ' WHERE product_id = :b' USING v_pid;
dbms_output.put_line('++++ '||v_cn||'++++ '||v_val||'++++ '||v_pid);
END LOOP;
END xx_test; -
How to set up Planning on Multiple Servers
Hi,
1) I am trying to install a Finance Planning application so that it runs on one Planning Web Server and the other operations Planning application on another Planning 9.3.1 web server. Is that possilbe?
2) May be unrelated question:
HP_Windows_Install.pdf has only a few lines explaining how to set up Planning on Multiple Servers. Is it as simple as that?
Here are the "few lines" from install.pdf:
Perform the same installation and configuration process on your secondary servers, making sure to choose
Planning Web Server component for any secondary server.
Make sure you select Reuse existing tables when prompted during the Configure a Database task
in the Configuration utility.Tomcat.
But it will be nice to know the steps for Weblogic too - as Weblogic will be bundled "free" with future releases of Planning. -
Problem viewing/updating MySQL-database with utf-8 charset
System specs:
Tomcat 5.5.4
JDK1.5.0
MySQL 4.1
Connector/J 3.0.16
JSTL 1.1
I am trying to build a guestbook web-app, and want to be able to store swedish characters (available in latin1) and decided to give utf-8 a go since it would support other languages as well. I use a <Resource> in my context-xml to get the connection.
This simply will not work; when I use the <%@ page contentType="text/html; charset=utf-8"%> declaration, the swedish characters in the raw html-code gets replaced by questionmarks. Select-queries output look ok though, as long as they don't contain the character '�'
When removing the page-declaration, the queries show only questionmarks where swedish characters should be.
The same goes for updating my database. Swedish characters get garbled.
I have tried the following without success:
*adding &useUnicode=true&characterEncoding=UTF-8 to the Resource-url -- causes my web-app to fail loading.
*adding a <filter> to the web-apps web.xml as suggested at http://www.javaworld.com/javaworld/jw-09-2004/jw-0906-unicode_p.html -- caused another web-app error, resulting in it not being loaded.
*setting the form attribute accept-charset -- resulted in no improvement.
Right now I'm half desperate and half fed-up. Is this a common problem with MySQL? Should I use another database? Or perhaps it is the Connector/J Driver that's messing things up.
I'll appreciate any help I get greatly.Hello. Maybe not so interesting after a year to try to ask did you ever get a final solution to that problem in command line perspective. OR does somebody else knows solution to this problem.
Anyway I have similar problem, I use mysql5 with latin1 charset and I can insert to my database letters ��� normally via mysql command line and they show perfectly. But the problem is my web application.
I can insert all characters to database and retrieve them normally via web app but if i need to use mysql command line for queries it fails because those special letters appear something like ��. I still need to make queries on mysql command line as admin. I have also tried to change different drivers like
Class.forName("org.gjt.mm.mysql.Driver"); or
com.mysql.jdbc.Driver etc connector is 3.0.17
I have also tried to change to utf-8 and then changed mysql def.enc to same... i have used request.setWHATEVER CHARSET.....i'm out of ideas... help? -
Connecting to IDMS database via JDBC
Has anyone successfully set up JDBC connectivity to generate reports using data in an IDMS mainframe database containing multiple schemas, where several schemas may contain tables with the same name?
We have no issues when using ODBC to connect to the various schemas in this IDMS databases, but we need to convert the connectivity for existing reports to JDBC.
When I open the JDBC connection, I see the expected hierarchy of schemas and tables in the Database Expert window. If I try to select a table I get the following error message if a table of that same name exists in other schemas:
Failed to retrieve data from the database.
Details: SQL exception: [SQL State:] 42000 [Error message:] DB002046 T11094 C-4M347: Duplicate table ids for ASISCHEM.SR-ACT and CORPCHEM.SR-ACT in area CORPDB.ACTIVITY-AREA [Database Vendor Code: -4]
So although we can connect to the database via JDBC, we can't use the connectivity because Crystal does not appear to correctly resolve that I'm selecting the table from within a specific schema.
Can anyone advise on how to make sure the table name selection is qualified by the correct schema name?
Thanks in advance.Hello,
Try running the query outside of CR to verify the JDBC driver is passing the fully qualified name also.
Then look in the Designer and Show SQL to verify it's there as well as Set Table Location. You may be able to fully qualify it in that UI.
Thank you
Don -
RE: DataField, update underlying data via TOOL,Express
John,
does it work if you mix the "CopyfromClipboard" method with the "PlaceValueinDisplayedField" ?
If this is not the correct solution to you problem, could you please specify "where" it does not work ?
Thanks a lot indeed.
Best regards
/Stefano
Stefano POGLIANI Forté Software Consultant
E-Mail : [email protected] Tel : +33.0)450201025
Fax : +33.(0)450200257 Mobile : +33.(6)08431221
Visit the Forté Web Site : http://www.forte.com/
Ducunt fata volentem, nolentem trahunt....
-----Original Message-----
From: John Hodgson [SMTP:[email protected]]
Sent: Wednesday, July 02, 1997 8:39 PM
To: [email protected]
Subject: DataField, update underlying data via TOOL, Express
In TOOL code we PasteText() into a DataField, but the underlying data
object does not get updated until the user interacts with the GUI.
That causes problems if we need to use the underlying data object's
value immediately after the paste. How can we:
force an update of the underlying data object and
ensure that the update goes through before our method call returns,
i.e., ensure that if the update is via Forte events, those events
are handled before returning.
The context is a calendar lookup button that pastes into an adjoining
DataField.
John Hodgson |Descartes Systems Group Inc.|[email protected]
Systems Engineer|120 Randall Drive |http://www.descartes.com
|Waterloo, Ontario |Tel.: 519-746-8110 x250
|CANADA N2V 1C6 |Fax: 519-747-0082Well, I think I have answered my own question, but I will leave it here in case anyone else has the same problem.
So, as far as I have been able to track down, it all went wrong when I was running through the connection wizard.
Under the section titled "Creating the Data Source" is describes how to find your database file and create the appropriate connection string. However, on my version of VS Express 2010 . It offered me a prompts , saying something like, "would you like to
move this database file into the application directory and change the connection string" this sounded very sensible to me, so I said yes.
All proceeded accordingly. And the database file now appeared in the solution explorer.
The app config file said that the connection string was
Data Source=|DataDirectory|\Database1.sdf"
I presumed this would be interpreted correctly by the rest of the app, as it was generated by VS.
But it didn't, what I cannot understand is how no error was generated. And data seemed to pull
into the bound controls.
But I have been testing it for a while now. and it seems that if I manually override the config file with the actual directory where the file exists , then there is not a problem. Data is retained in the file
This is more of a VB.net question, but I couldn't find it in the drop down. I will try and move it there now
Thanks guys for your patience.
p.s. RSingh , the code I posted above did come from the SaveItem_Click event
handler -
Multiple Servers for Development Team in WLI2.1 on wlidomain
Has anyone tried to create multiple servers so that a development team can share
the resources of a domain with WLI 2.1? If so, how did it work. I have done this
with WLS but would like to try it with WLI.
I tried to create multiple servers, but, had difficulty as there seems to many
resources that are tied to the server name and default port. Also, I tried to
change the port and that caused alot of problems on the myserver.Thanks John.
I was not looking for something which is scaling out Hyperion Planning(via load balancer)/Horizontal clustering.
But was looking for some thing like Vertical clustering(multiple JVMs/nodes of Hyperion Planning within a single planning server) which was applicable in 11.1.1.3.
Came to know that with 11.1.2.2 vertical clustering not more supported.
Thanks
Maybe you are looking for
-
BTE / User exit / BADI for F-03 and F-04
Hi friends, I have a requirement where in i have to use a bte or exit for f-03 and F-04. help me!!. please.
-
My story about the Blackberry 9320
My story about the Blackberry 9320.... I have asked question's about buying a Blackberry for my Mom/Me for personal use from a few people and all very knowable in the IT world, and from one i know who uses a Blackberry as well manage there enterpris
-
Sharing a SharePoint synchronized libary accross a LAN
Hello there I have a question I need to clear up regarding a SharePoint online subscription. For security reasons we don't wish to allow syncing of document libraries on users laptops for use away from the office. If I download OneDrive for Business
-
Data SIM doesn't work in X1 Carbon 20A7005PMH
Anyone experience with entering APN and Authentication on Windows 8.1? It prompts me to enter my PIN and then refuses to connect. Then suddenly it says Insert SIM. And then I have to reboot to get the SIM detected again. What I tried: - SIM works in
-
Everytime I try using iTunes on my iPhone 5 I keep getting the message appear Too many HTTP redirects HELP !!!!!