Skip to content

Spring+Hibernate application template to be run from command line interface

Notifications You must be signed in to change notification settings

l0co/clibernate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clibernate

Simple Spring+Hibernate application template supposed to test some ideas from command line. In default configuration working with embedded H2 database (the engine and hibernate dialect can be switched in clibernate.properties).

  1. Create model classes derived from BaseEntity.
  2. Create repositories derived from BaseRepository.
  3. Create command line services derived from BaseCliService, parse command line options and perform actions.
  4. Build with mvn package.
  5. Run with java -jar clibernate-1.0-SNAPSHOT.jar [your_options] [your_service_name].

The example is included in TestCliService class.

About

Spring+Hibernate application template to be run from command line interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages