[BAEL-8855] - Moved all code from module jpa-storedprocedure into module persistence-modules/java-jpa
This commit is contained in:
parent
ec2f29122b
commit
a50afec871
|
@ -1,2 +1 @@
|
||||||
### Relevant Articles:
|
### Relevant Articles:
|
||||||
- [A Guide to Stored Procedures with JPA](http://www.baeldung.com/jpa-stored-procedures)
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
# Relevant Articles
|
# Relevant Articles
|
||||||
|
|
||||||
* [A Guide to SqlResultSetMapping](http://www.baeldung.com/jpa-sql-resultset-mapping)
|
- [A Guide to SqlResultSetMapping](http://www.baeldung.com/jpa-sql-resultset-mapping)
|
||||||
|
- [A Guide to Stored Procedures with JPA](http://www.baeldung.com/jpa-stored-procedures)
|
|
@ -20,4 +20,18 @@
|
||||||
<property name="hibernate.temp.use_jdbc_metadata_defaults" value="false"/>
|
<property name="hibernate.temp.use_jdbc_metadata_defaults" value="false"/>
|
||||||
</properties>
|
</properties>
|
||||||
</persistence-unit>
|
</persistence-unit>
|
||||||
|
|
||||||
|
<persistence-unit name="jpa-db">
|
||||||
|
<provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
|
||||||
|
<class>com.baeldung.jpa.model.Car</class>
|
||||||
|
<properties>
|
||||||
|
<property name="javax.persistence.jdbc.driver" value="com.mysql.jdbc.Driver" />
|
||||||
|
<property name="javax.persistence.jdbc.url" value="jdbc:mysql://127.0.0.1:3306/baeldung" />
|
||||||
|
<property name="javax.persistence.jdbc.user" value="baeldung" />
|
||||||
|
<property name="javax.persistence.jdbc.password" value="YourPassword" />
|
||||||
|
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect" />
|
||||||
|
<property name="hibernate.show_sql" value="true" />
|
||||||
|
</properties>
|
||||||
|
</persistence-unit>
|
||||||
|
|
||||||
</persistence>
|
</persistence>
|
Loading…
Reference in New Issue