Spider's web

…share your own experience

Main menu

Skip to primary content
Skip to secondary content
  • About Me
  • ABAP
    • ALV tutorial
    • Design patterns
    • SAP Enhancement Framework
  • Java
  • Algorithms
  • Linux

Tag Archives: getDeclaredFields

Java – Map ResultSet to Object dynamically

Posted on 2014-01-14 by Spider
2

JavaDid you ever wanted  to implement simple mapping of database tables to java objects (models) and you wanted to do the whole stuff dynamically? I managed to put some code together which does exactly what you wanted Continue reading →

Share it with your friends:

  • Print
  • Email
  • Tweet
  • More
  • Share on Tumblr
  • Pocket
Posted in Database, Development, Java | Tagged annotation, database, getAnnotation, getDeclaredFields, isAnnotationPresent, reflection, ResultSet, ResultSetMetaData, setProperty | 2 Replies

Quote

  • Don’t cry because it’s over, smile because it happened. Dr. Seuss
View Miroslav Oprštěný's profile on LinkedIn
Please contribute to the operation and development of this website

Recent posts

  • ABAP – Get max value of variable type as PACKED number
  • ABAP – How to find out if a BAPI is used in BOR
  • ABAP – Load user-specific selection screen variant during program initialization
  • ABAP – Get X last characters of a string
  • ABAP – ALV with custom F4 field

Categories

  • Design Patterns (9)
    • Behavioral patterns (2)
    • Creational patterns (5)
  • Development (141)
    • ABAP (114)
      • ALV (16)
      • ALV tutorial (16)
      • APO (1)
      • CRM (1)
      • Customizing (16)
      • Dynpro (20)
      • IDOC (1)
      • SRM (1)
      • Transactions (2)
      • WebDynpro (2)
      • Wokflow (2)
    • Algorithms (19)
    • C# (1)
    • C++ (8)
    • Database (2)
    • HTML & CSS (1)
    • Java (8)
    • Perl (3)
    • Python (1)
    • Ruby (1)
  • SAP (14)
    • Finance (4)
    • Inventory Management (1)
    • Materials Management (5)
    • Sales & Distribution (4)
    • Warehouse Management (1)
  • Tools (35)
    • Infrastructure (18)
    • Linux (13)
    • Networking (5)
    • Software (12)
  • Uncategorized (7)

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
Proudly powered by WordPress
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.