Does any one have generic java code to handle any type of database application? Instead of having sqls, validation, error handling, transaction log, and other coding for every screen, why cant we have generic java clsses and just desing new screens and pass the field values....

Showing Answers 1 - 1 of 1 Answers

rabbi

  • Jul 1st, 2006
 

Actually I don' t understand ur question properly... Anyway, primary reason that generic types and methods (often referred to, simply, as generics) were added to the Java language ? to add compile-time type checking so the compiler can detect mismatched types at compile time, rather than runtime, when an exception is thrown.I don't understand what type of generic java code u need to handle any type of database application. You can handle Anytype of database application using Hibernet (Open source Application). It is a persist layer. You don't write any code for database application rather calling some methods of Hibernet Package.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions