Search Results

Showing results 1 to 31 of 31
Search took 0.00 seconds.
Search: Posts Made By: srs_grp ; Forum: Java and child forums
Forum: Java Mar 9th, 2009
Replies: 1
Views: 207
Posted By srs_grp
I have 3 tables . the tables are connected with Foreign keys

I want to delete some records but as they are interconnected by foreign keys i have to delete all of the dependencies.

how to do...
Forum: Java Feb 14th, 2009
Replies: 2
Views: 309
Posted By srs_grp
Hello,
I am using a Jtable in my application.I am entering values in last column of that table.Below the table, i have a Jbutton named as 'Save'.Suppose while clicking on 'Save', the entire...
Forum: Java Feb 13th, 2009
Replies: 2
Views: 408
Posted By srs_grp
hello,
I am using byte array to store values in it & then i am storing that
byte array into database using


st.setBytes(1,myBytearray);



while retreiving values it works fine if...
Forum: Java Feb 9th, 2009
Replies: 3
Views: 299
Posted By srs_grp
yes.. but the problem is where should I perform this check,so that I can immediately inform user abt constraint violation.
Forum: Java Feb 9th, 2009
Replies: 3
Views: 299
Posted By srs_grp
Hello,
I want to check uniqueness of id at the time of entry only.And I want to give message to the user at that time only.How to do this?
Forum: Java Feb 2nd, 2009
Replies: 2
Views: 615
Posted By srs_grp
Hi!!
I have created JTable with fixed no of rows and columns.Then depending upon some conditions I want to hide one column,but the methods removeColumn or setting maxWidth to 0 are not working.I...
Forum: Java Jan 19th, 2009
Replies: 1
Views: 404
Posted By srs_grp
stm =con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
rs=stm.executeQuery(qry);
rs.last();
String s=rs.getString(1);



I have backend as sybase.
But...
Forum: Java Jan 16th, 2009
Replies: 2
Views: 514
Posted By srs_grp
I want to connect to sybase from java using jdbc:odbc bridge..
Which driver should I use like I have used "ODBC for Oracle"
Plz help..
Forum: Java Jan 14th, 2009
Replies: 2
Views: 662
Posted By srs_grp
We want to write byte array to a file.The code given below works correctly for only one byte array.When we try to write more than one byte array,the previous byte array gets overwritten.
How can we...
Forum: Java Jan 10th, 2009
Replies: 1
Views: 542
Posted By srs_grp
We have 3 classes.In first class,we have a content pane and we have created object of second class on it.In second class,we have
added a few textfields.We want that all these textfields of second...
Forum: Java Jan 6th, 2009
Replies: 0
Views: 306
Posted By srs_grp
-1
Help
I have byte array that contains (49 50 58 57 57).
I'm storing this byte array in blob by using setBytes() method of
preparedStatement.
But in database,it is stored in different manner...
Forum: Java Jan 6th, 2009
Replies: 1
Views: 251
Posted By srs_grp
In following code ,I have initialized column to empty blob. But when I try to retrieve the blob,i get an exception.Can anybody help me out??
_____________________________________________________
...
Forum: Java Jan 5th, 2009
Replies: 5
Views: 1,205
Posted By srs_grp
how could I instantiate blob object.
Forum: Java Jan 5th, 2009
Replies: 5
Views: 1,205
Posted By srs_grp
Hi!!

I want to insert byte array in database schema as follows:
table message
{
msgid number(5),
messagevalue BLOB
};

I have done this in following way...
Forum: Java Jan 1st, 2009
Replies: 9
Views: 3,544
Posted By srs_grp
Actually I want 2 convert it into integer manually.
Forum: Java Jan 1st, 2009
Replies: 9
Views: 3,544
Posted By srs_grp
I have a byte array has follows:

0 6 -56 28

How can I get its integer value by doing a manual calculation?
Forum: Java Jan 1st, 2009
Replies: 1
Views: 589
Posted By srs_grp
Hello!!
I have a ByteBuffer & I want to send it on tcp or udp connection.
How can I do this?
Forum: Java Dec 30th, 2008
Replies: 8
Solved: Conversion
Views: 656
Posted By srs_grp
Thank you very much!!!
Forum: Java Dec 29th, 2008
Replies: 1
Views: 423
Posted By srs_grp
Can anyone give me code for conversion of IEEE-754 representation of binary float to decimal number?
Forum: Java Dec 29th, 2008
Replies: 8
Solved: Conversion
Views: 656
Posted By srs_grp
I have IEEE754 representation of real number 2.5 as follows:
01000000001000000000000000000000

How can I retrieve 2.5 back from this representation?
Forum: Java Dec 28th, 2008
Replies: 8
Solved: Conversion
Views: 656
Posted By srs_grp
actually I mean binary(IEEE754 format) representation of real number.
Forum: Java Dec 28th, 2008
Replies: 8
Solved: Conversion
Views: 656
Posted By srs_grp
how to convert binary float to decimal float?
Forum: Java Dec 26th, 2008
Replies: 3
Views: 596
Posted By srs_grp
I have a string as follows:

'mnp1011000jie'

I want to retrieve contents of the string as follows:
1st field: mnp
2nd field: 101 (which signifies the binary representation of 5)
3rd field:...
Forum: Java Dec 25th, 2008
Replies: 4
Views: 2,144
Posted By srs_grp
Forum: Java Dec 25th, 2008
Replies: 4
Views: 2,144
Posted By srs_grp
What we have tried is as follows:

String binary=Integer.toBinaryString(Float.toRawIntBits(1.1));
Forum: Java Dec 23rd, 2008
Replies: 4
Views: 2,144
Posted By srs_grp
How can i convert float or double to binary?
Forum: Java Dec 21st, 2008
Replies: 6
Views: 1,818
Posted By srs_grp
i have stored binary representation of some value in above string.
In above example i want to retrieve specifically "01010111".
Forum: Java Dec 21st, 2008
Replies: 6
Views: 1,818
Posted By srs_grp
Suppose i have a string which contains some binary data as follows:

"bac01010111pqr14 "

how can i retrieve binary data from this string using java?
Forum: Java Dec 17th, 2008
Replies: 7
Views: 1,475
Posted By srs_grp
i have tried to import "nio" package in my program but it is giving error as follows:

chk.java:2: package java.nio does not exist
import java.nio.*;
^
1 error


I am using jdk1.4.2 edition?...
Forum: Java Dec 17th, 2008
Replies: 7
Views: 1,475
Posted By srs_grp
We want to compose message as follow.
for example...

symbol : 5 bytes : alphanumeric
action : 1 byte : alphanumeric
time : 7 bytes : alphanumeric
mc id : 1 bytes : alphanumeric
prize : 10...
Forum: Java Dec 16th, 2008
Replies: 7
Views: 1,475
Posted By srs_grp
i want to write a code for big endian and little endian represntation of message.The msg is trading message.How can i do it with core java?

also how can i check data type validity of input given...
Showing results 1 to 31 of 31

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC