Skip to content

Instantly share code, notes, and snippets.

@kasramp

kasramp/orm.xml Secret

Created September 14, 2021 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kasramp/ebf2a3c3501bc93860f8735019b9717d to your computer and use it in GitHub Desktop.
Save kasramp/ebf2a3c3501bc93860f8735019b9717d to your computer and use it in GitHub Desktop.
<entity-mappings version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence/orm"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence/orm
http://xmlns.jcp.org/xml/ns/persistence/orm_2_1.xsd">
<!-- The new table name -->
<entity class="com.madadipouya.example.multiple.datasource.song.entity">
<table name="songs_archive"></table>
</entity>
</entity-mappings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment