Skip to content

Commit

Permalink
Jakarta Persistence API 3.2.0-M2 - new methods without implementation
Browse files Browse the repository at this point in the history
Signed-off-by: Radek Felcman <[email protected]>
  • Loading branch information
rfelcman authored and lukasj committed Feb 29, 2024
1 parent 5ffbbc9 commit 3408e40
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,10 @@ public XRPersistenceUnitInfo(XRDynamicClassLoader loader) {
@Override
public String getPersistenceProviderClassName() { return null; }
@Override
public String getScopeAnnotationName() { return null; }
@Override
public List<String> getQualifierAnnotationNames() { return null; }
@Override
public DataSource getNonJtaDataSource() { return null; }
@Override
public ClassLoader getNewTempClassLoader() { return xrdecl; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,18 @@ public String getPersistenceProviderClassName(){
return persistenceProviderClassName;
}

@Override
public String getScopeAnnotationName() {
//TODO NEW IN JPA 3.2.0-M2 - IMPLEMENT BODY
return null;
}

@Override
public List<String> getQualifierAnnotationNames() {
//TODO NEW IN JPA 3.2.0-M2 - IMPLEMENT BODY
return null;
}

public void setPersistenceProviderClassName(String persistenceProviderClassName){
this.persistenceProviderClassName = persistenceProviderClassName;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,17 @@ public boolean isActive() {
return this.active;
}

@Override
public void setTimeout(Integer integer) {
//TODO NEW IN JPA 3.2.0-M2 - IMPLEMENT BODY
}

@Override
public Integer getTimeout() {
//TODO NEW IN JPA 3.2.0-M2 - IMPLEMENT BODY
return null;
}

class TransactionFinalizer {

/**
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@
<jersey.version>3.1.3</jersey.version>
<jms.version>3.1.0</jms.version>
<json.version>2.1.3</json.version>
<jpa.api.version>3.2.0-M1</jpa.api.version>
<jpa.api.version>3.2.0-M2</jpa.api.version>
<mail-api.version>2.1.2</mail-api.version>
<angus-mail.version>2.0.2</angus-mail.version>
<oracle.ddlparser.version>3.0.1</oracle.ddlparser.version>
Expand Down

0 comments on commit 3408e40

Please sign in to comment.