This file contains 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
/* | |
jQuery's $("") function ist ein selector, mit dem man per css Selektor, | |
elemente auf der Page auswählen kann. Ist sehr performant und einfach zu nutzen. | |
jQuery wird durch den Scripttag in der index.html eingebunden. | |
*/ | |
var images = $("img"); | |
var fullscreenGallery = $('<div id="fullscreen-view"></div>'); | |
var galleryImageWrapper = $('<div id="image-wrapper"></div>'); |
This file contains 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
User specific aliases and functions | |
# get current branch in git repo | |
function parse_git_branch() { | |
BRANCH=`git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'` | |
if [ ! "${BRANCH}" == "" ] | |
then | |
echo " [${BRANCH}${STAT}]" | |
else | |
echo "" | |
fi |
This file contains 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
[Desktop Entry] | |
Type=Application | |
Encoding=UTF-8 | |
Name=Spring Tool Suite | |
Exec=/home/jhungershausen/eclipse/sts-3.9.2/sts-bundle/sts-3.9.2.RELEASE/STS | |
Icon=/home/jhungershausen/eclipse/sts-3.9.2/sts-bundle/sts-3.9.2.RELEASE/icon.xp | |
m |
This file contains 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
[Desktop Entry] | |
Type=Application | |
Encoding=UTF-8 | |
Name=Eclipse | |
Exec=/home/jhungershausen/eclipse/java-oxygen/eclipse/eclipse | |
Icon=/home/jhungershausen/eclipse/java-oxygen/eclipse/icon.xpm |
This file contains 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
<vg:input name="name" vg-icon="user" vg-label="Name" type="text"></vg:input> |
This file contains 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
org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["FKAXYT06I8KAE92A5EHNG6QPCXK: PUBLIC.ISSUE_REPORT FOREIGN KEY(USER_ID) REFERENCES PUBLIC.""user""(USER_ID) (15)"; SQL statement: | |
delete from "user" where user_id=? [23503-196]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement | |
at org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException(HibernateJpaDialect.java:278) | |
at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:244) | |
at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:521) | |
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:761) | |
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:730) | |
at org.springframework.test.con |
This file contains 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
org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["FKAXYT06I8KAE92A5EHNG6QPCXK: PUBLIC.ISSUE_REPORT FOREIGN KEY(USER_ID) REFERENCES PUBLIC.""user""(USER_ID) (15)"; SQL statement: | |
delete from "user" where user_id=? [23503-196]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement | |
at org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException(HibernateJpaDialect.java:278) | |
at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:244) | |
at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:521) | |
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:761) | |
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:730) | |
at org.springframework.test.con |
This file contains 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
org.springframework.dao.InvalidDataAccessApiUsageException: org.hibernate.ObjectDeletedException: deleted instance passed to merge: [com.vogella.knowledgeforge.api.issue.IssueReport#<null>]; nested exception is java.lang.IllegalArgumentException: org.hibernate.ObjectDeletedException: deleted instance passed to merge: [com.vogella.knowledgeforge.api.issue.IssueReport#<null>] | |
at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:384) | |
at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:246) | |
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:503) | |
at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:59) | |
at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:209) | |
at org.sprin |
This file contains 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
org.springframework.transaction.TransactionSystemException: Could not commit JPA transaction; nested exception is javax.persistence.RollbackException: Transaction marked as rollbackOnly | |
at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:526) | |
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:761) | |
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:730) | |
at org.springframework.test.context.transaction.TransactionContext.endTransaction(TransactionContext.java:131) | |
at org.springframework.test.context.transaction.TransactionalTestExecutionListener.afterTestMethod(TransactionalTestExecutionListener.java:227) | |
at org.springframework.test.context.TestContextManager.afterTestMethod(TestContextManager.java:319) | |
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallb |
This file contains 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
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["UK_OB8KQYQQGMEFL0ACO34AKDTPE_INDEX_3 ON PUBLIC.""user""(EMAIL) VALUES ('lars.vogel@vogella.com', 12)"; SQL statement: | |
insert into "user" (active, company, email, last_name, name, password, verify_password, user_id) values (?, ?, ?, ?, ?, ?, ?, ?) [23505-196]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement | |
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:982) | |
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861) | |
at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) | |
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846) | |
at org.springframework.test.web.servlet.TestDispatcherServlet.service(TestDispatcherServlet.java:65) | |
at javax.serv |
OlderNewer