Notices by Roland Häder (roland) tagged jpa
-
Roland Häder (roland)'s status on Friday, 26-Aug-2016 14:08:06 CEST Roland Häder I wonder if #JPA can persist java.net.InetAddress ? Would be cool if so. cc !java -
Roland Häder (roland)'s status on Friday, 22-Jul-2016 13:31:43 CEST Roland Häder @mmn I like #JPA for a good reason, having no #SQL in your program but still be able to do queries (e.g. named queries) with #JPQL (Java Persistence Query Language) which is independent from underlaying database server. Theoretical you can switch from #MySQL to e.g. #PostgreSQL an it *should* work out-of-the-box as long as you don't use native (hard-coded) queries. -
Roland Häder (roland)'s status on Monday, 07-Mar-2016 22:01:00 CET Roland Häder This doesn't look like high performance to me, if the #JPA has to insert + update + delete (at least, plus necessary select statements). Any ideas how do I have to write it? Don't worry, it will be later #GPLv3 :-) -
Roland Häder (roland)'s status on Sunday, 06-Mar-2016 19:46:34 CET Roland Häder For the last 3 (!) days (including today) I tried to fix the problem that while the #JPA is merging (similar to UPDATE #SQL statement) entities, some tables got filled with new rows (search for "eclipselink insert instead update") which leaves orphaned rows behind. I could enable orphanRemoval=true but that only adds another performance penalty. So I decided to switch to #Hibernate instead of remaining with #EclipseLink. cc !java