Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yukihane/hibernate-jcons-code
https://github.com/yukihane/hibernate-jcons-code
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yukihane/hibernate-jcons-code
- Owner: yukihane
- Created: 2014-10-17T08:20:07.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-17T08:21:42.000Z (about 10 years ago)
- Last Synced: 2023-03-12T02:23:15.717Z (almost 2 years ago)
- Language: Java
- Size: 1.49 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.txt
Awesome Lists containing this project
README
Development Setup :: Project Hibernate Console
===============================================================================Prerequisites
-------------1. Get Mercurial from "http://mercurial.selenic.com/" and execute the
following statement to get a local clone:> hg clone http://hg.code.sf.net/p/hibernate-jcons/code hibernate-jcons-code
2. Download and install a JDK version >= "1.6.xx":
http://www.oracle.com/technetwork/java/javase/downloads/index.htmlSet up your environment JAVA_HOME, e.g. with:
set "JAVA_HOME=c:\Program Files\Java\jdk1.6.0"3. Download and install Maven 3.0.4:
http://maven.apache.org/docs/3.0.4/release-notes.htmlNote: JAVA_HOME must point to your local JDK-installation.
Verify with:
> mvn -vApache Maven 3.0.4
Maven home: c:\Program Files\Apache\apache-maven-3.0.4
Java version: 1.6.0, vendor: Sun Microsystems Inc.
Java home: c:\Program Files\Java\jdk1.6.0\jre4. (Optional) Download an IDE, e.g.:
- Eclipse / Spring Tool Suite
url: http://www.springsource.org/eclipse-downloadsOpen the project with:
File > Import > Maven > Existing Maven Projects
- IntelliJ IDEA
url: http://www.jetbrains.com/idea/Open the project with:
File > Open > "ROOT/pom.xml".
Create Run Configuration
- Find/Open HibernateContextTester.java
- Open context menu (right click on editor window)
- Context menu: Run / Run As > Java ApplicationBuilding & Running
------------------1. Building using Commandline
Make with:
> mvn
or
> mvn clean install
or including local site
> mvn clean install site
Deploy (including site to SF.net):
- mvn clean install deploy site-deploy2. Running
- Execute the Jconsole Plugin Hibernate Console:
> jconsole -pluginpath target/hibernate-jconsole-1.0.7-SNAPSHOT.jar -J-Xdebug\
-J-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000\
-J-Dhibernate.searchpath=modules/hibernate-tester/3-6-tester/target/libOptional Logging Setup:
-J-Djava.util.logging.config.file=logging.properties- Execute Test Application (that can be monitored)
> java -jar target/hibernate-3-6-tester-1.0.8-SNAPSHOT-cli.jar
Open process connection in the running jconsole choose
"HibernateContextTester" from the given selection click the last
tab "Hibernate Monitor"