In order to realize the function of creating and accessing the dynamical database table based on Hibernate framework in runtime, we propose a method using XML and Java class compile and load function. First we define the dynamical database table structure based on XML, then the system creates the database table from the above definition, and produces the Hibernate mapping class and mapping file with the Velocity template technique. At last the system compiles Java mapping class and loads the class and the mapping file, thus we can access the dynamical database table through Hibernate which uses the mapping class and the mapping file. With the help of the method of creating and accessing dynamical database table the Hibernate-based applications can make most use of the benefits of Hibernate, and increase the development efficiency and system response speed. © 2012 Springer-Verlag GmbH Berlin Heidelberg.
CITATION STYLE
Guo, F., Liu, J., & Luo, X. (2012). A method of creating and accessing dynamical database table based on hibernate framework. In Advances in Intelligent and Soft Computing (Vol. 133 AISC, pp. 777–783). https://doi.org/10.1007/978-3-642-27552-4_102
Mendeley helps you to discover research relevant for your work.