Last active
October 23, 2015 08:04
-
-
Save cosbor11/7d8a8488e6f0e543d5b1 to your computer and use it in GitHub Desktop.
onyx database server application
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Configuration | |
| @EnableAutoConfiguration | |
| @EnableWebMvc | |
| @ComponentScan(basePackages = {"com.onyx"}) | |
| @EnableTransactionManagement | |
| @PropertySource(value = {"classpath:application.properties", "file:${user.home}/onyx/database.properties"}, ignoreResourceNotFound = true) | |
| public class SampleServer extends DefaultOnyxDatabaseApplication | |
| { | |
| public SampleServer() | |
| { | |
| this.setApplicationClass(SampleServer.class); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment