Results 1 to 1 of 1
- 08-31-2009, 04:49 PM #1Member
- Join Date
- Aug 2009
- Costa Brava
- Rep Power
Database JPA,JTA,Validator,etc. on JavaSE
Recently, I've started to develop in Java, I've already developed an small app using a legacy clipper DB. Now I want to develop another app using this time a MySql Database but I get stopped due an overflow of APIs.
Here is my small history. I started to use JDBC, as I've already worked on ODBC i thought it should be the easy way. Soon I've got tired of mapping tables, so I goggled an I found "JPA", so I tried. it makes lot of work for me but I don't believed so stupid is it. I've to do lots of try/catch to avoid problems like the entered string doesn't feed on DB field, and of course it doesn't fire until I commit, so it's too late to recover. I've to check by myself in order to avoid wrong data nor stupid try/catch. I goggled again and I found "Validator", seems to work but again it forces me to add all annotations to JPA describing field type, field size, if it is nullable or not, etc. I believe it's better to get the Database definition (JDBC/Query/Metadata) but from JPA i can't access. I've already fighter successfully with pessimistic locking, but now I can't find how I can get more than one transactions simultaneously.
I'm really tired to look for/try/get disappointed. Can some one give me a list of API's/frameworks/libraries I've to use to work with JavaSE in order to be able to concentrate my work on grafics/busines logic ?. also a good tutorial will be wellcome.
- By rjuyal in forum JDBCReplies: 1Last Post: 05-05-2008, 09:13 AM
- By Joe2003 in forum Advanced JavaReplies: 0Last Post: 02-07-2008, 06:23 PM
- By hobbyist in forum New To JavaReplies: 0Last Post: 01-26-2008, 01:31 PM
- By Felissa in forum Web FrameworksReplies: 1Last Post: 07-06-2007, 05:39 PM
- By Daniel in forum Web FrameworksReplies: 1Last Post: 06-25-2007, 06:29 AM