Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.22 KB | None | 0 0
  1. package edu.unomaha.ist.bioinformatics.entities;
  2.  
  3. import java.io.Serializable;
  4. import javax.persistence.*;
  5. import java.util.List;
  6.  
  7.  
  8. /**
  9. * The persistent class for the DBS_REST database table.
  10. *
  11. */
  12. @Entity
  13. @Table(name="DBS_REST")
  14. @NamedQuery(name="DbsRest.findAll", query="SELECT d FROM DbsRest d")
  15. public class DbsRest implements Serializable {
  16. private static final long serialVersionUID = 1L;
  17.  
  18. @Id
  19. @Column(name="DB_ID")
  20. private int dbId;
  21.  
  22. @Column(name="DB_BG_SUPP_SRCHS")
  23. private String dbBgSuppSrchs;
  24.  
  25. @Column(name="DB_DESC")
  26. private String dbDesc;
  27.  
  28. @Column(name="DB_MAX_USR_SEQNCS")
  29. private String dbMaxUsrSeqncs;
  30.  
  31. @Column(name="DB_NAME")
  32. private String dbName;
  33.  
  34. @Column(name="DB_PRUNE_CNT")
  35. private String dbPruneCnt;
  36.  
  37. @Column(name="DB_THRSHLD_RMV")
  38. private String dbThrshldRmv;
  39.  
  40. @Column(name="DB_THRSHLD_SPPLMNT")
  41. private String dbThrshldSpplmnt;
  42.  
  43. @Column(name="DB_VALIDATN_EXPRSNS")
  44. private String dbValidatnExprsns;
  45.  
  46. //bi-directional many-to-one association to SequencesRest
  47. @OneToMany(mappedBy="dbsRest")
  48. private List<SequencesRest> sequencesRests;
  49.  
  50. public DbsRest() {
  51. }
  52.  
  53. public int getDbId() {
  54. return this.dbId;
  55. }
  56.  
  57. public void setDbId(int dbId) {
  58. this.dbId = dbId;
  59. }
  60.  
  61. public String getDbBgSuppSrchs() {
  62. return this.dbBgSuppSrchs;
  63. }
  64.  
  65. public void setDbBgSuppSrchs(String dbBgSuppSrchs) {
  66. this.dbBgSuppSrchs = dbBgSuppSrchs;
  67. }
  68.  
  69. public String getDbDesc() {
  70. return this.dbDesc;
  71. }
  72.  
  73. public void setDbDesc(String dbDesc) {
  74. this.dbDesc = dbDesc;
  75. }
  76.  
  77. public String getDbMaxUsrSeqncs() {
  78. return this.dbMaxUsrSeqncs;
  79. }
  80.  
  81. public void setDbMaxUsrSeqncs(String dbMaxUsrSeqncs) {
  82. this.dbMaxUsrSeqncs = dbMaxUsrSeqncs;
  83. }
  84.  
  85. public String getDbName() {
  86. return this.dbName;
  87. }
  88.  
  89. public void setDbName(String dbName) {
  90. this.dbName = dbName;
  91. }
  92.  
  93. public String getDbPruneCnt() {
  94. return this.dbPruneCnt;
  95. }
  96.  
  97. public void setDbPruneCnt(String dbPruneCnt) {
  98. this.dbPruneCnt = dbPruneCnt;
  99. }
  100.  
  101. public String getDbThrshldRmv() {
  102. return this.dbThrshldRmv;
  103. }
  104.  
  105. public void setDbThrshldRmv(String dbThrshldRmv) {
  106. this.dbThrshldRmv = dbThrshldRmv;
  107. }
  108.  
  109. public String getDbThrshldSpplmnt() {
  110. return this.dbThrshldSpplmnt;
  111. }
  112.  
  113. public void setDbThrshldSpplmnt(String dbThrshldSpplmnt) {
  114. this.dbThrshldSpplmnt = dbThrshldSpplmnt;
  115. }
  116.  
  117. public String getDbValidatnExprsns() {
  118. return this.dbValidatnExprsns;
  119. }
  120.  
  121. public void setDbValidatnExprsns(String dbValidatnExprsns) {
  122. this.dbValidatnExprsns = dbValidatnExprsns;
  123. }
  124.  
  125. public List<SequencesRest> getSequencesRests() {
  126. return this.sequencesRests;
  127. }
  128.  
  129. public void setSequencesRests(List<SequencesRest> sequencesRests) {
  130. this.sequencesRests = sequencesRests;
  131. }
  132.  
  133. public SequencesRest addSequencesRest(SequencesRest sequencesRest) {
  134. getSequencesRests().add(sequencesRest);
  135. sequencesRest.setDbsRest(this);
  136.  
  137. return sequencesRest;
  138. }
  139.  
  140. public SequencesRest removeSequencesRest(SequencesRest sequencesRest) {
  141. getSequencesRests().remove(sequencesRest);
  142. sequencesRest.setDbsRest(null);
  143.  
  144. return sequencesRest;
  145. }
  146.  
  147. }
  148.  
  149. package edu.unomaha.ist.bioinformatics.entities;
  150.  
  151. import java.io.Serializable;
  152. import javax.persistence.*;
  153. import java.util.List;
  154.  
  155.  
  156. /**
  157. * The persistent class for the REGIONS_REST database table.
  158. *
  159. */
  160. @Entity
  161. @Table(name="REGIONS_REST")
  162. @NamedQuery(name="RegionsRest.findAll", query="SELECT r FROM RegionsRest r")
  163. public class RegionsRest implements Serializable {
  164. private static final long serialVersionUID = 1L;
  165.  
  166. @Id
  167. @Column(name="REG_ID")
  168. private int regId;
  169.  
  170. @Column(name="REG_ACTIVE")
  171. private String regActive;
  172.  
  173. @Column(name="REG_END_SEQ")
  174. private String regEndSeq;
  175.  
  176. @Column(name="REG_NAME")
  177. private String regName;
  178.  
  179. @Column(name="REG_RUNLMT")
  180. private int regRunlmt;
  181.  
  182. @Column(name="REG_START_SEQ")
  183. private String regStartSeq;
  184.  
  185. @Column(name="REG_SYMBOL")
  186. private String regSymbol;
  187.  
  188. @Column(name="REG_WILDCARD")
  189. private String regWildcard;
  190.  
  191. @Column(name="REG_WILDCARD_INSRTLMT")
  192. private int regWildcardInsrtlmt;
  193.  
  194. @Column(name="REG_WILDCARD_SRCHLMT")
  195. private int regWildcardSrchlmt;
  196.  
  197. //bi-directional many-to-one association to SequencesRest
  198. @OneToMany(mappedBy="regionsRest")
  199. private List<SequencesRest> sequencesRests;
  200.  
  201. public RegionsRest() {
  202. }
  203.  
  204. public int getRegId() {
  205. return this.regId;
  206. }
  207.  
  208. public void setRegId(int regId) {
  209. this.regId = regId;
  210. }
  211.  
  212. public String getRegActive() {
  213. return this.regActive;
  214. }
  215.  
  216. public void setRegActive(String regActive) {
  217. this.regActive = regActive;
  218. }
  219.  
  220. public String getRegEndSeq() {
  221. return this.regEndSeq;
  222. }
  223.  
  224. public void setRegEndSeq(String regEndSeq) {
  225. this.regEndSeq = regEndSeq;
  226. }
  227.  
  228. public String getRegName() {
  229. return this.regName;
  230. }
  231.  
  232. public void setRegName(String regName) {
  233. this.regName = regName;
  234. }
  235.  
  236. public int getRegRunlmt() {
  237. return this.regRunlmt;
  238. }
  239.  
  240. public void setRegRunlmt(int regRunlmt) {
  241. this.regRunlmt = regRunlmt;
  242. }
  243.  
  244. public String getRegStartSeq() {
  245. return this.regStartSeq;
  246. }
  247.  
  248. public void setRegStartSeq(String regStartSeq) {
  249. this.regStartSeq = regStartSeq;
  250. }
  251.  
  252. public String getRegSymbol() {
  253. return this.regSymbol;
  254. }
  255.  
  256. public void setRegSymbol(String regSymbol) {
  257. this.regSymbol = regSymbol;
  258. }
  259.  
  260. public String getRegWildcard() {
  261. return this.regWildcard;
  262. }
  263.  
  264. public void setRegWildcard(String regWildcard) {
  265. this.regWildcard = regWildcard;
  266. }
  267.  
  268. public int getRegWildcardInsrtlmt() {
  269. return this.regWildcardInsrtlmt;
  270. }
  271.  
  272. public void setRegWildcardInsrtlmt(int regWildcardInsrtlmt) {
  273. this.regWildcardInsrtlmt = regWildcardInsrtlmt;
  274. }
  275.  
  276. public int getRegWildcardSrchlmt() {
  277. return this.regWildcardSrchlmt;
  278. }
  279.  
  280. public void setRegWildcardSrchlmt(int regWildcardSrchlmt) {
  281. this.regWildcardSrchlmt = regWildcardSrchlmt;
  282. }
  283.  
  284. public List<SequencesRest> getSequencesRests() {
  285. return this.sequencesRests;
  286. }
  287.  
  288. public void setSequencesRests(List<SequencesRest> sequencesRests) {
  289. this.sequencesRests = sequencesRests;
  290. }
  291.  
  292. public SequencesRest addSequencesRest(SequencesRest sequencesRest) {
  293. getSequencesRests().add(sequencesRest);
  294. sequencesRest.setRegionsRest(this);
  295.  
  296. return sequencesRest;
  297. }
  298.  
  299. public SequencesRest removeSequencesRest(SequencesRest sequencesRest) {
  300. getSequencesRests().remove(sequencesRest);
  301. sequencesRest.setRegionsRest(null);
  302.  
  303. return sequencesRest;
  304. }
  305.  
  306. }
  307.  
  308. package edu.unomaha.ist.bioinformatics.entities;
  309.  
  310. import java.io.Serializable;
  311. import javax.persistence.*;
  312.  
  313.  
  314. /**
  315. * The persistent class for the SEQUENCES_NAMES_REST database table.
  316. *
  317. */
  318. @Entity
  319. @Table(name="SEQUENCES_NAMES_REST")
  320. @NamedQuery(name="SequencesNamesRest.findAll", query="SELECT s FROM SequencesNamesRest s")
  321. public class SequencesNamesRest implements Serializable {
  322. private static final long serialVersionUID = 1L;
  323.  
  324. @EmbeddedId
  325. private SequencesNamesRestPK id;
  326.  
  327. //uni-directional many-to-one association to SequencesRest
  328. @ManyToOne
  329. @JoinColumn(name="SEQ_ID")
  330. private SequencesRest sequencesRest;
  331.  
  332. public SequencesNamesRest() {
  333. }
  334.  
  335. public SequencesNamesRestPK getId() {
  336. return this.id;
  337. }
  338.  
  339. public void setId(SequencesNamesRestPK id) {
  340. this.id = id;
  341. }
  342.  
  343. public SequencesRest getSequencesRest() {
  344. return this.sequencesRest;
  345. }
  346.  
  347. public void setSequencesRest(SequencesRest sequencesRest) {
  348. this.sequencesRest = sequencesRest;
  349. }
  350.  
  351. }
  352.  
  353. package edu.unomaha.ist.bioinformatics.entities;
  354.  
  355. import java.io.Serializable;
  356. import javax.persistence.*;
  357.  
  358. /**
  359. * The primary key class for the SEQUENCES_NAMES_REST database table.
  360. *
  361. */
  362. @Embeddable
  363. public class SequencesNamesRestPK implements Serializable {
  364. //default serial version id, required for serializable classes.
  365. private static final long serialVersionUID = 1L;
  366.  
  367. @Column(name="SEQ_ID", insertable=false, updatable=false)
  368. private int seqId;
  369.  
  370. @Column(name="SEQ_NAME")
  371. private String seqName;
  372.  
  373. public SequencesNamesRestPK() {
  374. }
  375. public int getSeqId() {
  376. return this.seqId;
  377. }
  378. public void setSeqId(int seqId) {
  379. this.seqId = seqId;
  380. }
  381. public String getSeqName() {
  382. return this.seqName;
  383. }
  384. public void setSeqName(String seqName) {
  385. this.seqName = seqName;
  386. }
  387.  
  388. public boolean equals(Object other) {
  389. if (this == other) {
  390. return true;
  391. }
  392. if (!(other instanceof SequencesNamesRestPK)) {
  393. return false;
  394. }
  395. SequencesNamesRestPK castOther = (SequencesNamesRestPK)other;
  396. return
  397. (this.seqId == castOther.seqId)
  398. && this.seqName.equals(castOther.seqName);
  399. }
  400.  
  401. public int hashCode() {
  402. final int prime = 31;
  403. int hash = 17;
  404. hash = hash * prime + this.seqId;
  405. hash = hash * prime + this.seqName.hashCode();
  406.  
  407. return hash;
  408. }
  409. }
  410.  
  411. package edu.unomaha.ist.bioinformatics.entities;
  412.  
  413. import java.io.Serializable;
  414. import javax.persistence.*;
  415.  
  416.  
  417. /**
  418. * The persistent class for the SEQUENCES_REST database table.
  419. *
  420. */
  421. @Entity
  422. @Table(name="SEQUENCES_REST")
  423. @NamedQuery(name="SequencesRest.findAll", query="SELECT s FROM SequencesRest s")
  424. public class SequencesRest implements Serializable {
  425. private static final long serialVersionUID = 1L;
  426.  
  427. @Id
  428. @Column(name="SEQ_ID")
  429. private int seqId;
  430.  
  431. @Column(name="I3BIO")
  432. private int i3bio;
  433.  
  434. @Column(name="SEQ_ACTIVE")
  435. private String seqActive;
  436.  
  437. @Column(name="SEQ_DATA")
  438. private Object seqData;
  439.  
  440. //bi-directional many-to-one association to DbsRest
  441. @ManyToOne
  442. @JoinColumn(name="DB_ID")
  443. private DbsRest dbsRest;
  444.  
  445. //bi-directional many-to-one association to RegionsRest
  446. @ManyToOne
  447. @JoinColumn(name="REG_ID")
  448. private RegionsRest regionsRest;
  449.  
  450. public SequencesRest() {
  451. }
  452.  
  453. public int getSeqId() {
  454. return this.seqId;
  455. }
  456.  
  457. public void setSeqId(int seqId) {
  458. this.seqId = seqId;
  459. }
  460.  
  461. public int getI3bio() {
  462. return this.i3bio;
  463. }
  464.  
  465. public void setI3bio(int i3bio) {
  466. this.i3bio = i3bio;
  467. }
  468.  
  469. public String getSeqActive() {
  470. return this.seqActive;
  471. }
  472.  
  473. public void setSeqActive(String seqActive) {
  474. this.seqActive = seqActive;
  475. }
  476.  
  477. public Object getSeqData() {
  478. return this.seqData;
  479. }
  480.  
  481. public void setSeqData(Object seqData) {
  482. this.seqData = seqData;
  483. }
  484.  
  485. public DbsRest getDbsRest() {
  486. return this.dbsRest;
  487. }
  488.  
  489. public void setDbsRest(DbsRest dbsRest) {
  490. this.dbsRest = dbsRest;
  491. }
  492.  
  493. public RegionsRest getRegionsRest() {
  494. return this.regionsRest;
  495. }
  496.  
  497. public void setRegionsRest(RegionsRest regionsRest) {
  498. this.regionsRest = regionsRest;
  499. }
  500.  
  501. }
  502.  
  503. 2017-01-24 18:43:48.115 INFO 4558 --- [ost-startStop-1] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
  504. 2017-01-24 18:43:48.129 INFO 4558 --- [ost-startStop-1] org.hibernate.Version : HHH000412: Hibernate Core {4.1.9.Final}
  505. 2017-01-24 18:43:48.132 INFO 4558 --- [ost-startStop-1] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
  506. 2017-01-24 18:43:48.135 INFO 4558 --- [ost-startStop-1] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist
  507. 2017-01-24 18:43:48.178 INFO 4558 --- [ost-startStop-1] org.hibernate.ejb.Ejb3Configuration : HHH000204: Processing PersistenceUnitInfo [
  508. name: default
  509. ...]
  510. 2017-01-24 18:43:48.730 WARN 4558 --- [ost-startStop-1] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build EntityManagerFactory
  511. 2017-01-24 18:43:48.740 INFO 4558 --- [ost-startStop-1] utoConfigurationReportLoggingInitializer :
  512.  
  513. Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
  514. 2017-01-24 18:43:48.750 ERROR 4558 --- [ost-startStop-1] o.s.boot.SpringApplication : Application startup failed
  515.  
  516. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build EntityManagerFactory
  517. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1583) ~[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
  518. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545) ~[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
  519. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
  520. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
  521. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
  522. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
  523. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
  524. at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1076) ~[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]
  525. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:851) ~[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]
  526. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541) ~[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]
  527. at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) ~[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
  528. at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761) ~[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
  529. at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371) ~[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
  530. at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) ~[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
  531. at org.springframework.boot.web.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:151) [spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
  532. at org.springframework.boot.web.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:131) [spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
  533. at org.springframework.boot.web.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:86) [spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
  534. at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:169) [spring-web-4.3.3.RELEASE.jar:4.3.3.RELEASE]
  535. at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5303) [catalina.jar:8.0.37]
  536. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) [catalina.jar:8.0.37]
  537. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1407) [catalina.jar:8.0.37]
  538. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1397) [catalina.jar:8.0.37]
  539. at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_111]
  540. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_111]
  541. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_111]
  542. at java.lang.Thread.run(Thread.java:745) [na:1.8.0_111]
  543. Caused by: javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build EntityManagerFactory
  544. at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) ~[hibernate-entitymanager-4.1.9.Final.jar:4.1.9.Final]
  545. at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:890) ~[hibernate-entitymanager-4.1.9.Final.jar:4.1.9.Final]
  546. at org.springframework.orm.jpa.vendor.SpringHibernateEjbPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateEjbPersistenceProvider.java:51) ~[spring-orm-4.3.3.RELEASE.jar:4.3.3.RELEASE]
  547. at
  548.  
  549. org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:353) ~[spring-orm-4.3.3.RELEASE.jar:4.3.3.RELEASE]
  550. at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:373) ~[spring-orm-4.3.3.RELEASE.jar:4.3.3.RELEASE]
  551. at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:362) ~[spring-orm-4.3.3.RELEASE.jar:4.3.3.RELEASE]
  552. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1642) ~[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
  553. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1579) ~[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
  554. ... 25 common frames omitted
  555. Caused by: org.hibernate.MappingException: property mapping has wrong number
  556.  
  557.  
  558.  
  559. of columns: edu.unomaha.ist.bioinformatics.entities.SequencesRest.seqData type: object
  560. at org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:470) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final]
  561. at org.hibernate.mapping.RootClass.validate(RootClass.java:270) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final]
  562. at org.hibernate.cfg.Configuration.validate(Configuration.java:1294) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final]
  563. at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1742) ~[hibernate-core-4.1.9.Final.jar:4.1.9.Final]
  564. at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:94) ~[hibernate-entitymanager-4.1.9.Final.jar:4.1.9.Final]
  565. at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:905) ~[hibernate-entitymanager-4.1.9.Final.jar:4.1.9.Final]
  566. ... 32 common frames omitted
  567.  
  568. 2017-01-24 18:43:48.756 ERROR 4558 --- [ina-startStop-1] org.apache.catalina.core.ContainerBase : A child container failed during start
  569.  
  570. java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/demo]]
  571. at java.util.concurrent.FutureTask.report(FutureTask.java:122) [na:1.8.0_111]
  572. at java.util.concurrent.FutureTask.get(FutureTask.java:192) [na:1.8.0_111]
  573. at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:915) ~[catalina.jar:8.0.37]
  574. at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:871) [catalina.jar:8.0.37]
  575. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) [catalina.jar:8.0.37]
  576. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1407) [catalina.jar:8.0.37]
  577. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1397) [catalina.jar:8.0.37]
  578. at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_111]
  579. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_111]
  580. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_111]
  581. at java.lang.Thread.run(Thread.java:745) [na:1.8.0_111]
  582. Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/demo]]
  583. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162) [catalina.jar:8.0.37]
  584. ... 6 common frames omitted
  585. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build EntityManagerFactory
  586. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1583) ~[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
  587. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545) ~[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
  588. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
  589. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
  590. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
  591. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
  592. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
  593. at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1076) ~[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]
  594. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:851) ~[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]
  595. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541) ~[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]
  596. at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) ~[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
  597. at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761) ~[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
  598. at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371) ~[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
  599. at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) ~[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
  600. at org.springframework.boot.web.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:151) ~[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
  601. at org.springframework.boot.web.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:131) ~[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
  602. at org.springframework.boot.web.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:86) ~[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
  603. at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:169) ~[spring-web-4.3.3.RELEASE.jar:4.3.3.RELEASE]
  604. at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5303) ~[catalina.jar:8.0.37]
  605. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) [catalina.jar:8.0.37]
  606. ... 6 common frames omitted
  607. Caused by: javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build EntityManagerFactory
  608. at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) ~[hibernate-entitymanager-4.1.9.Final.jar:4.1.9.Final]
  609. at
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement