• Post Reply Bookmark Topic Watch Topic
  • New Topic

Selected Collating Sequence Error  RSS feed

 
Nicky Eng
Ranch Hand
Posts: 378
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is my code:
------------
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection cnn= DriverManager.getConnection("jdbc dbc:CineHomeV2");
Statement ss= cnn.createStatement();
ResultSet rss=ss.executeQuery("SELECT Product_ID FROM Product_Stock");

while(rss.next()){
long pp= rss.getLong(1);
if(Long.parseLong(tf4ID.getText()) == pp){

JOptionPane.showMessageDialog(null,"Was defined already, try other ID","Wrong Entry", JOptionPane.ERROR_MESSAGE);

tf4ID.setText("");
}
} //end while
ss.close();
cnn.close();
} // end try
-------------------------
i get "Selected collating sequence not supported by operatint system"....why???
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!