Simple Orm Development

I want to develop a simple form that implements CRUD functionality. Please note that I use reflection? do libs, like sleep mode, use reflection? can using reflection cause a typo to a large extent?

+3
source share
6 answers

Yes, Hibernate uses reflection and annotations (or XML configuration files), but it will index and read all meta-information once (at startup). I would recommend, though, take a look at existing ORM solutions first, before you start rolling on your own.

+4
source

ORM DAO ( ). CRUD.

ORM :

, JPA (Java Persistence API) JPA.

+4

, , cglib, asm, javassit - ORM.

. ORM. ORM , , . . . , , ( ).

google " ORM", , ( ) . ( )

+2

, ORM- GAE gaedo. , . , ​​. , .

  • Reflection ORM, , . . , bean (, ORM Java Beans, beans no-arg). , Beans, , , . , , ,
  • , . , JDK, , (, - , -, ).
  • , . ( ), - .

, . , , , .

, , .

"Les castcodeurs" ( Java), - " reimplementation" Hibernate. , , , ,...

, , - .

+1

JLibs-JDBC.

ORM, xml

+1

, ; - . , , , (, , , ).

Hibernate, , , .

My recommendation is that you first write a working dead solution, and then start optimizing when you go.

0
source

Source: https://habr.com/ru/post/1736480/


All Articles