Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
~4K People Reached
Favorite Forums
Favorite Tags
java x 31
c++ x 1
Member Avatar for 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 this?

Member Avatar for masijade
0
99
Member Avatar for 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 row remains selected except the last cell in which I have entered the value.Then if I retrieve …

Member Avatar for stephen84s
0
98
Member Avatar for srs_grp

hello, I am using byte array to store values in it & then i am storing that byte array into database using [code] st.setBytes(1,myBytearray); [/code] while retreiving values it works fine if last byte value is not zero. But if it is zero, i think,last value is not getting saved …

Member Avatar for Ezzaral
0
174
Member Avatar for 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?

Member Avatar for stephen84s
0
176
Member Avatar for 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 am not getting any error. How can I do this?

Member Avatar for BestJewSinceJC
0
196
Member Avatar for srs_grp

[code] stm =con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE); rs=stm.executeQuery(qry); rs.last(); String s=rs.getString(1); [/code] I have backend as sybase. But above code is throwing an error as follows: [code] Error [Sybase][ODBC Driver][Adaptive Server Enterprise]HEADERFORMAT1 not found. Specify owner.objectname or use sp_help to check whether the object exists (sp_help may produce lots of output) [/code]

Member Avatar for stephen84s
0
182
Member Avatar for 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..

Member Avatar for Ezzaral
0
125
Member Avatar for 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 achieve this? [code] import java.io.*; import java.nio.*; import java.util.logging.FileHandler; import java.util.logging.Level; import java.util.logging.Logger; import …

Member Avatar for ~s.o.s~
0
143
Member Avatar for 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 class should be visible in third class.Third class also has its own GUI components(textfields). But the …

Member Avatar for puneetkay
0
129
Member Avatar for 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 But I am getting NULL pointer exception. //byte[] msgval .. contains byte values like 49 50 53 etc. Blob msg; msg.setBytes(1,msgval); // for …

Member Avatar for ~s.o.s~
0
121
Member Avatar for 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?? _____________________________________________________ [code] import java.sql.*; class test { public static void main(String[] args) { try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection conn= DriverManager.getConnection ("jdbc:odbc:dixit","scott","tiger"); PreparedStatement st=conn.prepareStatement("insert into survey values …

Member Avatar for masijade
0
118
Member Avatar for srs_grp

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 i.e, 31323A3939. When I try to retrieve value of this blob using getBytes() method, I'm getting output as …

-1
96
Member Avatar for 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?

Member Avatar for verruckt24
0
843
Member Avatar for srs_grp
Member Avatar for ~s.o.s~
0
132
Member Avatar for srs_grp
Member Avatar for srs_grp

Can anyone give me code for conversion of IEEE-754 representation of binary float to decimal number?

Member Avatar for masijade
0
87
Member Avatar for 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: 1000 (which signifies the binary representation of 8) 4th field: jie I know that binary integer requires 4 …

Member Avatar for verruckt24
0
171
Member Avatar for srs_grp
Member Avatar for 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?

Member Avatar for BestJewSinceJC
0
206
Member Avatar for 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 by user and data type is also provided by user. Both Data type …

Member Avatar for AlbertPi
0
228
Member Avatar for srs_grp

Does SQL support ASCII data type?Or we need to do some type casting for it.?

Member Avatar for dickersonka
0
88
Member Avatar for srs_grp

Hi!! We are planning to do r project in c++. Is there any good library available for creating GUI in c++?

Member Avatar for Alex Edwards
0
74