Can any one tell whether the concept which i understood is correct or not
hai everyone
iam studying jdbc and this is what i understood about the basic concept .can any one tell whether the concept which i understood is correct or not
whenever the statement class.forName("driver class") is executed driver class is loaded and registered with drivermanager.Internally drivr class contains a static bloc which contains the following code
static
Driver drv=new name of driver class();
DriverManager.registerDriver(drv);
whenever the statement class.forName("driver class") is executed,static bloc is executed first and driver class is registerd.
concept as i understood about DriverManager:
suppose there may be situations where an application developed in java has to deal with one or several databases and this is accomplished with one or different driver classes.so all these driver classes are to be managed and this is done by DriverManager class and in order to make the driver class itself known to the driver manager we have to register the driver classes with the help of registerDriver() method of DriverManager class because DriverManager is the class which will attempt to load the driver classes into memory..
If we look at the last statement: DriverManager is the class which will attempt to load the driver classes into memory.Here i have some doubt if DriverManager class loads the driver class after registering the driver class then what does the statement class.forName("driver class") will do which is also used to loaad the driver class.
what i understood is since the responsibility of loading the class is done by class.forName("driver class") only registering of the driver class is done as the class is alredy loaded.
help me to clear my confusion
thanks in advance
hai everyone
iam studying jdbc and this is what i understood about
the basic concept .can any one tell whether the
concept which i understood is correct or not
whenever the statement class.forName("driver class")
is executed driver class is loaded and registered
with drivermanager.Internally drivr class contains a
static bloc which contains the following code
static
Driver drv=new name of driver class();
DriverManager.registerDriver(drv);
}That's supposed to be the case, but there's no way to guarantee that every driver actually has that static init. I don't think I've ever run across one that doesn't, though, so, yes, you're basically correct.
whenever the statement class.forName("driver class")
is executed,static bloc is executed first and driver
class is registerd.When you do Class.forName(), the class is loaded and initialized. Whenever you initialize a class, its static init blocks are executed, yes.
concept as i understood about
DriverManager:
suppose there may be situations where an application
developed in java has to deal with one or several
databases and this is accomplished with one or
different driver classes.so all these driver classes
are to be managed and this is done by DriverManager
class and in order to make the driver class itself
known to the driver manager we have to register the
driver classes with the help of registerDriver()
method of DriverManager class because
DriverManager is the class which will attempt
to load the driver classes into memory..Except for that last part, yes.
DM keeps track of loaded drivers, and gives them a chance to parse the connection URL when you call getConnection. DM does NOT load the driver classes into memory, however. That's done when you call Class.forName.
what i understood is since the responsibility of
loading the class is done by class.forName("driver
class") only registering of the driver class is done
as the class is alredy loaded.Right.
Similar Messages
-
Can any one tell me the difference between third party sales & intercompany
Hai
can any one tell me the difference between third party sales & intercompany billing
regHi,
In THIRD PARTY, Goods are sent to customer from the Vendor and no Delivery happens from Company Plant
In THIRD PARTY, We will Pay to the Vendor and Bills Customer.
In THIRD PARTY, the PR will be generated automatically from the Sales order
In INTERCOMPANY Process, Goods are sent to customer from the Supplying Company code to which an order was placed from the Ordering Company code
In INTERCOMPANY,, Plant of the supplying company code will be assigned to the Ordering Sales Organisation
In INTERCOMPANY , We Bills the customer and settles to the SUPPLY COMPANY CODE
We will use two Pricing procedures, One Normal pricing and other is INTERCOMPANY pricing procedure.
These are the Major differences.
Please check these and revert back if you need more details
regards,
santosh -
Can any one tell me the exact procedure of how to update XPERIA NEO V using both PC companion and SUS.
Please provide required link also for SUS and step by step procedure for the same.
It will be really helpful.SUS http://www.sonymobile.com/global-en/tools/update-service/
You just need to connect your mobile to pc companion follow the onscreen instructions
Use pc companion
http://www.sonymobile.com/global-en/tools/pc-companion/
Discussion guidelines.
Message me or any other moderator to seek help regarding moderation. -
Hi Legands, Can any one tell me the link from where i can download ADI
Hi Legands,
Can any one tell me the link from where i can download ADI
Thank's
BachanHello Prasanth,
Try this link for ABAP HR FAQ :
[SAP ERP Human Capital Management (SAP ERP HCM);
Good Luck,
Boaz -
Can any one tell me the difference between VK11 and MR21
Hi Folks,
I have changed price of a material using VK12.
When I go to the transaction MR21, it is still showing the old price.
Can any one help what is the difference between VK11 and MR21.
And i which scenarios these two were used?
Thanks in Advance
Gopi KrishnaHii,
VK11: This is price master record to determine the sale price or discounts or freight or taxes which we going to charge to the final customer. Through this transaction we will determine the price automatically either in sales or billing document. These transaction is only applicable for sales & distribution module for determining the pricing for customers.
The price determined through this we use in revenue realisation.
MR21: Through this trnsaction Finance or Cost users upload the cost of the material. The cost is
Standard Cost or Moving average cost.
Cost= Raw Material CostProcessing Cost(product process cost )Overheads(employee salaries)
This cost is maintained at each material master in accounting view either standard cost or moving average cost.
These cost is determined for every material movement within the company.
Example: Production, transfer posting, goods issue- system post the quantity and at the same time system create an inventory entry i.e accounting entry for the transaction. In this accounting entries, system consider the values from material master for generating accounting entry.
If you upload production for 10 MT of material A and in material master if kept the cost of the material as 1000 then the accounting entry in production time as
Finish Goods Dr 10000
To Cost of Production Cr 10000
These cost also determined sales transaction through VPRS condition type.
Rewards if it helps
Regards
Goutham -
Can any one Tell me how i write std routine if i dont authorization in VOFM
Dear Guru ,
I Have Encountered An Technical Issue while writing routine RV61A943 and RV64A978.
Using access key I have unlocked above two routine to write Pricing Procedure's Requirement (in RV61A943) and Formula for Condition Value (in RV64A978) in se38 .
But when i am trying to make some changes in routine RV61A943 or in routine RV64A978 using SE38 I am not able to write any code within it.
So Sir I want to know in which way i have to write the routine -- Using VOFM or can write using SE38 itself.
(Initially I tried using VOFM to write the routine in development server But I found doesnot have authorization of VOFM in development server)
Can any one tell me the full technical procedure to writing the routine..
Pls help.
Thanks & Regards
Saifur RahamanHi,
You need to ask for authorization of VOFM then only u can make changes to routined.
Reward if useful.
Regards
Susheel -
Can any one tell me difference between 2 dates in days
hi guys,
can any one tell me the difference between 2 dates in days
for eg: input 20.12.2006 and 06.11.2006 will be 34.
thanks in advance for you answers
Regards,
Anil kumar PHi Anil,
Check this code for u r requirement
REPORT ZDATEDIFF.
DATA: EDAYS LIKE VTBBEWE-ATAGE,
EMONTHS LIKE VTBBEWE-ATAGE,
EYEARS LIKE VTBBEWE-ATAGE.
PARAMETERS: FROMDATE LIKE VTBBEWE-DBERVON,
TODATE LIKE VTBBEWE-DBERBIS DEFAULT SY-DATUM.
call function 'FIMA_DAYS_AND_MONTHS_AND_YEARS'
exporting
i_date_from = FROMDATE
i_date_to = TODATE
I_FLG_SEPARATE = ' '
IMPORTING
E_DAYS = EDAYS
E_MONTHS = EMONTHS
E_YEARS = EYEARS.
WRITE:/ 'Difference in Days ', EDAYS.
WRITE:/ 'Difference in Months ', EMONTHS.
WRITE:/ 'Difference in Years ', EYEARS.
INITIALIZATION.
FROMDATE = SY-DATUM - 60. -
Hi
Can Any one tell me. System considering the Sales District also in Delivery Split which is not in standard. How to resolve this. Please help meDear Srikanth,
I am not sure, if my answer will satisfy you, but anyway I will try:
Field Sales District is technically called BZIRK. In delivery structure is this field located in header (table LIKP), what cause split, if origin document (Sales Order) has different Sales District in some positions. This is standard program behavior. Basically it shouldn't happen, as value is taken from customer master (Sold-to Party) and copied to header and items of sales document. But user can manually changer for particular items.
Well, to solve situation you have few ways:
1. Do not allow users to change value on items - can be managed by organizational decision or by authorization concept.
2. If there is a reason to have different Sales District in items, then it can be managed in in routines for copy control between sales and delivery documents (delete value of BZIRK for all items for instance). But then will be this information lost for further usage. It seems to me to invoice is value copied directly from sales order (field VBRP-BZIRK_AUFT) then it mustn't be a critical for analyses.
3. Your situation also can happen if you wants to collect more sales documents to one delivery. In this case can be that Sales District is different for same customer in different sales order (even seems to be little bit strange). Then solution from point 2 can help as well, I believe.
Best Regards
Arnost -
Can any one tell me how to attach a pdf file to the mail through workflow
I have a smart which i am able to convert it to a pdf file...now.. can any one tell me how to attach a pdf file to the mail through workflow
Hi,
To create the task for attachment
Use the BOR SELFITEM and method NOTES_APPEND.
The out come of this task contain a link called attachment with a clip attached. Clisk on that icon and choose the type of attachment u want . RAW , EXCEL , TXT , PDF... Then using the import icon u can attach the document u like.
But the TYPE : OBJ.
Similarly using NOTE_DISPLAY method u can display the documents u like.
In any work item u have the facility to attach any atttchment for further circulation .
Attchment @ WORKITEM
1.Click the workitem for which you want to create the attchment
2.Press create attachment
3. Add the attachment u like (PDF)
Reward points for useful answer.
Richard A -
Can any one tell me on which fields shell i put join . specially in likp
Hi,
I have to create dispatch intimation report. tables i m using r vbrk,vbrp,likp,liks,vbpa,kna1(for customer name ref to likp),lfa1(for transporter name, makt (for material description.).
Can any one tell me on which fields shell i put join . specially in likp , vbrp and lips.
i am not getting desired output.i m joining vbrp and likp by vbeln and vbelv.
Regarda,
ranuHello,
In the Billing document at Item level there is a reference field which contains the Delivery document number . VBRP-VGPOS
Or else,
You can also get the delivery number from the VBFA which is the document flow, From the VBRK get the VBELN number and enter the value in the VBFA and give the document category as J which lists the Delivery document
Pick the Delivery number and goto LIPS and get the value which you require.
thanks,
santosh -
Can any one tell me how can I move to a different folder pictures, that I've cloned, without them staying aggregated? They all come together to the other folder and I don't want that… thanks
There's more to it than that.
Folders in Aperture do not hold Images. They hold Projects and Albums. You cannot put an Image in a Folder without putting it in a Project or an Album inside that Folder.
The relationship between Projects and Images is special: every Image must in a Project, and can be in only one Project.
Images can be in as many Albums you want. Putting an Image in an Album does not move it from the Project that holds it.
You can make as many Versions from a Master as you want.
What you want to do may appear simple to you, but it still much adhere to how Aperture works. I still can't tell exactly what you are trying to do (specifically: Images don't live in Folders; moving an Image from a Folder is non-sensical).
It can be very confusing (and frustrating) to get going with Aperture -- but it does work, and can be enormously helpful. If you haven't, take a look at the video tutorials on Apple's Aperture support site.
I feel as though I haven't helped you much -- but we need to be using the same names for interface items in order to get anything done -- and my sense is that you still haven't learned the names of the parts. -
Can any one tell me how to write the properites files and how to acces
can any one tell me how to write the properites files and how to acces thoose files
plz let me no
thanks in advancehttp://www.exampledepot.com/egs/java.util/Props.html
-
Can any one tell me how to stream the images in flash.
Hello Friends,
i have created a dynamic page flip book with xml, i want to
zoom the images in swf loaded, with streaming, so that user can
preview the image while a good quality image is loading. I wanna
know that how to load a part of large image or swf.
Image effect like :-
http://www.zoomify.com/
Can any one tell me how to stream the images in flash.On Thu, 17 Apr 2008 05:53:27 +0000 (UTC), "FlashDavil"
<[email protected]> wrote:
>I wanna know that how to load a
>part of large image or swf.
You show a preview and use loadMovie() to load a big file.
You can
create a preloader (progress bar) showing how much part is
loaded,
while user sees the small image. When you achieve 100% tou
show that
big image. What's more?
> Can any one tell me how to stream the images in flash.
What are you talking about is not a "streaming", but
"progressive
download". Images "streaming" is impossible. -
Can any one tell me how to remove the 3 buttons at the top of a dialog?
Hi all
Can any one tell me how to remove the 3 buttons at the top of a dialog?
The Close, Minimize and the other I don�t know what you call that one.
Thanks for you time All
Have a great day
CraigTry http://java.sun.com/docs/books/tutorial/uiswing/components/frame.html#setDefaultLookAndFeelDecorated
-
Can any one tell me how to include the company logo and some poictures into the Teststand report
1. Can any one tell me how to include the company logo and some pictures into the Teststand report?
2. How to include the waveforms into the report?http://zone.ni.com/devzone/cda/epd/p/id/3619
jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~
Maybe you are looking for
-
How do i put a cover on the album when the album isnt a part of the itunes store?
How do i put a cover on the album when the album isnt a part of the itunes store?
-
In case of emergency (ICE) number should be directly accessable from lock
I've submitted this into the iPhone feedback... how do you think this should be implemented? == At this moment there is no way to direct access a 'In case of emergency' ICE or see business owner message (like 'this iphone is property of') on the lock
-
Setting up report positions manually
Is there a good way to do this? I swear somewhere I've seen a (forgive me) Dreamweaver like tool where we can move things around and align them just as we want them to appear. I am trying to produce one table with 5 sql queries, and if I could simply
-
Ho acquistato Adobe Premiere Elements 9 per Mac OS X 10.5.8, con scheda grafica GeForce 8800 GT. Dopo aver aggiornato il software ed effettuato l'installazione con successo, i file video e audio importati e trascinati nella timeline, pur visibili su
-
Using a 3D matrix with a matlab script block
Hi all of you, it is possible to input a 3D matrix (e.g. 10x4x20) to a matlab script block or you have to unfold this data in a 2D array? Do you know what i have to do to input directly a 3D array (array of real numbers) to a matlab script block. P.D