Calling DbEnv- remove after DbEnv- close results in a segmentation fault
I have two classes of database files: definitions that change slowly, and instances that are transient and change quickly.
What I'm trying to do is this:
close databases, environment
back up files
remove instance databases
open new environment, existing definitions and create new instances
This keeps returning ENOENT errors, but not consistently. The results are unpredictable and will sometimes hang. It seems to me that this is due to something in the environment not being cleared correctly. So I tried adding a remove after a close, and I get a regular and consistent segment fault as the unwrap function in cxx_env.cpp returns a NULL environment.
This behaviour is consistent in versions 4.3, 4.5, and 4.7 on Solaris 10 and RHEL 5.
So my question is twofold: Is there a better way to do what I'm tying to do, on that will work reliably, and shouldn't the remove operation work, even if ther's nothing to remove? I've had this problem for quite some time so any pointers would be appreciated.
TIA,
Dave
Sorry. I had a major attack of the stupids. I was using old code that unlinked the underlying files instead of using a db->remove. It works much better now.
Similar Messages
-
Call function POPUP_TO_CONFIRM after Excel close
Good morning
I have written code like this
DATA: EXCEL TYPE OLE2_OBJECT.
DATA: BOOKS TYPE OLE2_OBJECT.
DATA: BOOK TYPE OLE2_OBJECT.
DATA: CELL TYPE OLE2_OBJECT.
DATA: FONT TYPE OLE2_OBJECT.
DATA: FILE TYPE OLE2_OBJECT.
CREATE OBJECT EXCEL 'EXCEL.APPLICATION'.
CALL METHOD OF EXCEL 'WORKBOOKS' = FILE.
CALL METHOD OF FILE 'OPEN'
EXPORTING
#1 = 'C:temp8D.xls'
#2 = 1.
CALL METHOD OF EXCEL 'CELLS' = CELL
EXPORTING
#1 = 6
#2 = 'C'.
SET PROPERTY OF CELL 'VALUE' = zak_pomoc.
CALL METHOD OF EXCEL 'QUIT'.
FREE OBJECT EXCEL.
If user has modified the 8D file I want display this file on the screen, but first function POPUP_TO_CONFIRM should ask him if he really wants to show file.
I make it like this.
call function 'POPUP_TO_CONFIRM'
EXPORTING
TITLEBAR = 'Display report'
TEXT_QUESTION = 'Display report 8D?'
DEFAULT_BUTTON = '1'
DISPLAY_CANCEL_BUTTON = 'X'
START_COLUMN = 25
START_ROW = 6
IMPORTING
answer = ans.
if ans eq '1'.
DATA gs_excel TYPE ole2_object .
DATA gs_wbooks TYPE ole2_object .
DATA gs_wbook TYPE ole2_object .
DATA gs_application TYPE ole2_object .
CREATE OBJECT gs_excel 'EXCEL.APPLICATION' .
SET PROPERTY OF gs_excel 'Visible' = 1 .
GET PROPERTY OF gs_excel 'Workbooks' = gs_wbooks .
GET PROPERTY OF gs_wbooks 'Application' = gs_application .
*--Opening the existing document
CALL METHOD OF gs_wbooks 'Open' = gs_wbook
EXPORTING
#1 = 'c:temp8D.xls'.
endif.
But there is my problem because two windows: first- asking about saving the file and the second- asking about showing the file, pop up in this same time.
What condition should I write to call second window after this first one?
Please, any suggestions?
Thank you.Hello
I'm just beginner and there is one thing I don't understand. Between lines
CALL METHOD OF EXCEL 'QUIT'
and
FREE OBJECT EXCEL
the window 'Do you want save changes' appears. And in that moment what is the value that says if the user chooses OK or QUIT?
If I would know that value, I could call function POPUP_TO_CONFIRM in the right moment. -
Occi createEnvironment resulting in a Segmentation Fault
The following code will compile in my environment but when it is executed it returns a segmentation fault. Using gdb I've been able to identify that it is createEnvironment. Can someone point me in the right direction?
The demo application attempts to call a stored procedure that for demonstration purposes place three string fields into a dummy table.
Code follows:
#include <iostream>
#include "occi.h"
using oracle::occi::Connection;
using oracle::occi::Environment;
using oracle::occi::Statement;
using namespace std;
int main(){
std::string userName;
std::string password;
std::string connectString;
userName="devuser";
password ="devuser";
connectString="";
Environment *env;
Connection *conn;
Statement *stmt;
env=Environment::createEnvironment (Environment::OBJECT);
conn=env->createConnection (userName,password,connectString);
stmt->setSQL("BEGIN devuser.test:1, :2, :3);END:");
stmt->setString(1,"1");
stmt->setString(2,"This is a Test");
stmt->setString(3,"Only a Test");
stmt->executeUpdate();
stmt->executeQuery();
std::cout<<"Message Sent";
conn->terminateStatement(stmt);
env->terminateConnection(conn);
Environment::terminateEnvironment(env);
return 0;
Compilation commsn:
gcc -I /mnt/Phase_7/oracleclient/10g/product/10.2.0/rdbms/public -ggdb testapp.C -o testapp -L/mnt/Phase_7/oracleclient/10g/product/10.2.0/lib -locci -lclntsh
Development Environment:
g++ (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-47)Here is the stack trace as you suggested I post.
(gdb) run
Starting program: /home/pflore/WorkBench/src/OCCI/src/testapp
[Thread debugging using libthread_db enabled]
[New Thread -1342263168 (LWP 17180)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1342263168 (LWP 17180)]
0x00e1ae4c in OCIPClearMxCtr () from /mnt/Phase_7/oracleclient/10g/product/10.2.0/lib/libclntsh.so.10.1
(gdb) where
#0 0x00e1ae4c in OCIPClearMxCtr () from /mnt/Phase_7/oracleclient/10g/product/10.2.0/lib/libclntsh.so.10.1
#1 0x0016de00 in oracle::occi::OCCIErrorGet ()
from /mnt/Phase_7/oracleclient/10g/product/10.2.0/lib/libocci.so.10.1
#2 0x001636e6 in ZN6oracle4occi16SQLExceptionImplC9EPvS2i ()
from /mnt/Phase_7/oracleclient/10g/product/10.2.0/lib/libocci.so.10.1
#3 0x00164448 in oracle::occi::SQLExceptionImpl::SQLExceptionImpl ()
from /mnt/Phase_7/oracleclient/10g/product/10.2.0/lib/libocci.so.10.1
#4 0x00165a84 in oracle::occi::SQLExceptionCreate ()
from /mnt/Phase_7/oracleclient/10g/product/10.2.0/lib/libocci.so.10.1
#5 0x00165e85 in destr_detour0 () from /mnt/Phase_7/oracleclient/10g/product/10.2.0/lib/libocci.so.10.1
#6 0x08049268 in main () at testapp.C:24
(gdb) frame 6
#6 0x08049268 in main () at testapp.C:24
24 env=Environment::createEnvironment(Environment::OBJECT);
(gdb) -
Hi Team,
After upgradataion ,In testing phase- after search ,in result view we are getting some unwanted data ' +++++" should be added in Name .how to remove it.can you please help.
I want to remove ++++ in that column.Hi Kalpana,
Please provide additional information for community users to relate this issue. Info like versions (old & new), the object which has this problem or component/view name will be useful to get the answers.
Regards,
Shobhit -
After SocketChannel.close, must call Selector.wakeup
When I am reading from a tcp socket using NIO channels & selectors, I have the following problem when I go to close the channel.
If I close the channel in the thread where I called selector.select(), then the channel is closed and the client application gets the event that the channel was closed.
However, if I do the reading in a seperate thread, after calling channel.close(), I must call selector.wakeup() or the socket is not closed.
Any idea what is going on?
thanks - daveThe main point of NIO is that you don't need multiple threads to read and write multiple sockets. You can use multiple threads, but it complicates things. After you close a channel you must let the select run one more time, this is the reason that I try to close channels from the thread that is running the select. You probably already have a queue of runnables to process interestOps and register in the select thread. You should use that for the close activity as well.
I've posted a lot of topics on NIO, that cover this and other tricks of using NIO. Here are the most useful.
Taming the NIO Circus, NIO Server Example, NIO Client Example -
I use EJB3, JPA, JSF in my web application. There are 2 database tables: Teacher and Student. A teacher can have many (or none) students and a student can have at most 1 teacher.
I have a JSF page to print the teacher info and all his students' info. I don't want to load the students' info eagerly because there's another JSF page I need to display the teacher info only. So I have a stateful session bean to retrieve the teacher info and all his students' info. The persistence context in that stateful session bean has the type of PersistenceContextType.EXTENDED. The reason I choose a stateful session bean and an extended persistence context is that I want to write something like this without facing the lazy initialization exception:
<h:dataTable value="#{backingBean.teacher.students}" var="student">
<h:outputText value="${student.name}"/>
</h:dataTable>Because my session bean is stateful, I have a method with the @Remove annotation. This method is empty because I don't want to persist anything to the database.
Now, my question is: How can I make the @Remove method of my stateful session bean be called automatically when my JSF page finishes being rendered?Philip Petersen wrote:
I have a few questions concerning the EJB remove method.
1) What is the purpose of calling the remove method on stateless session
bean?There isn't one.
>
2) What action does the container take when this method is called?It checks that you were allowed to call remove (a security check) and then
just returns.
>
3) What happens to the stateless session bean if you do not call the remove
method?Nothing
>
4) Is it a good practice to call the remove method, or should the remove
method be avoided in the case of stateless session beans?
Personally, I never do it.
-- Rob
>
>
Thanks in advance for any insight that you may provide.
Phil--
AVAILABLE NOW!: Building J2EE Applications & BEA WebLogic Server
by Michael Girdley, Rob Woollen, and Sandra Emerson
http://learnWebLogic.com
[att1.html] -
SQLException after end of result set
hi guys.
im in a lot of bother at the moment.
i have a GUI with a database in mysql. my gui is a recommender system and so users need to log in etc...
i know for certain that the gui does connect to the database because when a new user enters there details it does get updated in the database.
my problem is that when the user tries to gain acces to the system by going to the 'current user' and entering there details nothing happens.
i am finding it very difficult to find out what the problem is, i have been trying for over a week but no luck and im hoping somebody will know how to help me.
please could somebody help me here, i have a very short time aswell. monday.
here is my code below.
thank-you very much for your help
its not normal to post the whole class here but im really really stumped.
the errors that appears in the dos window is SQLException After end of result set.
* Function: This class is used for loggin in. It looks for the user name and password *
* the user enters in the database. If there is no match an error message will appear *
* to the user. If there is a match the system logs the user in and dispalys the chose *
* topic page *
import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
import com.mysql.jdbc.Driver;
import java.sql.*;
import java.awt.BorderLayout;
import java.io.IOException;
public class CurrentUserFrame extends JPanel implements ActionListener {
// private is used so object variables cannot be changes by another class.
private JButton loginButton = null ;
private JTextField userName = null ;
private JTextField password = null ;
private JLabel userLabel = null ;
private JLabel passwordLabel = null ;
Boolean loginSuccess ;
private JPanel cardPanel = null ;
public CardLayout cardLayout = null ;
protected static com.mysql.jdbc.Driver mysqlDriver = null;
String passwordDbase ;
String usernameDbase ;
private CardLayout getCardLayout () {
if (cardLayout == null ) {
cardLayout = new CardLayout () ;
return cardLayout ;
private JPanel getCardPanel () {
if (cardPanel == null) {
cardPanel = new JPanel () ;
return cardPanel ;
// creates the background colours for the panels by specifying the amounts of red
// green, blue where 0.5F is the least amount and 1.0F is the most
Color currentTitleColor = new Color (0.58F, 0.73F, 0.83F) ;
Color currentMainPanelColor = new Color (0.980F, 0.973F, 0.843F) ;
public CurrentUserFrame ()
setLayout (new BorderLayout ()) ;
JPanel mainCPnl = new JPanel () ;
mainCPnl.setLayout (new BorderLayout ()) ;
JPanel mainPanel = new JPanel () ;
// maindisplaypanel will be set with a borderlayout
mainPanel.setLayout (new BorderLayout ());
JPanel descriptionPanel = new JPanel ();
descriptionPanel.setLayout(new BorderLayout ());
// creates a textarea for the title and description
JTextArea description2 = new JTextArea ("\t\tCurrent User Page\n\n" +
"Please enter your user name and password to login.\n\n" +
"If you have forgotten your user name or password click on " +
" 'FORGOT PASSWORD'.") ;
// stops the text area being edited by the user
description2.setEditable (false) ;
// once the text in description reaches the end of the textarea it will start a new line
description2.setLineWrap (true) ;
//sets the background colour of the textarea
description2.setBackground (currentTitleColor) ;
//sets the type of font with its size for the description textarea
description2.setFont (new Font ("TimesRoman", Font.BOLD, 16)) ;
// the descriptionpanel will be placed in the mainpanel at the top.
mainPanel.add (descriptionPanel, BorderLayout.NORTH) ;
descriptionPanel.add(description2, BorderLayout. NORTH) ;
JPanel currentUserPanel = new JPanel () ;
currentUserPanel.setLayout (new BoxLayout (currentUserPanel, BoxLayout.Y_AXIS)) ;
// creates a button with an actionlistener so t can carryout a task when it is pressed.
// the settooltiptext () method displays a message when the user hovers over the button with the curser
loginButton = new JButton ("Log In") ;
loginButton.addActionListener(this) ;
loginButton.setToolTipText ("Logs you into the system") ;
// creates a text field which is 25 characters in length for the user to enter their name
userName = new JTextField (25) ;
// creates a text field which is 15 characters in length for the user to enter their password
password = new JPasswordField (15) ;
userLabel = new JLabel ("User Name") ;
passwordLabel = new JLabel ("Password") ;
//adds the text fields and the JLabels to the currentuserPanel
currentUserPanel.add (userLabel) ;
currentUserPanel.add (userName) ;
currentUserPanel.add (passwordLabel) ;
currentUserPanel.add (password) ;
currentUserPanel.add (loginButton) ;
JPanel loginPanel = new JPanel () ;
loginPanel.setLayout (new FlowLayout (FlowLayout.CENTER, 0, 170)) ;
loginPanel.setBackground (currentMainPanelColor) ;
loginPanel.add (currentUserPanel, BorderLayout.CENTER) ;
mainPanel.add (loginPanel, BorderLayout.CENTER) ;
JPanel chooseTopicCard = new JPanel () ;
chooseTopicCard.setLayout (new GridLayout (0, 1, 0, 10)) ;
ChooseTopic frame8 = new ChooseTopic () ;
frame8.setVisible (true) ;
chooseTopicCard.add(frame8) ;
// this will create the panel for the maincontent area and sets the layout
JPanel cp = getCardPanel();
cp.setLayout(getCardLayout());
cp.add("card3",mainPanel) ;
cp.add("card7", chooseTopicCard) ;
cardLayout.show (getCardPanel () , "card3") ;
// this adds the cardlayout to the main panel and then adds the mainpanel screen
mainCPnl.add(cp) ;
this.add (mainCPnl) ;
public void actionPerformed (ActionEvent event) {
Object source = event.getSource () ;
if (source == loginButton) {
// creates a string to connect to the local host and database
// the following 10 lines of code is from the mysql website
String url = "jdbc:mysql://:3306/project" ;
Connection con = null ;
// com.mysql.jdbc.Driver is a folder downloaded from mysql website
try {
mysqlDriver = (com.mysql.jdbc.Driver) Class.forName ("com.mysql.jdbc.Driver").newInstance () ;
} catch ( Exception E) {
throw new RuntimeException ("Can not load driver class com.mysql.jdbc.Driver") ;
try {
// attempts a connection with the computer
// root is used as a default so i can have full access to the database
con = DriverManager.getConnection (url,"root","") ;
// trys to log in to the database
// statement is a mysql class
Statement select = con.createStatement ();
ResultSet result = select.executeQuery ("select * from user_login") ;
String userNameText = userName.getText();
String passwordText = password.getText();
if (userNameText.equals("") || passwordText.equals("")) {
JOptionPane okoptionpane = new JOptionPane () ;
okoptionpane.showMessageDialog(null, "You have entered your username or password incorrectly, please try again") ;
while ((result.next()) && (result != null))
//String usernameval ;
//String passwordval ;
passwordDbase = result.getString("password");
usernameDbase = result.getString("user_name");
//passwordDbase = "password";
//usernameDbase = "user_name";
if ((passwordDbase.equals(passwordText)) && (usernameDbase.equals(userNameText))) {
cardLayout.show(getCardPanel(), "Card7");
catch (Exception e) {
e.printStackTrace() ;
finally {
if (con != null ) {
try {con.close () ; }
catch (Exception e) {
e.printStackTrace () ;
LIZooppps, very sorry, you can guess im new to this forum. sorry again. i thought maybe the whole code was needed.
i have posted all the output from the dos window.
java.sql.SQLException: After end of result set
at com.mysql.jdbc.ResultSet.checkRowPos(ResultSet.java:3628)
at com.mysql.jdbc.ResultSet.getString(ResultSet.java:1763)
at com.mysql.jdbc.ResultSet.getString(ResultSet.java:1827)
" at CurrentUserFrame.actionPerformed(CurrentUserFrame.java:214) "
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknow
n Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
i think it is mainly line that is in speach marks. line 214.
the error that comes up says." after end of result set "
thank-you
and sorry once again, im in a bit of a panic,
Liz -
ITunes opens up right after I close it for Windows 8 Enterprise Edition
As stated iTunes opens immediately after I close it. We can step around the "it's a Windows 8 problem" or "why are you using Windows 8", beucase I've had aboslutely no problems with iTunes up untill today and I haven't had any problems with Windows 8 in genernal. It took me a day to get accostumed to it and I absolutely love it. I'm in IT at a college, and I'm just needing help with this issue. So now that that's out of the way, here's whats been going on, I just tried to install iOS 7 and I plugged in my iPad 2 to install the update and it iTunes needs to update to version 11.1.1. It had been a while since I had plugged my iPad 2 in. iTunes is not booting up with Windows and I am not having problems with it loading whenever I plug a device in. It is just running on it's own whenever I close it, that is all. Thanks in advance for any help.
Hi G. Thorson!
I have a couple of troubleshooting suggestions for you that may help you with this issue. This first article is written toward troubleshooting various issues in Windows installations of iTunes:
iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues
http://support.apple.com/kb/ts1717
If those troubleshooting steps do not resolve the issue, you may need to uninstall your version of iTunes on your computer and reinstall from the Apple website:
Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
http://support.apple.com/kb/HT1923
Apple - iTunes - Download iTunes Now
http://www.apple.com/itunes/download/
Take care, and thanks for visiting the Apple Support Communities.
-Braden -
I have problem with iTunes story (secure link to itunes store failed). I make In the "Command Prompt" screen, type in netsh winsock reset the itune story is solve but after i close itunes the problem is back
The results show that you have a proxy server set and this can often cause problems with iTunes.
The proxy setting can be accessed in Internet options>>Connections>>LAN Settings.
Try un-checking the proxy server check box.
It might also be a good idea to run a malware check if you didn't know you had the proxy server set.
You can download a free version of an excellent scanner- Malwarebytes here:
http://www.malwarebytes.org/ -
Deleted messages remove after one day (one week, one month) not working
Has anyone noticed that since the upgrade to iOS 7 automatic email cleanup does not seem to be working?
I have an IMAP email account set up with the following setting: Settings > Mail, Contacts, Calendars, [then tap the email account in question] > Account > Advanced > Deleted Messages Remove > After one week
I have had that configuration on my iPhone and iPad for a very long time, and it always deleted everything out of my deleted messages folder (which, on my system, is called Trash) that was older than one week. It would do this no matter when the message was actually deleted, and no matter whether I deleted it on my iPhone, my iPad, on a computer using Outlook, or through a web interface. (It actually would have been nice to retain a message I had just deleted for the one-week period in case I changed my mind; instead the way it worked was if I deleted a message that was received months ago, it would be removed from Trash almost right away. But it worked consistently.)
Now, since iOS 7, it does not appear to be cleaning out that folder at all. Has anyone else noticed this?
I'm not sure if it's not removing any messages, or if it's just not removing messages I delete on another platform (like Outlook). So today I've done a test with a specific message that I will watch over the next little while to see how it works. But in the meantime I thought I'd ask if anyone else has noticed this, and if there is a solution.Really nobody?
Is this working properly for people? It's not working for me on either my IMAP account or on an iCloud email accout, so I think iOS 7 broke something here. I've submitted a bug report on the feedback form, but it would be nice to know I'm not alone. -
the photos that I add to address book will only be there for a few seconds after I close the edit button. Either they go away completely or they are very small portion of the actual photo
Frank, thanks for your note. I wrote "COMPLETED" because I had gone to a lot of effort to get the content of the book precisely as I wanted it. I would fully expect to see my level of effort and care matched by functional competence in Aperture 3 to render the book the way I created it. Too much to ask?
And yes, I upgraded the Aperture 2 Library first. [Not ALL my tens of 000s of pix, because I use Lightroom selectively for photo editing. But Yes to the Aperture 2 Library.] That step took a number of minutes, but seemed to work fine (no error messages of any kind).
Then I opened the existing book project in Aperture 3, which followed some "magic-box" process that took a minute or so. As I said, when that step was done, by all appearances the book was ready to submit for printing - until I examined the photos a little more closely. You did see the blurry example I included, didn't you? That is what each and every photo looks like.
Text-box content appears to have been rendered pertectly, for the record (including captions).
So, ... is this result something you have heard of before? Do you know of a one-step solution? Or am I looking at an extended picture-by-picture fix? -
this has been going on for some time. 2 months maybe. i can hear the hard drive winding up/down after i close the window, and then comes a long narrow blue window stating what i have written.
See
* [[Firefox is already running but is not responding]]
Try closing any running instances of ''firefox.exe'' (and plugincontainer.exe) using something such as Task Manager. That should allow you to then restart Firefox.
As for iLivid. Possibly it also has associated apps or extensions with names not including the word iLivid. Looking at their own FAQs there are instructions to remove iLivid using the Windows Control panel, and mention of other bundled software that you may wish to remove. It seems it is more of a nuisacne rahter than out and out malware.
* see http://www.ilivid.com/faq.htm (page scrolls for more info) but includes:
How do I uninstall the software?
The software can be removed in a simple was like any other software:
Go to the Windows Start menu and then to Control Panel > Add/Remove ("Programs & Features" in Vista & Windows 7) and click "Remove" next to the software name (e.g iLivid Download manager / Windows iLivid Toolbar ).
During the installation bundle software are offered, each can easily be removed following those instructions: Uninstall Yontoo Addon , Uninstall Search Toolbar (powered by Bing) or Uninstall Babylon. -
How to call a method after a page complete load
Hi,
Environment: JSF1.2.12+Spring
I have a startpage, i will call a methode after startpage complete load. (I do not want to use javascript)
How can i implement it.
Edited by: zlzc2000 on Nov 6, 2009 2:53 AMgoal: optimize load startpage(accelerate to load startpage)
in startpage i use sql to load user's information, that in startpage is required.
in other page i need the complete User Object (hibernate load user Object).
i want to after dispay startpage load the user Object whith Hibernet.
if during load startpage with hibernate to load user object, that is too slow.
concept: 1step: with sql load user information (not full, for example: id, forename, surname,...)
2step: results display( load startpage )
3step: after load complete startpage, call method to load user object(it include all information of user )
then the user object can be uesed in anywhere in the future.
but i dont know how to impement it.
Edited by: zlzc2000 on Nov 6, 2009 3:37 AM -
HT1338 debugger called panic message after updating computer is now stuck?
debugger called panic message after updating my macbook pro...computer is stuck
Attempt to boot into Safe Mode If it does, download and run this app: http://www.etresoft.com/etrecheck
Post the results.
Also, open Console, click on System Diagnostic Messages in the log list, and see if the Kernel Panic log is there. If so, copy and paste the results here. -
How to call dialogs one after another?
First i have to call login dialog after successfull login call another dialog.
Can any one provide any refer for proceed further.Use WaitForDialog(). This returns once the first dialog is closes. Then determine if the login went well before opening the next.
Maybe you are looking for
-
How do I designate a number in one table and add them up in another.
Can someone please help me do this. I dont even know what to call it. Conditional categorization? I have a table with costs, and another table to separate them into categtroies as shown: I want to be able to enter a category in the green column, and
-
Scheduled a webi report and set it send to EMAIL.
Our customer found when they scheduled a webi report and set it send to EMAIL, it will cost much more time than usual after they have their SIA restarts. The first time it takes 4-5 times longer to receive a report in mailbox than next time onwards.
-
Two Incoterms for One Mtrl.
Hi, Can we maintain 2 incoterms for the same vendor/mtrl in the Info record. If it cannot be maintained, Then is there anyother way.? Please help asap. Regards. Venk@
-
Apple Remote Desktop 3.4 issue
Hi there, In Apple Remote Desktop 3.4 server I added a client computer by doing a scan by IP. Once the computer was added to a group I was able to take remote control, however after a few minutes I noticed the ARD console was having issues authentica
-
I have a table named eps95_contributions: emp_code curr_mon due_month contr_amt 100 200902 201001 400 100 200903 201001 500 100 200904 201001 600 200 200902 201002 200 200 200903 201002 300 200 200904 201002 400 I have another table: year_amt I want