Forum: Java Mar 9th, 2009 |
| Replies: 1 Views: 197 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: 299 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: 386 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: 286 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: 286 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: 587 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: 360 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: 452 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: 595 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: 459 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: 292 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: 243 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,077 how could I instantiate blob object. |
Forum: Java Jan 5th, 2009 |
| Replies: 5 Views: 1,077 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,018 Actually I want 2 convert it into integer manually. |
Forum: Java Jan 1st, 2009 |
| Replies: 9 Views: 3,018 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: 511 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 Views: 630 |
Forum: Java Dec 29th, 2008 |
| Replies: 1 Views: 369 Can anyone give me code for conversion of IEEE-754 representation of binary float to decimal number? |
Forum: Java Dec 29th, 2008 |
| Replies: 8 Views: 630 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 Views: 630 actually I mean binary(IEEE754 format) representation of real number. |
Forum: Java Dec 28th, 2008 |
| Replies: 8 Views: 630 how to convert binary float to decimal float? |
Forum: Java Dec 26th, 2008 |
| Replies: 3 Views: 544 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: 1,921 |
Forum: Java Dec 25th, 2008 |
| Replies: 4 Views: 1,921 What we have tried is as follows:
String binary=Integer.toBinaryString(Float.toRawIntBits(1.1)); |
Forum: Java Dec 23rd, 2008 |
| Replies: 4 Views: 1,921 How can i convert float or double to binary? |
Forum: Java Dec 21st, 2008 |
| Replies: 6 Views: 1,653 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,653 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,342 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,342 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,342 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... |
Forum: Database Design Sep 22nd, 2008 |
| Replies: 3 Views: 941 ////////////////////////
Actually for r project, we need to store fields having data type as ASCII characters and we are not getting how to do it? |
Forum: Database Design Sep 18th, 2008 |
| Replies: 3 Views: 941 Does SQL support ASCII data type?Or we need to do some type casting for it.? |
Forum: C++ Sep 18th, 2008 |
| Replies: 1 Views: 273 Hi!! We are planning to do r project in c++.
Is there any good library available for creating GUI in c++? |